Monotone-Parent: ccfa7fe7bfe69f390c767dfec7587ed458a13dfa

Monotone-Revision: d049e56046f3eeadc3bf451e459e7ddf140c59fa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-16T18:50:33
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-16 18:50:33 +00:00
parent 6f3742b3fa
commit 6162e9aab8
2 changed files with 12 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2006-10-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxCalInlineAptView.m ([UIxCalInlineAptView
-displayClasses]): return the correct class for the current event
representation depending on its owner.
* UI/Scheduler/UIxCalCalendarsListView.m: added method to create
and associate a color for each user login depending on its
position in the list.

View File

@@ -20,7 +20,8 @@
*/
// $Id: UIxCalInlineAptView.m 885 2005-07-21 16:41:34Z znek $
#include <NGObjWeb/NGObjWeb.h>
#import <NGObjWeb/NGObjWeb.h>
#import <SOGo/NSObject+Owner.h>
@interface UIxCalInlineAptView : WOComponent
{
@@ -140,6 +141,12 @@
return canAccess;
}
- (NSString *) displayClasses
{
return [NSString stringWithFormat: @"appointmentView ownerIs%@",
[appointment ownerLogin]];
}
/* helpers */
- (NSString *) title