mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 00:35:38 +00:00
Updated setup color dialog RGBA derivation to parse hex palette components with gdk_rgba_parse for GTK3 paths.
Standardized GtkCellRendererText foreground color binding to use the palette foreground property macro across user list, DCC, and notify views.
This commit is contained in:
1 parent
bc11f40a7a
commit
dae5eadf1a
4 files changed
+9
-14
No files matched your search
@@ -533,11 +533,7 @@ static void
|
||||
userlist_add_columns (GtkTreeView * treeview)
|
||||
{
|
||||
GtkCellRenderer *renderer;
|
||||
#if GTK_CHECK_VERSION(3,0,0)
|
||||
const char *foreground_property = "foreground-rgba";
|
||||
#else
|
||||
const char *foreground_property = "foreground-gdk";
|
||||
#endif
|
||||
const char *foreground_property = PALETTE_FOREGROUND_PROPERTY;
|
||||
|
||||
/* icon column */
|
||||
renderer = gtk_cell_renderer_pixbuf_new ();
|
||||
|
||||
Reference in new issue
Block a user