mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 20:20:18 +00:00
Adjusted GTK3 menu item icon-name fallbacks for quick items and stock icon menus in the menu helpers.
Updated channel list icon menu items to convert stock icon IDs to GTK3 icon names with a fallback path. Added a GTK3 icon-name fallback for spell entry menu items when building the icon/label box layout.
This commit is contained in:
@@ -640,6 +640,8 @@ sexy_spell_entry_icon_menu_item (const char *label, const char *stock_name)
|
||||
GtkWidget *label_widget;
|
||||
|
||||
icon_name = gtkutil_icon_name_from_stock (stock_name);
|
||||
if (!icon_name)
|
||||
icon_name = stock_name;
|
||||
item = gtk_menu_item_new ();
|
||||
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
|
||||
if (icon_name)
|
||||
|
||||
Reference in New Issue
Block a user