]> granicus.if.org Git - transmission/commitdiff
#4346 items in the status bar aren't set at launch
authorMitchell Livingston <livings124@transmissionbt.com>
Wed, 6 Jul 2011 23:22:21 +0000 (23:22 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Wed, 6 Jul 2011 23:22:21 +0000 (23:22 +0000)
macosx/Controller.m

index ad6c0afdb122457cd8060daf821748f55d8cad64..c0f7612fb18c16c8163caec8dc97834c2f793b8a 100644 (file)
@@ -418,6 +418,9 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
     
     [fTableView registerForDraggedTypes: [NSArray arrayWithObject: TORRENT_TABLE_VIEW_DATA_TYPE]];
     [fWindow registerForDraggedTypes: [NSArray arrayWithObjects: NSFilenamesPboardType, NSURLPboardType, nil]];
+    
+    //you would think this would be called later in this method from updateUI, but it's not
+    [fStatusBar updateWithDownload: 0.0 upload: 0.0];
 
     //register for sleep notifications
     IONotificationPortRef notify;