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

@@ -731,11 +731,7 @@ static void
dcc_add_column (GtkWidget *tree, int textcol, int colorcol, char *title, gboolean right_justified)
{
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;
renderer = gtk_cell_renderer_text_new ();
if (right_justified)