Skip to content
Permalink
Browse files

menu.c: Fix: Keep spaces in the left if "menus-have-icons" is off

  • Loading branch information...
sc0w authored and lukefromdc committed Jun 24, 2018
1 parent 5ca1fb1 commit b22dff4194ba1024ba99069057b466bf47120bab
Showing with 3 additions and 1 deletion.
  1. +1 −1 mate-panel/menu.c
  2. +2 −0 mate-panel/panel-context-menu.c
@@ -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");

@@ -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);

0 comments on commit b22dff4

Please sign in to comment.
You can’t perform that action at this time.