From 71bd04351ec9556b1fd1bd514291a229d5aac2b0 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sun, 29 Jun 2008 05:00:58 +0000 Subject: [PATCH] fix add from tray --- deluge/ui/gtkui/systemtray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index 4f1d733c1..55b34e39d 100644 --- a/deluge/ui/gtkui/systemtray.py +++ b/deluge/ui/gtkui/systemtray.py @@ -271,7 +271,7 @@ class SystemTray(component.Component): def on_menuitem_add_torrent_activate(self, menuitem): log.debug("on_menuitem_add_torrent_activate") from addtorrentdialog import AddTorrentDialog - client.add_torrent_file(AddTorrentDialog().run()) + client.add_torrent_file(AddTorrentDialog().show()) def on_menuitem_pause_all_activate(self, menuitem): log.debug("on_menuitem_pause_all_activate")