This commit is contained in:
Zach Tibbitts 2007-03-08 23:14:58 +00:00
parent 1a53039d1a
commit 79c6fa470d
2 changed files with 4 additions and 3 deletions

View file

@ -711,7 +711,7 @@ class Manager:
if no_space:
self.apply_queue()
return ret, no_space
return (ret, no_space)
def get_queue_index(self, unique_ID):
return self.state.queue.index(unique_ID)

View file

@ -877,8 +877,9 @@ class DelugeGTK:
(unique_id, paused) = self.manager.add_torrent(torrent, path, False)
# nice_need = dcommon.fsize(err.needed_space)
# nice_free = dcommon.fsize(err.free_space)
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 paused:
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:
self.torrent_model.append(self.get_list_from_unique_id(unique_id))