1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 18:25:35 +00:00

#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

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;