Mercurial > pidgin.yaz
comparison src/dialogs.c @ 4421:31834b4598eb
[gaim-migrate @ 4694]
(23:26:06) deryni: Black on Black is not the best color choice
this should let you use custom colors again. thanks deryni!
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 26 Jan 2003 04:27:14 +0000 |
parents | ce3a0eba91ef |
children | e73c4e8e2d03 |
comparison
equal
deleted
inserted
replaced
4420:64d845f2a0fb | 4421:31834b4598eb |
---|---|
3123 /* GTK_IS_EDITABLE(c->entry); huh? */ | 3123 /* GTK_IS_EDITABLE(c->entry); huh? */ |
3124 | 3124 |
3125 gtkconv = GAIM_GTK_CONVERSATION(c); | 3125 gtkconv = GAIM_GTK_CONVERSATION(c); |
3126 | 3126 |
3127 gtkconv->fg_color = text_color; | 3127 gtkconv->fg_color = text_color; |
3128 gtkconv->has_fg = TRUE; | |
3129 g_snprintf(open_tag, 23, "<FONT COLOR=\"#%02X%02X%02X\">", | 3128 g_snprintf(open_tag, 23, "<FONT COLOR=\"#%02X%02X%02X\">", |
3130 text_color.red / 256, | 3129 text_color.red / 256, |
3131 text_color.green / 256, | 3130 text_color.green / 256, |
3132 text_color.blue / 256); | 3131 text_color.blue / 256); |
3133 gaim_gtk_surround(gtkconv, open_tag, "</FONT>"); | 3132 gaim_gtk_surround(gtkconv, open_tag, "</FONT>"); |
3154 /* GTK_IS_EDITABLE(c->entry); huh? */ | 3153 /* GTK_IS_EDITABLE(c->entry); huh? */ |
3155 | 3154 |
3156 gtkconv = GAIM_GTK_CONVERSATION(c); | 3155 gtkconv = GAIM_GTK_CONVERSATION(c); |
3157 | 3156 |
3158 gtkconv->bg_color = text_color; | 3157 gtkconv->bg_color = text_color; |
3159 gtkconv->has_bg = TRUE; | |
3160 g_snprintf(open_tag, 25, "<BODY BGCOLOR=\"#%02X%02X%02X\">", | 3158 g_snprintf(open_tag, 25, "<BODY BGCOLOR=\"#%02X%02X%02X\">", |
3161 text_color.red / 256, | 3159 text_color.red / 256, |
3162 text_color.green / 256, | 3160 text_color.green / 256, |
3163 text_color.blue / 256); | 3161 text_color.blue / 256); |
3164 gaim_gtk_surround(gtkconv, open_tag, "</BODY>"); | 3162 gaim_gtk_surround(gtkconv, open_tag, "</BODY>"); |