summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-28 16:37:04 +0100
committermonsta <[email protected]>2018-03-18 14:49:53 +0300
commitdbbd710f1ed3a0b1697281239a621b4a48eda5bd (patch)
treeb3c709a342aefc27f528c7bf1dcd3ebdac283cae
parentc2a206a3b2f425cfcb877589042695d70d087757 (diff)
downloadmate-panel-dbbd710f1ed3a0b1697281239a621b4a48eda5bd.tar.bz2
mate-panel-dbbd710f1ed3a0b1697281239a621b4a48eda5bd.tar.xz
set the "document-properties" icon in "Edit Menus"
-rw-r--r--mate-panel/panel-menu-bar.c2
-rw-r--r--mate-panel/panel-menu-button.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c
index 1c5d28cc..f454c367 100644
--- a/mate-panel/panel-menu-bar.c
+++ b/mate-panel/panel-menu-bar.c
@@ -357,7 +357,7 @@ static void panel_menu_bar_load(PanelWidget* panel, gboolean locked, int positio
/* Menu editors */
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);
+ mate_panel_applet_add_callback (menubar->priv->info, "edit", "document-properties", _("_Edit Menus"), NULL);
}
g_signal_connect_after(menubar, "focus-in-event", G_CALLBACK(gtk_widget_queue_draw), menubar);
diff --git a/mate-panel/panel-menu-button.c b/mate-panel/panel-menu-button.c
index 74cf0dfb..3f1bc750 100644
--- a/mate-panel/panel-menu-button.c
+++ b/mate-panel/panel-menu-button.c
@@ -671,7 +671,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 ("menulibre")))
- mate_panel_applet_add_callback (info, "edit", NULL,
+ mate_panel_applet_add_callback (info, "edit", "document-properties",
_("_Edit Menus"), NULL);
panel_widget_set_applet_expandable (panel, GTK_WIDGET (button), FALSE, TRUE);