Changeset 4007


Ignore:
Timestamp:
Nov 29, 2007, 1:44:33 AM (14 years ago)
Author:
livings124
Message:

animate quit window's progress bar in a different thread

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r4006 r4007  
    464464        }
    465465    }
    466 
     466   
    467467    return NSTerminateNow;
    468468}
     
    517517    [self showFilterBar: NO animate: NO];
    518518   
     519    //show quit window
     520    QuittingWindowController * quitController = [[QuittingWindowController alloc] init];
     521    [quitController showWindow: self];
     522   
    519523    //save history
    520524    [self updateTorrentHistory];
     
    525529    //clear badge
    526530    [fBadger clearBadge];
    527    
    528     [[[QuittingWindowController alloc] init] showWindow: self];
    529531   
    530532    //remaining calls the same as dealloc
  • trunk/macosx/QuittingWindowController.m

    r4006 r4007  
    3636{
    3737    [fMessageField setStringValue: [NSLocalizedString(@"Shutting Down", "Quitting Window -> message") stringByAppendingEllipsis]];
     38   
     39    [fProgressBar setUsesThreadedAnimation: YES];
    3840    [fProgressBar startAnimation: nil];
    3941   
Note: See TracChangeset for help on using the changeset viewer.