mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +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:
@@ -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