diff --git a/capplets/theme-switcher/ChangeLog b/capplets/theme-switcher/ChangeLog index a63971715..ef5d1449e 100644 --- a/capplets/theme-switcher/ChangeLog +++ b/capplets/theme-switcher/ChangeLog @@ -1,3 +1,8 @@ +2007-02-22 Jens Granseuer + + * gnome-theme-details.c: (color_select): update selected_fg_color + from the correct slot. Fixes bug 410764. + 2007-02-08 Thomas Wood Patch by: Matthias Clasen diff --git a/capplets/theme-switcher/gnome-theme-details.c b/capplets/theme-switcher/gnome-theme-details.c index b7ef85286..b0c7de97c 100644 --- a/capplets/theme-switcher/gnome-theme-details.c +++ b/capplets/theme-switcher/gnome-theme-details.c @@ -551,7 +551,7 @@ color_select (GtkWidget *colorbutton, GladeXML *dialog) bg = g_strdup_printf ("bg_color:#%.2x%.2x%.2x\n", colors[1].red, colors[1].green, colors[1].blue); text = g_strdup_printf ("text_color:#%.2x%.2x%.2x\n", colors[2].red, colors[2].green, colors[2].blue); base = g_strdup_printf ("base_color:#%.2x%.2x%.2x\n", colors[3].red, colors[3].green, colors[3].blue); - selected_fg = g_strdup_printf ("selected_fg_color:#%.2x%.2x%.2x\n", colors[2].red, colors[2].green, colors[2].blue); + selected_fg = g_strdup_printf ("selected_fg_color:#%.2x%.2x%.2x\n", colors[4].red, colors[4].green, colors[4].blue); selected_bg = g_strdup_printf ("selected_bg_color:#%.2x%.2x%.2x", colors[5].red, colors[5].green, colors[5].blue); new_scheme = g_strconcat (fg, bg, text, base, selected_fg, selected_bg, NULL);