From 8dad5d9fd8e040228cfec40533bac9983ac0d98b Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Fri, 13 Jul 2007 17:05:44 +0000 Subject: [PATCH] Bringed back self.notebook in DelugeGTK(was removed in [931]) as it is used by plugins. NetworkGraph plugin is working again. --- src/interface.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/interface.py b/src/interface.py index 3d0303ad4..0da112d0d 100644 --- a/src/interface.py +++ b/src/interface.py @@ -86,8 +86,11 @@ class DelugeGTK: self.window.connect("configure-event", self.window_configure_event) self.window.set_title(common.PROGRAM_NAME) self.window.set_icon_from_file(common.get_pixmap("deluge32.png")) - self.wtree.get_widget("torrent_info").\ - connect("switch-page", self.notebook_switch_page) + + # self.notebook is used by plugins + self.notebook = self.wtree.get_widget("torrent_info") + self.notebook.connect("switch-page", self.notebook_switch_page) + self.statusbar = self.wtree.get_widget("statusbar") ## Construct the Interface