[hamster-applet] forgot the close action



commit 4e6dc7474447b53669db6643819da7a2d7bc352c
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sun Jun 13 14:31:50 2010 +0100

    forgot the close action

 src/hamster/overview.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/hamster/overview.py b/src/hamster/overview.py
index 2087273..4ea0b4c 100644
--- a/src/hamster/overview.py
+++ b/src/hamster/overview.py
@@ -355,6 +355,9 @@ class Overview(object):
               and event_key.state & gtk.gdk.CONTROL_MASK)):
         self.close_window()
 
+    def on_close_activate(self, action):
+        self.close_window()
+        
     def close_window(self):
         # properly saving window state and position
         maximized = self.window.get_window().get_state() & gtk.gdk.WINDOW_STATE_MAXIMIZED



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]