← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/indicator-applet/applet] Rev 357: Shortcut fix

 

Merge authors:
  Roman Vorobets <roman-vorobets@xxxxxxxxxxxxx>
------------------------------------------------------------
revno: 357 [merge]
committer: Ted Gould <ted@xxxxxxxx>
branch nick: applet
timestamp: Tue 2010-05-04 18:55:21 +0200
message:
  Shortcut fix
modified:
  src/tomboykeybinder.c


--
lp:indicator-applet
https://code.launchpad.net/~indicator-applet-developers/indicator-applet/applet

Your team ayatana-commits is subscribed to branch lp:indicator-applet.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-applet/applet/+edit-subscription
=== modified file 'src/tomboykeybinder.c'
--- src/tomboykeybinder.c	2010-04-16 19:56:30 +0000
+++ src/tomboykeybinder.c	2010-05-04 16:54:22 +0000
@@ -128,6 +128,8 @@
 	egg_keymap_resolve_virtual_modifiers (keymap,
 					      virtual_mods,
 					      &binding->modifiers);
+	if (binding->modifiers == 0)
+		return FALSE;
 
 	TRACE (g_print ("Got modmask %d\n", binding->modifiers));