From 6162e9aab8f360bcc8b2726a39cc81b74c366233 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 16 Oct 2006 18:50:33 +0000 Subject: [PATCH] Monotone-Parent: ccfa7fe7bfe69f390c767dfec7587ed458a13dfa Monotone-Revision: d049e56046f3eeadc3bf451e459e7ddf140c59fa Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-16T18:50:33 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/Scheduler/UIxCalInlineAptView.m | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 623ec89be..afebfbd98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-10-16 Wolfgang Sourdeau + * 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. diff --git a/UI/Scheduler/UIxCalInlineAptView.m b/UI/Scheduler/UIxCalInlineAptView.m index 05c42bf0b..b47db9a8a 100644 --- a/UI/Scheduler/UIxCalInlineAptView.m +++ b/UI/Scheduler/UIxCalInlineAptView.m @@ -20,7 +20,8 @@ */ // $Id: UIxCalInlineAptView.m 885 2005-07-21 16:41:34Z znek $ -#include +#import +#import @interface UIxCalInlineAptView : WOComponent { @@ -140,6 +141,12 @@ return canAccess; } +- (NSString *) displayClasses +{ + return [NSString stringWithFormat: @"appointmentView ownerIs%@", + [appointment ownerLogin]]; +} + /* helpers */ - (NSString *) title