SHARE
TWEET

gmenu_patch1

a guest Oct 27th, 2013 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. === modified file 'GMenu/src/applet-entry.c'
  2. --- GMenu/src/applet-entry.c    2013-10-07 14:12:52 +0000
  3. +++ GMenu/src/applet-entry.c    2013-10-24 12:12:31 +0000
  4. @@ -390,6 +390,10 @@
  5.  static gboolean _on_key_pressed_menu (GtkWidget *pMenu, GdkEventKey *pEvent,
  6.         GldiModuleInstance *myApplet)
  7.  {
  8. +       g_print ("GMenu: key pressed: %d %d\n", pEvent->type == GDK_KEY_PRESS, pEvent->type == GDK_KEY_RELEASE)
  9. +       if (pEvent->type != GDK_KEY_PRESS)
  10. +               return FALSE;
  11. +      
  12.         // redirect the signal to the entry
  13.         g_signal_emit_by_name (myData.pEntry, "key-press-event", pEvent, myApplet);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top