mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 02:00:20 +00:00
Consolidated GTK3 vs GTK2 icon macro guards in the channel list UI to keep named icons on GTK3 and stock icons on GTK2 behind a single conditional block.
Aligned plugin UI icon macros with the same GTK3/GTK2 conditional pattern for named icons vs stock icons. Ensured GTK3 popup helper usage and clarified GTK3/GTK2 icon macro selection in the main menu handling code.
This commit is contained in:
@@ -52,8 +52,7 @@ static GtkWidget *plugin_window = NULL;
|
||||
#define ICON_PLUGIN_LOAD "document-open"
|
||||
#define ICON_PLUGIN_UNLOAD "edit-delete"
|
||||
#define ICON_PLUGIN_RELOAD "view-refresh"
|
||||
#endif
|
||||
#if !HAVE_GTK3
|
||||
#else
|
||||
#define ICON_PLUGIN_LOAD GTK_STOCK_REVERT_TO_SAVED
|
||||
#define ICON_PLUGIN_UNLOAD GTK_STOCK_DELETE
|
||||
#define ICON_PLUGIN_RELOAD GTK_STOCK_REFRESH
|
||||
|
||||
Reference in New Issue
Block a user