mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 06:33:18 +00:00
Monotone-Parent: ff35c4a69655239a569e90ab2fcc971a46c7b83f
Monotone-Revision: ff087e7476d15851d3c25585e3b00d2b2bf705cc Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-07-11T17:32:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -35,9 +35,9 @@ SchedulerUI_OBJC_FILES = \
|
||||
UIxComponentEditor.m \
|
||||
UIxCalendarSelector.m \
|
||||
UIxAppointmentEditor.m \
|
||||
UIxAppointmentProposal.m \
|
||||
# UIxAppointmentProposal.m \
|
||||
UIxTaskEditor.m \
|
||||
UIxTaskProposal.m \
|
||||
# UIxTaskProposal.m \
|
||||
UIxCalDateLabel.m \
|
||||
UIxDatePicker.m \
|
||||
UIxTimeDateControl.m \
|
||||
|
||||
@@ -151,9 +151,14 @@
|
||||
|
||||
- (NSString *) extraStyle
|
||||
{
|
||||
return (([[self selectedDate] isDateOnSameDay: currentDay])
|
||||
? [self selectedDayExtraStyle]
|
||||
: nil);
|
||||
NSString *extraStyle;
|
||||
|
||||
if ([[self selectedDate] isDateOnSameDay: currentDay])
|
||||
extraStyle = [self selectedDayExtraStyle];
|
||||
else
|
||||
extraStyle = nil;
|
||||
|
||||
return extraStyle;
|
||||
}
|
||||
|
||||
/* URLs */
|
||||
|
||||
@@ -126,32 +126,28 @@ static NSMutableArray *yearMenuItems = nil;
|
||||
|
||||
- (NSString *) verticalDragHandleStyle
|
||||
{
|
||||
NSString *vertical;
|
||||
[self _setupContext];
|
||||
|
||||
[self _setupContext];
|
||||
vertical = [moduleSettings objectForKey: @"DragHandleVertical"];
|
||||
|
||||
return (vertical ? [vertical stringByAppendingFormat: @"px"] : nil);
|
||||
return [[moduleSettings objectForKey: @"DragHandleVertical"]
|
||||
stringByAppendingString: @"px"];
|
||||
}
|
||||
|
||||
- (NSString *) horizontalDragHandleStyle
|
||||
{
|
||||
NSString *horizontal;
|
||||
[self _setupContext];
|
||||
|
||||
[self _setupContext];
|
||||
horizontal = [moduleSettings objectForKey: @"DragHandleHorizontal"];
|
||||
|
||||
return (horizontal ? [horizontal stringByAppendingFormat: @"px"] : nil);
|
||||
return [[moduleSettings objectForKey: @"DragHandleHorizontal"]
|
||||
stringByAppendingString: @"px"];
|
||||
}
|
||||
|
||||
- (NSString *) eventsListViewStyle
|
||||
{
|
||||
NSString *height;
|
||||
NSString *height;
|
||||
|
||||
[self _setupContext];
|
||||
height = [moduleSettings objectForKey: @"DragHandleVertical"];
|
||||
[self _setupContext];
|
||||
height = [moduleSettings objectForKey: @"DragHandleVertical"];
|
||||
|
||||
return (height ? [NSString stringWithFormat: @"%ipx", ([height intValue] - 27)] : nil);
|
||||
return (height ? [NSString stringWithFormat: @"%ipx", ([height intValue] - 27)] : nil);
|
||||
}
|
||||
|
||||
- (WOResponse *) saveDragHandleStateAction
|
||||
|
||||
Reference in New Issue
Block a user