Author: andar
Revision: 5175
Log:
Fix #902 cannot remove torrents
Diff:
Modified: trunk/deluge/ui/gtkui/menubar.py
===================================================================
--- trunk/deluge/ui/gtkui/menubar.py 2009-04-26 00:01:11 UTC (rev 5174)
+++ trunk/deluge/ui/gtkui/menubar.py 2009-04-26 18:27:46 UTC (rev 5175)
@@ -296,7 +296,7 @@
torrent_ids = component.get("TorrentView").get_selected_torrents()
if torrent_ids:
from removetorrentdialog import RemoveTorrentDialog
- RemoveTorrentDialog().run()
+ RemoveTorrentDialog(torrent_ids).run()
def on_menuitem_recheck_activate(self, data=None):
log.debug("on_menuitem_recheck_activate")
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---