diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-26 14:34:04 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-26 14:34:04 +0200 |
commit | a6efbbceb5b1122512cd01609eab99fe522d8435 (patch) | |
tree | 43a85aa03fce3f022c5db5f60579daea90cecae3 /mate-panel/panel-context-menu.c | |
parent | fa97943c56e331668aff4b3587fe70c5edcd36b2 (diff) | |
download | mate-panel-a6efbbceb5b1122512cd01609eab99fe522d8435.tar.bz2 mate-panel-a6efbbceb5b1122512cd01609eab99fe522d8435.tar.xz |
mate-panel: Add GTK3 support
Diffstat (limited to 'mate-panel/panel-context-menu.c')
-rw-r--r-- | mate-panel/panel-context-menu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mate-panel/panel-context-menu.c b/mate-panel/panel-context-menu.c index a7c01774..41c61b93 100644 --- a/mate-panel/panel-context-menu.c +++ b/mate-panel/panel-context-menu.c @@ -65,12 +65,15 @@ panel_context_menu_check_for_screen (GtkWidget *w, static int times = 0; if (ev->type != GDK_KEY_PRESS) return FALSE; - if (ev->key.keyval == GDK_f || - ev->key.keyval == GDK_F) { + if (ev->key.keyval == GDK_KEY_f || + ev->key.keyval == GDK_KEY_F) { times++; if (times == 3) { times = 0; +#if !GTK_CHECK_VERSION (3, 0, 0) + /* FIXME re-add once GTK3 support is fixed */ start_screen_check (); +#endif } } return FALSE; |