summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-28 16:37:04 +0100
committerraveit65 <[email protected]>2018-01-29 17:30:57 +0100
commitc77335f82d8e67c7b6677e45bede241634eb612e (patch)
tree83f4522bf452c2d70dcb865c9a9fec6bccf228d7
parent94e0a48cee44a4857dd348266a05441101186b04 (diff)
downloadmate-panel-c77335f82d8e67c7b6677e45bede241634eb612e.tar.bz2
mate-panel-c77335f82d8e67c7b6677e45bede241634eb612e.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 85e55e51..c8ffa76c 100644
--- a/mate-panel/panel-menu-bar.c
+++ b/mate-panel/panel-menu-bar.c
@@ -361,7 +361,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 e61e6ace..b111edff 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);