Author: andar
Revision: 5298
Log:
Add error dialog popup when trying to de-select files in the add
torrent
dialog while using compact allocation
Diff:
Modified: trunk/deluge/ui/gtkui/addtorrentdialog.py
===================================================================
--- trunk/deluge/ui/gtkui/addtorrentdialog.py 2009-05-20 23:42:03 UTC (rev
5297)
+++ trunk/deluge/ui/gtkui/addtorrentdialog.py 2009-05-20 23:46:27 UTC (rev
5298)
@@ -465,6 +465,8 @@
# Check to see if we can change file priorities
(model, row) = self.listview_torrents.get_selection().get_selected()
if self.options[model[row][0]]["compact_allocation"]:
+ import dialogs
+ dialogs.ErrorDialog(_("Unable to set file priority!"), _("File
prioritization is unavailable when using Compact allocation.")).run()
return
(model, paths) =
self.listview_files.get_selection().get_selected_rows()
if len(paths) > 1:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---