mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-25 09:35:16 +00:00
fix add from tray
This commit is contained in:
parent
43214712ef
commit
71bd04351e
@ -271,7 +271,7 @@ class SystemTray(component.Component):
|
|||||||
def on_menuitem_add_torrent_activate(self, menuitem):
|
def on_menuitem_add_torrent_activate(self, menuitem):
|
||||||
log.debug("on_menuitem_add_torrent_activate")
|
log.debug("on_menuitem_add_torrent_activate")
|
||||||
from addtorrentdialog import AddTorrentDialog
|
from addtorrentdialog import AddTorrentDialog
|
||||||
client.add_torrent_file(AddTorrentDialog().run())
|
client.add_torrent_file(AddTorrentDialog().show())
|
||||||
|
|
||||||
def on_menuitem_pause_all_activate(self, menuitem):
|
def on_menuitem_pause_all_activate(self, menuitem):
|
||||||
log.debug("on_menuitem_pause_all_activate")
|
log.debug("on_menuitem_pause_all_activate")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user