diff options
author | monsta <[email protected]> | 2017-01-05 01:36:19 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-05 01:36:19 +0300 |
commit | fbd0f1d8a815347beea1b2c5df5804c88aa406c6 (patch) | |
tree | ae195e531d039719d016a402551ebc7c20cbab69 /mate-panel/panel-context-menu.c | |
parent | 064c41256b25b35f1ac5167863ca99708c60755b (diff) | |
download | mate-panel-fbd0f1d8a815347beea1b2c5df5804c88aa406c6.tar.bz2 mate-panel-fbd0f1d8a815347beea1b2c5df5804c88aa406c6.tar.xz |
remove ancient code leftovers
once it was some easter egg, now it's just a non-working garbage
Diffstat (limited to 'mate-panel/panel-context-menu.c')
-rw-r--r-- | mate-panel/panel-context-menu.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/mate-panel/panel-context-menu.c b/mate-panel/panel-context-menu.c index e249ffb3..c6577814 100644 --- a/mate-panel/panel-context-menu.c +++ b/mate-panel/panel-context-menu.c @@ -37,7 +37,6 @@ #include <libpanel-util/panel-error.h> #include <libpanel-util/panel-show.h> -#include "nothing.h" #include "panel-util.h" #include "panel.h" #include "menu.h" @@ -57,28 +56,6 @@ panel_context_menu_show_help (GtkWidget *w, "mate-user-guide", "gospanel-1", NULL); } -static gboolean -panel_context_menu_check_for_screen (GtkWidget *w, - GdkEvent *ev, - gpointer data) -{ - static int times = 0; - if (ev->type != GDK_KEY_PRESS) - return FALSE; - if (ev->key.keyval == GDK_KEY_f || - ev->key.keyval == GDK_KEY_F) { - times++; - if (times == 3) { - times = 0; -#if 0 - /* FIXME re-add once GTK3 support is fixed */ - start_screen_check (); -#endif - } - } - return FALSE; -} - static void panel_context_menu_show_about_dialog (GtkWidget *menuitem) { @@ -150,9 +127,6 @@ panel_context_menu_show_about_dialog (GtkWidget *menuitem) g_signal_connect (about, "destroy", G_CALLBACK (gtk_widget_destroyed), &about); - g_signal_connect (about, "event", - G_CALLBACK (panel_context_menu_check_for_screen), - NULL); g_signal_connect (about, "response", G_CALLBACK (gtk_widget_destroy), |