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:
2026-01-22 23:18:59 -07:00
parent bc11f40a7a
commit dae5eadf1a
4 changed files with 9 additions and 14 deletions

View File

@@ -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 ();