[hamster-applet] fixed bug 617994 - something about keybinders and metas
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] fixed bug 617994 - something about keybinders and metas
- Date: Fri, 7 May 2010 21:26:20 +0000 (UTC)
commit becbf7b530fbad275b1c4a03cfe431e1fa8f7e8a
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 3049b9e..7c6f65b 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]