From f1d488a09ce2d6698acc8f2817f856fc0a905ae2 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 8 Feb 2008 00:46:10 +0000 Subject: [PATCH] Fix pause/resume all torrents in the SystemTray. --- deluge/ui/gtkui/systemtray.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/systemtray.py b/deluge/ui/gtkui/systemtray.py index f2fa2c593..1c78190fc 100644 --- a/deluge/ui/gtkui/systemtray.py +++ b/deluge/ui/gtkui/systemtray.py @@ -270,11 +270,11 @@ class SystemTray(component.Component): def on_menuitem_pause_all_activate(self, menuitem): log.debug("on_menuitem_pause_all_activate") - self.core.pause_all_torrents() + client.pause_all_torrents() def on_menuitem_resume_all_activate(self, menuitem): log.debug("on_menuitem_resume_all_activate") - self.core.resume_all_torrents() + client.resume_all_torrents() def on_menuitem_quit_activate(self, menuitem): log.debug("on_menuitem_quit_activate")