mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user