mirror of
https://github.com/transmission/transmission
synced 2025-03-04 02:28:03 +00:00
#4346 items in the status bar aren't set at launch
This commit is contained in:
parent
d20a492e0c
commit
2dd5c5c611
1 changed files with 3 additions and 0 deletions
|
@ -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]];
|
[fTableView registerForDraggedTypes: [NSArray arrayWithObject: TORRENT_TABLE_VIEW_DATA_TYPE]];
|
||||||
[fWindow registerForDraggedTypes: [NSArray arrayWithObjects: NSFilenamesPboardType, NSURLPboardType, nil]];
|
[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
|
//register for sleep notifications
|
||||||
IONotificationPortRef notify;
|
IONotificationPortRef notify;
|
||||||
|
|
Loading…
Add table
Reference in a new issue