diff --git a/js/ui/main.js b/js/ui/main.js index 635fd8df6..aced13901 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -99,10 +99,6 @@ function start() { let theme = new St.Theme ({ application_stylesheet: stylesheetPath }); themeContext.set_theme (theme); - global.connect('panel-run-dialog', function(panel) { - // Make sure not more than one run dialog is shown. - getRunDialog().open(); - }); let shellwm = global.window_manager; shellwm.takeover_keybinding("panel_main_menu"); shellwm.connect("keybinding::panel_main_menu", function () { @@ -159,7 +155,6 @@ function start() { let display = global.screen.get_display(); display.connect('overlay-key', Lang.bind(overview, overview.toggle)); - global.connect('panel-main-menu', Lang.bind(overview, overview.toggle)); global.stage.connect('captured-event', _globalKeyPressHandler); diff --git a/src/shell-global.c b/src/shell-global.c index 3b347403b..4cf1e38c8 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -76,8 +76,6 @@ enum { /* Signals */ enum { - PANEL_RUN_DIALOG, - PANEL_MAIN_MENU, SCREEN_SIZE_CHANGED, LAST_SIGNAL }; @@ -206,24 +204,6 @@ shell_global_class_init (ShellGlobalClass *klass) gobject_class->get_property = shell_global_get_property; gobject_class->set_property = shell_global_set_property; - shell_global_signals[PANEL_RUN_DIALOG] = - g_signal_new ("panel-run-dialog", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ShellGlobalClass, panel_run_dialog), - NULL, NULL, - g_cclosure_marshal_VOID__INT, - G_TYPE_NONE, 1, G_TYPE_INT); - - shell_global_signals[PANEL_MAIN_MENU] = - g_signal_new ("panel-main-menu", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ShellGlobalClass, panel_main_menu), - NULL, NULL, - g_cclosure_marshal_VOID__INT, - G_TYPE_NONE, 1, G_TYPE_INT); - shell_global_signals[SCREEN_SIZE_CHANGED] = g_signal_new ("screen-size-changed", G_TYPE_FROM_CLASS (klass), diff --git a/src/shell-global.h b/src/shell-global.h index cbef2dba9..702c18404 100644 --- a/src/shell-global.h +++ b/src/shell-global.h @@ -26,10 +26,6 @@ struct _ShellGlobalClass { GObjectClass parent_class; - void (*panel_run_dialog) (ShellGlobal *global, - int timestamp); - void (*panel_main_menu) (ShellGlobal *global, - int timestamp); void (*screen_size_changed) (ShellGlobal *global); };