[hamster-applet/gnome-2-30] second attempt at fixing something with keybindings and metas and something.



commit 6617ebe47cbc41ad7efcb6e2a775d579d8b4ac5b
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sat May 8 13:14:19 2010 +0100

    second attempt at fixing something with keybindings and metas and something.

 src/hamster/keybinder/tomboykeybinder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/keybinder/tomboykeybinder.c b/src/hamster/keybinder/tomboykeybinder.c
index 3522141..07d5eb7 100644
--- a/src/hamster/keybinder/tomboykeybinder.c
+++ b/src/hamster/keybinder/tomboykeybinder.c
@@ -129,7 +129,7 @@ do_grab_key (Binding *binding)
 	egg_keymap_resolve_virtual_modifiers (keymap,
 					      virtual_mods,
 					      &binding->modifiers);
-	if (binding->keycode == 0)
+	if (binding->modifiers == 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]