diff options
-rw-r--r-- | mate-panel/panel-menu-bar.c | 6 | ||||
-rw-r--r-- | mate-panel/panel-menu-button.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c index c95533d7..fbc759d7 100644 --- a/mate-panel/panel-menu-bar.c +++ b/mate-panel/panel-menu-bar.c @@ -355,7 +355,7 @@ static void panel_menu_bar_load(PanelWidget* panel, gboolean locked, int positio mate_panel_applet_add_callback(menubar->priv->info, "help", GTK_STOCK_HELP, _("_Help"), NULL); /* Menu editors */ - if (!panel_lockdown_get_locked_down () && (panel_is_program_in_path("mozo") || panel_is_program_in_path("matemenu-simple-editor"))) + if (!panel_lockdown_get_locked_down () && (panel_is_program_in_path("mozo") || panel_is_program_in_path("menulibre"))) { mate_panel_applet_add_callback (menubar->priv->info, "edit", NULL, _("_Edit Menus"), NULL); } @@ -402,12 +402,12 @@ void panel_menu_bar_invoke_menu(PanelMenuBar* menubar, const char* callback_name { GError* error = NULL; - panel_launch_desktop_file_with_fallback("mozo.desktop", "mozo", screen, &error); + panel_launch_desktop_file_with_fallback("menulibre.desktop", "menulibre", screen, &error); if (error) { g_error_free(error); - panel_launch_desktop_file_with_fallback("matemenu-simple-editor.desktop", "matemenu-simple-editor", screen, NULL); + panel_launch_desktop_file_with_fallback("mozo.desktop", "mozo", screen, NULL); } } } diff --git a/mate-panel/panel-menu-button.c b/mate-panel/panel-menu-button.c index a35dba88..c49de47c 100644 --- a/mate-panel/panel-menu-button.c +++ b/mate-panel/panel-menu-button.c @@ -667,7 +667,7 @@ panel_menu_button_load (const char *menu_path, if (!panel_lockdown_get_locked_down () && (panel_is_program_in_path ("mozo") || - panel_is_program_in_path ("matemenu-simple-editor"))) + panel_is_program_in_path ("menulibre"))) mate_panel_applet_add_callback (info, "edit", NULL, _("_Edit Menus"), NULL); @@ -988,14 +988,14 @@ panel_menu_button_invoke_menu (PanelMenuButton *button, } else if (!strcmp (callback_name, "edit")) { GError *error = NULL; - panel_launch_desktop_file_with_fallback ("mozo.desktop", - "mozo", + panel_launch_desktop_file_with_fallback ("menulibre.desktop", + "menulibre", screen, &error); if (error) { g_error_free (error); panel_launch_desktop_file_with_fallback ( - "matemenu-simple-editor.desktop", - "matemenu-simple-editor", + "mozo.desktop", + "mozo", screen, NULL); } } |