[hamster-applet/gnome-2-30] fixed bug 617994 - something about keybinders and metas



commit c35c8967124f5c90d2f71fe8dcaef15660a3409d
Author: Toms Bauģis <toms baugis gmail com>
Date:   Fri May 7 22:26:06 2010 +0100

    fixed bug 617994 - something about keybinders and metas

 src/hamster/keybinder/tomboykeybinder.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/hamster/keybinder/tomboykeybinder.c b/src/hamster/keybinder/tomboykeybinder.c
index 5a7631d..3522141 100644
--- a/src/hamster/keybinder/tomboykeybinder.c
+++ b/src/hamster/keybinder/tomboykeybinder.c
@@ -129,6 +129,8 @@ do_grab_key (Binding *binding)
 	egg_keymap_resolve_virtual_modifiers (keymap,
 					      virtual_mods,
 					      &binding->modifiers);
+	if (binding->keycode == 0)
+		return FALSE;
 
 	TRACE (g_print ("Got modmask %d\n", binding->modifiers));
 



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