Changeset 549


Ignore:
Timestamp:
Jul 8, 2006, 2:35:03 PM (16 years ago)
Author:
livings124
Message:

Make growl notifications a little more verbose.

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r548 r549  
    789789       
    790790            //notifications
    791             [self notifyGrowl: @"Download Complete" message: [torrent name] identifier: @"Download Complete"];
     791            [self notifyGrowl: @"Download Complete" message: [[torrent name] stringByAppendingString:
     792                                                    @" is finished downloading"] identifier: @"Download Complete"];
    792793            if (![fWindow isKeyWindow])
    793794                fCompleted++;
     
    10761077    [fInfoController updateInfoStatsAndSettings];
    10771078   
    1078     [self notifyGrowl: @"Seeding Complete" message: [[notification object] name] identifier: @"Seeding Complete"];
     1079    [self notifyGrowl: @"Seeding Complete" message: [[[notification object] name] stringByAppendingString:
     1080                                                        @" is finished seeding"] identifier: @"Seeding Complete"];
    10791081}
    10801082
     
    11841186            //import only actually happened if the torrent array is larger
    11851187            if (oldCount < [fTorrents count])
    1186                 [self notifyGrowl: @"Torrent File Auto Added" message: file identifier: @"Torrent Auto Added"];
     1188                [self notifyGrowl: @"Torrent File Auto Added" message: [file stringByAppendingString:
     1189                                                    @" added to Transmission"] identifier: @"Torrent Auto Added"];
    11871190        }
    11881191}
  • trunk/macosx/Torrent.m

    r548 r549  
    143143    fStat = tr_torrentStat(fHandle);
    144144   
     145    //check to stop for ratio
    145146    if ([self isSeeding] && ((fStopRatioSetting == RATIO_CHECK && [self ratio] >= fRatioLimit)
    146147            || (fStopRatioSetting == RATIO_GLOBAL && [fDefaults boolForKey: @"RatioCheck"]
Note: See TracChangeset for help on using the changeset viewer.