Changeset 14343
- Timestamp:
- Oct 18, 2014, 4:41:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r14290 r14343 2118 2118 [notification setActionButtonTitle: NSLocalizedString(@"Show", "notification button")]; 2119 2119 2120 notification.additionalActions = @[ [NSUserNotificationAction actionWithIdentifier:@"a" title:@"a"], [NSUserNotificationAction actionWithIdentifier:@"b" title:@"b"] ]; 2121 2120 2122 NSMutableDictionary * userInfo = [NSMutableDictionary dictionaryWithObject: [torrent hashString] forKey: @"Hash"]; 2121 2123 if (location) … … 3954 3956 NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell]; 3955 3957 3958 if ([NSApp isOnYosemiteOrBetter]) { 3959 segmentedControl.segmentStyle = NSSegmentStyleSeparated; 3960 } 3961 3956 3962 [segmentedControl setSegmentCount: 2]; 3957 3963 [segmentedCell setTrackingMode: NSSegmentSwitchTrackingMomentary]; … … 3995 4001 [groupItem setView: segmentedControl]; 3996 4002 NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell]; 4003 4004 if ([NSApp isOnYosemiteOrBetter]) { 4005 segmentedControl.segmentStyle = NSSegmentStyleSeparated; 4006 } 3997 4007 3998 4008 [segmentedControl setSegmentCount: 2];
Note: See TracChangeset
for help on using the changeset viewer.