Browse files

72_fix_accelerator_menubar_toggle

from ubuntu

Description: Upstream changes introduced in version 2.8.8-3ubuntu6~test2
Bug: http://sourceforge.net/support/tracker.php?aid=3024423
Bug-Ubuntu: https://launchpad.net/bugs/392503
  • Loading branch information...
1 parent 3b5ff4c commit ed7880cfe820310289ff7ca341776797b55203b1 Andreas Moog committed with youknowone Jun 13, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/fe-gtk/menu.c
View
6 src/fe-gtk/menu.c
@@ -2189,8 +2189,10 @@ menu_create_main (void *accel_group, int bar, int away, int toplevel,
mymenu[i].state);*/
if (mymenu[i].key != 0)
gtk_widget_add_accelerator (item, "activate", accel_group,
- mymenu[i].key, mymenu[i].id == MENU_ID_AWAY ?
- away_mask : GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
+ mymenu[i].key,
+ mymenu[i].id == MENU_ID_AWAY ? away_mask :
+ mymenu[i].key == GDK_F9 ? 0 :
+ GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE);
if (mymenu[i].callback)
g_signal_connect (G_OBJECT (item), "toggled",
G_CALLBACK (mymenu[i].callback), 0);

0 comments on commit ed7880c

Please sign in to comment.