1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

Align turtle to text better.

Rename a method.
This commit is contained in:
Mitchell Livingston 2006-07-09 14:43:00 +00:00
parent 9a20ae1e96
commit c96d7422fa
3 changed files with 5 additions and 5 deletions

View file

@ -72,7 +72,7 @@
NSTimer * fTimer;
NSTimer * fAutoImportTimer;
NSArray * fAutoImportedNames;
NSArray * fAutoImportedNames;
BOOL fHasGrowl;
Badger * fBadger;
@ -136,7 +136,7 @@
- (void) ratioGlobalChange: (NSNotification *) notification;
- (void) checkWaitingForStopped: (NSNotification *) notification;
- (void) checkWaitingForFinished: (Torrent *) finishedTorrent;
- (void) checkToStartWaiting: (Torrent *) finishedTorrent;
- (void) torrentStartSettingChange: (NSNotification *) notification;
- (void) globalStartSettingChange: (NSNotification *) notification;

View file

@ -783,7 +783,7 @@ static void sleepCallBack(void * controller, io_service_t y,
if ([torrent justFinished])
{
[self checkWaitingForFinished: torrent];
[self checkToStartWaiting: torrent];
//notifications
[self notifyGrowl: @"Download Complete" message: [[torrent name] stringByAppendingString:
@ -1004,10 +1004,10 @@ static void sleepCallBack(void * controller, io_service_t y,
- (void) checkWaitingForStopped: (NSNotification *) notification
{
[self checkWaitingForFinished: [notification object]];
[self checkToStartWaiting: [notification object]];
}
- (void) checkWaitingForFinished: (Torrent *) finishedTorrent
- (void) checkToStartWaiting: (Torrent *) finishedTorrent
{
//don't try to start a transfer if there should be none waiting
if (![[fDefaults stringForKey: @"StartSetting"] isEqualToString: @"Wait"])