Mercurial > pidgin.yaz
comparison src/dialogs.c @ 699:f8acdd22065a
[gaim-migrate @ 709]
log chat logon/logoffs to whatever.chat.log
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 16 Aug 2000 07:13:18 +0000 |
parents | c7c0d2590681 |
children | efd72a117875 |
comparison
equal
deleted
inserted
replaced
698:b2ab04e04194 | 699:f8acdd22065a |
---|---|
2334 /* GTK_IS_EDITABLE(c->entry); huh? */ | 2334 /* GTK_IS_EDITABLE(c->entry); huh? */ |
2335 | 2335 |
2336 text_color.red = ((guint16)(color[0]*65535))>>8; | 2336 text_color.red = ((guint16)(color[0]*65535))>>8; |
2337 text_color.green = ((guint16)(color[1]*65535))>>8; | 2337 text_color.green = ((guint16)(color[1]*65535))>>8; |
2338 text_color.blue = ((guint16)(color[2]*65535))>>8; | 2338 text_color.blue = ((guint16)(color[2]*65535))>>8; |
2339 c->fgcol = text_color; | |
2340 c->hasfg = 1; | |
2339 | 2341 |
2340 g_snprintf(open_tag, 23, "<FONT COLOR=\"#%02X%02X%02X\">", text_color.red, text_color.green, text_color.blue); | 2342 g_snprintf(open_tag, 23, "<FONT COLOR=\"#%02X%02X%02X\">", text_color.red, text_color.green, text_color.blue); |
2341 surround(c->entry, open_tag, "</FONT>"); | 2343 surround(c->entry, open_tag, "</FONT>"); |
2342 sprintf(debug_buff,"#%02X%02X%02X\n", text_color.red, text_color.green, text_color.blue); | 2344 sprintf(debug_buff,"#%02X%02X%02X\n", text_color.red, text_color.green, text_color.blue); |
2343 debug_print(debug_buff); | 2345 debug_print(debug_buff); |