From 56696d680ad6b16e6671ce54dbc34909b166fbd2 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 16 Oct 2006 18:46:28 +0000 Subject: [PATCH] Monotone-Parent: ed1f9d054bf58150b30e9e4dbbffa4b09113c4e6 Monotone-Revision: 527b8fb043af42d5bcd6913397ab32e1bc42a27a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-16T18:46:28 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/Scheduler/UIxCalAptListView.m | 8 ++++++++ UI/Templates/SchedulerUI/UIxCalAptListView.wox | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cee02b72b..b0f5311f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-10-16 Wolfgang Sourdeau + * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView + -currentRowCSSClass]): return the correct class for the current + row depending on the owner of the event. + * UI/Contacts/UIxContactSelector.m ([UIxContactSelector -setColors:colors]): new method to associate a color table with each user in the list. diff --git a/UI/Scheduler/UIxCalAptListView.m b/UI/Scheduler/UIxCalAptListView.m index 5da22d549..b16e9761c 100644 --- a/UI/Scheduler/UIxCalAptListView.m +++ b/UI/Scheduler/UIxCalAptListView.m @@ -27,6 +27,8 @@ #import #import +#import + #import #import "UIxCalAptListView.h" @@ -180,4 +182,10 @@ [date minuteOfHour]]; } +- (NSString *) currentRowCSSClass +{ + return [NSString stringWithFormat: @"tableview appointmentRow ownerIs%@", + [currentAppointment ownerLogin]]; +} + @end diff --git a/UI/Templates/SchedulerUI/UIxCalAptListView.wox b/UI/Templates/SchedulerUI/UIxCalAptListView.wox index 393b336ed..ccfe86485 100644 --- a/UI/Templates/SchedulerUI/UIxCalAptListView.wox +++ b/UI/Templates/SchedulerUI/UIxCalAptListView.wox @@ -41,7 +41,7 @@ >