mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
Monotone-Parent: cb727eb3a474d7cb014bfdc9a65fb7dd9a232c11
Monotone-Revision: 92c2289ec614006e622f8b53dec56357c7d1b889 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-23T21:34:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#import <Foundation/NSCalendarDate.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
#import <Foundation/NSURL.h>
|
||||
|
||||
#import <NGCards/iCalPerson.h>
|
||||
#import <NGCards/iCalRepeatableEntityObject.h>
|
||||
@@ -79,6 +80,7 @@
|
||||
[accessClass release];
|
||||
[cycle release];
|
||||
[cycleEnd release];
|
||||
[url release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
@@ -160,6 +162,16 @@
|
||||
return title;
|
||||
}
|
||||
|
||||
- (void) setUrl: (NSString *) _url
|
||||
{
|
||||
ASSIGNCOPY(url, _url);
|
||||
}
|
||||
|
||||
- (NSString *) url
|
||||
{
|
||||
return url;
|
||||
}
|
||||
|
||||
- (void) setLocation: (NSString *) _value
|
||||
{
|
||||
ASSIGNCOPY(location, _value);
|
||||
@@ -577,6 +589,7 @@
|
||||
title = [[component summary] copy];
|
||||
location = [[component location] copy];
|
||||
comment = [[component comment] copy];
|
||||
url = [[[component url] absoluteString] copy];
|
||||
priority = [[component priority] copy];
|
||||
categories = [[[component categories] commaSeparatedValues] retain];
|
||||
organizer = [[component organizer] retain];
|
||||
@@ -734,4 +747,16 @@
|
||||
return componentOwner;
|
||||
}
|
||||
|
||||
- (NSString *) urlButtonClasses
|
||||
{
|
||||
NSString *classes;
|
||||
|
||||
if ([url length])
|
||||
classes = @"button";
|
||||
else
|
||||
classes = @"button _disabled";
|
||||
|
||||
return classes;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user