Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === modified file 'GMenu/src/applet-entry.c'
- --- GMenu/src/applet-entry.c 2013-10-07 14:12:52 +0000
- +++ GMenu/src/applet-entry.c 2013-10-24 12:12:31 +0000
- @@ -390,6 +390,10 @@
- static gboolean _on_key_pressed_menu (GtkWidget *pMenu, GdkEventKey *pEvent,
- GldiModuleInstance *myApplet)
- {
- + g_print ("GMenu: key pressed: %d %d\n", pEvent->type == GDK_KEY_PRESS, pEvent->type == GDK_KEY_RELEASE)
- + if (pEvent->type != GDK_KEY_PRESS)
- + return FALSE;
- +
- // redirect the signal to the entry
- g_signal_emit_by_name (myData.pEntry, "key-press-event", pEvent, myApplet);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement