mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 09:40:20 +00:00
Standardized GTK3 menu-related icon constants to use the bundled zc-menu-* icon set (from data/icons/menu) in the places that had direct equivalents, including raw log, URL grabber, channel list actions, tray menu, and plugin load action.
Updated menu_quick_item() so zc-menu-* icons now fall back to the light variant if the current theme variant is unavailable, which helps avoid missing icons.
Added centralized zc-menu-* resource loading to gtkutil_image_new_from_stock() (theme-variant detection + light fallback), so menu/button icon rendering uses the same bundled source path consistently.
This commit is contained in:
@@ -46,11 +46,11 @@
|
||||
#include "custom-list.h"
|
||||
|
||||
#if HAVE_GTK3
|
||||
#define ICON_CHANLIST_JOIN "go-jump"
|
||||
#define ICON_CHANLIST_JOIN "zc-menu-join"
|
||||
#define ICON_CHANLIST_COPY "edit-copy"
|
||||
#define ICON_CHANLIST_FIND "edit-find"
|
||||
#define ICON_CHANLIST_FIND "zc-menu-find"
|
||||
#define ICON_CHANLIST_REFRESH "view-refresh"
|
||||
#define ICON_CHANLIST_SAVE "document-save-as"
|
||||
#define ICON_CHANLIST_SAVE "zc-menu-save"
|
||||
#endif
|
||||
#if !HAVE_GTK3
|
||||
#define ICON_CHANLIST_JOIN GTK_STOCK_JUMP_TO
|
||||
|
||||
Reference in New Issue
Block a user