Changeset 14343


Ignore:
Timestamp:
Oct 18, 2014, 4:41:31 PM (7 years ago)
Author:
livings124
Message:

Yosemite: slight sseparation between pause/resume buttons in the toolbar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r14290 r14343  
    21182118        [notification setActionButtonTitle: NSLocalizedString(@"Show", "notification button")];
    21192119       
     2120        notification.additionalActions = @[ [NSUserNotificationAction actionWithIdentifier:@"a" title:@"a"], [NSUserNotificationAction actionWithIdentifier:@"b" title:@"b"] ];
     2121       
    21202122        NSMutableDictionary * userInfo = [NSMutableDictionary dictionaryWithObject: [torrent hashString] forKey: @"Hash"];
    21212123        if (location)
     
    39543956        NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
    39553957       
     3958        if ([NSApp isOnYosemiteOrBetter]) {
     3959            segmentedControl.segmentStyle = NSSegmentStyleSeparated;
     3960        }
     3961       
    39563962        [segmentedControl setSegmentCount: 2];
    39573963        [segmentedCell setTrackingMode: NSSegmentSwitchTrackingMomentary];
     
    39954001        [groupItem setView: segmentedControl];
    39964002        NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
     4003       
     4004        if ([NSApp isOnYosemiteOrBetter]) {
     4005            segmentedControl.segmentStyle = NSSegmentStyleSeparated;
     4006        }
    39974007       
    39984008        [segmentedControl setSegmentCount: 2];
Note: See TracChangeset for help on using the changeset viewer.