mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +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:
1 parent
8400691f11
commit
d0f1b3ae01
11 files changed
+432
-311
No files matched your search
@@ -215,7 +215,8 @@
|
||||
[endDate retain];
|
||||
}
|
||||
|
||||
- (void)saveValuesIntoAppointment:(iCalEvent *)_appointment {
|
||||
- (void) saveValuesIntoAppointment: (iCalEvent *) _appointment
|
||||
{
|
||||
/* merge in form values */
|
||||
NSArray *attendees, *lResources;
|
||||
iCalRecurrenceRule *rrule;
|
||||
@@ -224,13 +225,14 @@
|
||||
[_appointment setEndDate:[self aptEndDate]];
|
||||
|
||||
[_appointment setSummary: [self title]];
|
||||
[_appointment setUrl: [self url]];
|
||||
[_appointment setLocation: [self location]];
|
||||
[_appointment setComment: [self comment]];
|
||||
[_appointment setPriority:[self priority]];
|
||||
[_appointment setCategories: [[self categories] componentsJoinedByString: @","]];
|
||||
|
||||
[_appointment setAccessClass:[self accessClass]];
|
||||
[_appointment setTransparency:[self transparency]];
|
||||
[_appointment setAccessClass: [self accessClass]];
|
||||
[_appointment setTransparency: [self transparency]];
|
||||
|
||||
#if 0
|
||||
/*
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
NSString *title;
|
||||
NSString *location;
|
||||
NSString *comment;
|
||||
NSString *url;
|
||||
iCalPerson *organizer;
|
||||
NSArray *participants; /* array of iCalPerson's */
|
||||
NSArray *resources; /* array of iCalPerson's */
|
||||
@@ -98,6 +99,9 @@
|
||||
- (void) setComment: (NSString *) _value;
|
||||
- (NSString *) comment;
|
||||
|
||||
- (void) setUrl: (NSString *) _url;
|
||||
- (NSString *) url;
|
||||
|
||||
- (void) setParticipants: (NSArray *) _parts;
|
||||
- (NSArray *) participants;
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -203,6 +203,7 @@
|
||||
[_task setDue: dateTime];
|
||||
|
||||
[_task setSummary: [self title]];
|
||||
[_task setUrl: [self url]];
|
||||
[_task setLocation: [self location]];
|
||||
[_task setComment: [self comment]];
|
||||
[_task setPriority:[self priority]];
|
||||
|
||||
Reference in new issue
Block a user