Author: andar
Revision: 6030
Log:
Fix showing the remove torrent dialog twice if using the delete key and
pressing cancel in the dialog
Diff:
Modified: branches/1.2_RC/deluge/ui/gtkui/torrentview.py
===================================================================
--- branches/1.2_RC/deluge/ui/gtkui/torrentview.py 2009-12-14 23:20:35 UTC
(rev 6029)
+++ branches/1.2_RC/deluge/ui/gtkui/torrentview.py 2009-12-14 23:25:03 UTC
(rev 6030)
@@ -232,7 +232,7 @@
self.on_button_press_event)
# Connect to the 'key-press-event' to know when the bring up the
# torrent menu popup via keypress.
- self.treeview.connect("key-press-event", self.on_key_press_event)
+ self.treeview.connect("key-release-event", self.on_key_press_event)
# Connect to the 'changed' event of TreeViewSelection to get selection
# changes.
self.treeview.get_selection().connect("changed",
--
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.