Mercurial > pidgin.yaz
comparison src/conversation.c @ 843:868e7a30b48a
[gaim-migrate @ 853]
ignore incoming colors works better now
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 06 Sep 2000 01:22:38 +0000 |
parents | 3b09dd379600 |
children | 4b05985bae5e |
comparison
equal
deleted
inserted
replaced
842:2804dc8e9ba0 | 843:868e7a30b48a |
---|---|
1274 | 1274 |
1275 gtk_html_freeze(GTK_HTML(c->text)); | 1275 gtk_html_freeze(GTK_HTML(c->text)); |
1276 | 1276 |
1277 if (colorv != -1) { | 1277 if (colorv != -1) { |
1278 sprintf(buf2, "<BODY BGCOLOR=\"#%x\">", colorv); | 1278 sprintf(buf2, "<BODY BGCOLOR=\"#%x\">", colorv); |
1279 gtk_html_append_text(GTK_HTML(c->text), buf2, 0); | 1279 gtk_html_append_text(GTK_HTML(c->text), buf2, (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0); |
1280 } | 1280 } |
1281 | 1281 |
1282 gtk_html_append_text(GTK_HTML(c->text), buf, 0); | 1282 gtk_html_append_text(GTK_HTML(c->text), buf, (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0); |
1283 | 1283 |
1284 if (display_options & OPT_DISP_SHOW_SMILEY) | 1284 if (display_options & OPT_DISP_SHOW_SMILEY) |
1285 { | 1285 { |
1286 write_html_with_smileys(c->window, c->text, what); | 1286 write_html_with_smileys(c->window, c->text, what); |
1287 } | 1287 } |
1289 { | 1289 { |
1290 gtk_html_append_text(GTK_HTML(c->text), what, (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0); | 1290 gtk_html_append_text(GTK_HTML(c->text), what, (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0); |
1291 } | 1291 } |
1292 | 1292 |
1293 if (colorv != -1) { | 1293 if (colorv != -1) { |
1294 gtk_html_append_text(GTK_HTML(c->text), "</BODY>", 0); | 1294 gtk_html_append_text(GTK_HTML(c->text), "</BODY>", (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0); |
1295 } | 1295 } |
1296 gtk_html_append_text(GTK_HTML(c->text), "<BR>", 0); | 1296 gtk_html_append_text(GTK_HTML(c->text), "<BR>", (display_options & OPT_DISP_IGNORE_COLOUR) ? HTML_OPTION_NO_COLOURS : 0); |
1297 | 1297 |
1298 | 1298 |
1299 if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(c->name)) { | 1299 if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(c->name)) { |
1300 char *t1, *t2; | 1300 char *t1, *t2; |
1301 char *nm = g_malloc(256); | 1301 char *nm = g_malloc(256); |