Changeset 13415


Ignore:
Timestamp:
Aug 5, 2012, 3:10:56 AM (9 years ago)
Author:
livings124
Message:

Set each notification's subtitle as the informative text instead of the subtitle, so that it wraps to a second line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13414 r13415  
    19661966            NSUserNotification * notification = [[NSUserNotificationMtLion alloc] init];
    19671967            [notification setTitle: NSLocalizedString(@"Download Complete", "notification title")];
    1968             [notification setSubtitle: [torrent name]];
     1968            [notification setInformativeText: [torrent name]];
    19691969           
    19701970            [notification setHasActionButton: YES];
     
    20262026        NSUserNotification * notification = [[NSUserNotificationMtLion alloc] init];
    20272027        [notification setTitle: NSLocalizedString(@"Seeding Complete", "notification title")];
    2028         [notification setSubtitle: [torrent name]];
     2028        [notification setInformativeText: [torrent name]];
    20292029       
    20302030        [notification setHasActionButton: YES];
     
    29642964                    NSUserNotification* notification = [[NSUserNotificationMtLion alloc] init];
    29652965                    [notification setTitle: NSLocalizedString(@"Torrent File Auto Added", "notification title")];
    2966                     [notification setSubtitle: file];
     2966                    [notification setInformativeText: file];
    29672967                   
    29682968                    [notification setHasActionButton: NO];
Note: See TracChangeset for help on using the changeset viewer.