ui warning of out of hd space
This commit is contained in:
parent
86732c72d0
commit
f9e5157d6e
|
@ -533,6 +533,12 @@ class Manager:
|
||||||
# We have enough free space, so lets resume this torrent
|
# We have enough free space, so lets resume this torrent
|
||||||
self.resume(unique_ID)
|
self.resume(unique_ID)
|
||||||
else:
|
else:
|
||||||
|
import gtk
|
||||||
|
import dialogs
|
||||||
|
gtk.gdk.threads_enter()
|
||||||
|
result = dialogs.show_popup_warning(None, _("You're out \
|
||||||
|
of HD space! Oops!\nWe had to pause at least one torrent"))
|
||||||
|
gtk.gdk.threads_leave()
|
||||||
print "Not enough free space to resume this torrent!"
|
print "Not enough free space to resume this torrent!"
|
||||||
else: #We're using compact allocation so lets just resume
|
else: #We're using compact allocation so lets just resume
|
||||||
self.resume(unique_ID)
|
self.resume(unique_ID)
|
||||||
|
|
Loading…
Reference in New Issue