mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
when adding a transfer from the Add window, put the torrent at the bottom of the queue (of currently added transfers)
This commit is contained in:
parent
576a0436f9
commit
6bc3cf8d7c
1 changed files with 4 additions and 5 deletions
|
@ -504,7 +504,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
[nc addObserver: fWindow selector: @selector(makeKeyWindow)
|
[nc addObserver: fWindow selector: @selector(makeKeyWindow)
|
||||||
name: @"MakeWindowKey" object: nil];
|
name: @"MakeWindowKey" object: nil];
|
||||||
|
|
||||||
#warning look at this
|
|
||||||
[nc addObserver: self selector: @selector(fullUpdateUI)
|
[nc addObserver: self selector: @selector(fullUpdateUI)
|
||||||
name: @"UpdateQueue" object: nil];
|
name: @"UpdateQueue" object: nil];
|
||||||
|
|
||||||
|
@ -915,12 +914,12 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
|
|
||||||
if (add)
|
if (add)
|
||||||
{
|
{
|
||||||
|
[torrent setQueuePosition: [fTorrents count]];
|
||||||
|
|
||||||
[torrent update];
|
[torrent update];
|
||||||
[fTorrents addObject: torrent];
|
[fTorrents addObject: torrent];
|
||||||
[torrent release];
|
[torrent release];
|
||||||
|
|
||||||
#warning set to bottom of queue
|
|
||||||
|
|
||||||
[self fullUpdateUI];
|
[self fullUpdateUI];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -986,12 +985,12 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
|
|
||||||
if (add)
|
if (add)
|
||||||
{
|
{
|
||||||
|
[torrent setQueuePosition: [fTorrents count]];
|
||||||
|
|
||||||
[torrent update];
|
[torrent update];
|
||||||
[fTorrents addObject: torrent];
|
[fTorrents addObject: torrent];
|
||||||
[torrent release];
|
[torrent release];
|
||||||
|
|
||||||
#warning set to bottom of queue
|
|
||||||
|
|
||||||
[self fullUpdateUI];
|
[self fullUpdateUI];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue