#4346 items in the status bar aren't set at launch

This commit is contained in:
Mitchell Livingston 2011-07-06 23:22:21 +00:00
parent d20a492e0c
commit 2dd5c5c611
1 changed files with 3 additions and 0 deletions

View 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;