Monotone-Parent: d2b6077fa24d79c27ba0efea14127c05071e51b9

Monotone-Revision: d5700732397ebf4e67639bb33ff05a1c35349ff0

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-14T18:04:50
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-14 18:04:50 +00:00
parent 23759f2991
commit 98fd12e741
3 changed files with 24 additions and 0 deletions
+13
View File
@@ -614,6 +614,19 @@ iRANGE(2);
- (NSString *) title
{
SOGoObject <SOGoComponentOccurence> *co;
NSString *tag;
co = [self clientObject];
if ([co isNew] && [co isKindOfClass: [SOGoCalendarComponent class]])
{
tag = [co componentTag];
if ([tag isEqualToString: @"vevent"])
[self setTitle: [self labelForKey: @"New Event"]];
else if ([tag isEqualToString: @"vtodo"])
[self setTitle: [self labelForKey: @"New Task"]];
}
return title;
}