Skip to content

Commit

Permalink
menu.c: Fix: Keep spaces in the left if "menus-have-icons" is off
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w authored and lukefromdc committed Jun 25, 2018
1 parent 5ca1fb1 commit b22dff4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mate-panel/menu.c
Expand Up @@ -164,7 +164,7 @@ panel_create_menu (void)

retval = gtk_menu_new ();

gtk_menu_set_reserve_toggle_size (GTK_MENU (retval), FALSE);
gtk_menu_set_reserve_toggle_size (GTK_MENU (retval), TRUE);

gtk_widget_set_name (retval, "mate-panel-main-menu");

Expand Down
2 changes: 2 additions & 0 deletions mate-panel/panel-context-menu.c
Expand Up @@ -230,6 +230,8 @@ panel_context_menu_build_edition (PanelWidget *panel_widget,
{
GtkWidget *menuitem;

gtk_menu_set_reserve_toggle_size (GTK_MENU (menu), FALSE);

menuitem = panel_image_menu_item_new_from_icon ("list-add", _("_Add to Panel…"));

gtk_widget_show (menuitem);
Expand Down

0 comments on commit b22dff4

Please sign in to comment.