From 94a159a66f10f48516cabce37395444461a9374e Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 17 Nov 2007 09:58:52 +0000 Subject: [PATCH] remove uneffective hide --- src/interface.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/interface.py b/src/interface.py index 1166ab62d..286dd744d 100644 --- a/src/interface.py +++ b/src/interface.py @@ -154,7 +154,6 @@ class DelugeGTK: result = 0 def win_handler(self, ctrl_type): if ctrl_type == CTRL_CLOSE_EVENT: - self.window.hide() self.shutdown() result = 1 return result @@ -466,7 +465,6 @@ window, please enter your password")) elif comingnext == "plugwinshow": self.show_plugin_dialog() elif comingnext == "quitus": - self.window.hide() self.shutdown() tray_lock.destroy() @@ -1647,13 +1645,11 @@ want to remove all seeding torrents?")): def quit(self, widget=None): if self.window.get_property("visible"): - self.window.hide() self.shutdown() else: if self.config.get("lock_tray"): self.unlock_tray("quitus") else: - self.window.hide() self.shutdown() def shutdown(self):