[hamster-applet] map ctrl+w instead of Esc for window-close



commit 217d9f91e2cd0dd412853bd326a469c6f32be152
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sun Apr 18 22:25:52 2010 +0100

    map ctrl+w instead of Esc for window-close

 src/hamster-standalone |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster-standalone b/src/hamster-standalone
index 13b10de..ecebc03 100755
--- a/src/hamster-standalone
+++ b/src/hamster-standalone
@@ -146,7 +146,7 @@ class ProjectHamster(object):
         gtk.accel_map_add_entry("<hamster-applet>/tracking/add", gtk.keysyms.n, gtk.gdk.CONTROL_MASK)
         gtk.accel_map_add_entry("<hamster-applet>/tracking/overview", gtk.keysyms.o, gtk.gdk.CONTROL_MASK)
         gtk.accel_map_add_entry("<hamster-applet>/tracking/stats", gtk.keysyms.i, gtk.gdk.CONTROL_MASK)
-        gtk.accel_map_add_entry("<hamster-applet>/tracking/quit", gtk.keysyms.Escape, 0)
+        gtk.accel_map_add_entry("<hamster-applet>/tracking/quit", gtk.keysyms.w, gtk.gdk.CONTROL_MASK)
         gtk.accel_map_add_entry("<hamster-applet>/edit/prefs", gtk.keysyms.p, gtk.gdk.CONTROL_MASK)
         gtk.accel_map_add_entry("<hamster-applet>/help/contents", gtk.keysyms.F1, 0)
 



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