Ensured GTK3 icon menu items show their child widgets by calling gtk_widget_show_all(item) after assembling the box in create_icon_menu.

This commit is contained in:
2026-01-31 12:02:20 -07:00
parent a5d1dfe81f
commit 36a369fac8

View File

@@ -2144,6 +2144,7 @@ create_icon_menu (char *labeltext, void *stock_name, int is_stock)
gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), label_widget, FALSE, FALSE, 0);
gtk_container_add (GTK_CONTAINER (item), box);
gtk_widget_show_all (item);
#else
item = gtk_image_menu_item_new_with_mnemonic (labeltext);
gtk_image_menu_item_set_image ((GtkImageMenuItem *)item, img);