diff --git a/src/PluginUtils/_PluginStatus.py b/src/PluginUtils/_PluginStatus.py index 52dca5c44..897dd95e6 100644 --- a/src/PluginUtils/_PluginStatus.py +++ b/src/PluginUtils/_PluginStatus.py @@ -65,8 +65,8 @@ class PluginStatus(ManagedWindow.ManagedWindow): ) ) self.window.set_size_request(600,400) - self.window.connect('delete-event',self.close) - self.window.connect('response', self.close) + self.window.connect('delete-event',self.close_window) + self.window.connect('response', self.close_window) scrolled_window = gtk.ScrolledWindow() self.list = gtk.TreeView() @@ -110,6 +110,9 @@ class PluginStatus(ManagedWindow.ManagedWindow): '%s' % _("OK"), i[0], descr, None]) + def close_window(self, *obj): + self.close() + def button_press(self, obj, event): if event.type == gtk.gdk._2BUTTON_PRESS and event.button == 1: model, node = self.selection.get_selected()