Module: deluge Branch: master Commit: d024c293edb97ec41d53bf45f394073d4c7e9f75
Author: Andrew Resch <[email protected]> Date: Tue Apr 20 20:08:08 2010 -0700 Revert previous change --- deluge/ui/gtkui/addtorrentdialog.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 36349d2..62e769d 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -62,7 +62,6 @@ class AddTorrentDialog(component.Component): "deluge.ui.gtkui", "glade/add_torrent_dialog.glade")) self.dialog = self.glade.get_widget("dialog_add_torrent") - self.dialog.set_local_only(False) self.dialog.connect("delete-event", self._on_delete_event) @@ -485,10 +484,10 @@ class AddTorrentDialog(component.Component): if response == gtk.RESPONSE_YES: self.options[model[row][0]]["compact_allocation"] = False self.update_torrent_options(model[row][0]) - + d = dialogs.YesNoDialog(_("Unable to set file priority!"), _("File prioritization is unavailable when using Compact allocation. Would you like to switch to Full allocation?"), self.dialog).run() d.addCallback(on_answer) - + 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.
