summaryrefslogtreecommitdiff
path: root/mate-panel/panel-context-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-context-menu.c')
-rw-r--r--mate-panel/panel-context-menu.c7
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;