bugfix
This commit is contained in:
parent
1a53039d1a
commit
79c6fa470d
@ -711,7 +711,7 @@ class Manager:
|
|||||||
if no_space:
|
if no_space:
|
||||||
self.apply_queue()
|
self.apply_queue()
|
||||||
|
|
||||||
return ret, no_space
|
return (ret, no_space)
|
||||||
|
|
||||||
def get_queue_index(self, unique_ID):
|
def get_queue_index(self, unique_ID):
|
||||||
return self.state.queue.index(unique_ID)
|
return self.state.queue.index(unique_ID)
|
||||||
|
|||||||
@ -877,8 +877,9 @@ class DelugeGTK:
|
|||||||
(unique_id, paused) = self.manager.add_torrent(torrent, path, False)
|
(unique_id, paused) = self.manager.add_torrent(torrent, path, False)
|
||||||
# nice_need = dcommon.fsize(err.needed_space)
|
# nice_need = dcommon.fsize(err.needed_space)
|
||||||
# nice_free = dcommon.fsize(err.free_space)
|
# nice_free = dcommon.fsize(err.free_space)
|
||||||
dgtk.show_popup_warning(self.window, _("There is not enough free space to complete this download.") + \
|
if paused:
|
||||||
_("Please ensure you have enough space available, then unpause the download."))
|
dgtk.show_popup_warning(self.window, _("There is not enough free space to complete this download.") + \
|
||||||
|
_("Please ensure you have enough space available, then unpause the download."))
|
||||||
|
|
||||||
if append:
|
if append:
|
||||||
self.torrent_model.append(self.get_list_from_unique_id(unique_id))
|
self.torrent_model.append(self.get_list_from_unique_id(unique_id))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user