Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 10488:47366cf2792b
[gaim-migrate @ 11778]
Consolidated Ignore Formatting preferences.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 08 Jan 2005 20:42:47 +0000 |
parents | 748aa3c6de36 |
children | 8dffdd8861b5 |
comparison
equal
deleted
inserted
replaced
10487:659edfcac14e | 10488:47366cf2792b |
---|---|
4725 sml_attrib = g_strdup_printf("sml=\"%s\"", | 4725 sml_attrib = g_strdup_printf("sml=\"%s\"", |
4726 gaim_account_get_protocol_name(conv->account)); | 4726 gaim_account_get_protocol_name(conv->account)); |
4727 | 4727 |
4728 gtk_font_options ^= GTK_IMHTML_NO_COMMENTS; | 4728 gtk_font_options ^= GTK_IMHTML_NO_COMMENTS; |
4729 | 4729 |
4730 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_colors")) | 4730 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_formatting")) |
4731 gtk_font_options ^= GTK_IMHTML_NO_COLOURS; | 4731 gtk_font_options ^= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES; |
4732 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_fonts")) | |
4733 gtk_font_options ^= GTK_IMHTML_NO_FONTS; | |
4734 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_font_sizes")) | |
4735 gtk_font_options ^= GTK_IMHTML_NO_SIZES; | |
4736 | 4732 |
4737 /* this is gonna crash one day, I can feel it. */ | 4733 /* this is gonna crash one day, I can feel it. */ |
4738 if (GAIM_PLUGIN_PROTOCOL_INFO(gaim_find_prpl(gaim_account_get_protocol_id(conv->account)))->options & | 4734 if (GAIM_PLUGIN_PROTOCOL_INFO(gaim_find_prpl(gaim_account_get_protocol_id(conv->account)))->options & |
4739 OPT_PROTO_USE_POINTSIZE) { | 4735 OPT_PROTO_USE_POINTSIZE) { |
4740 gtk_font_options ^= GTK_IMHTML_USE_POINTSIZE; | 4736 gtk_font_options ^= GTK_IMHTML_USE_POINTSIZE; |
5832 gaim_prefs_add_bool("/gaim/gtk/conversations/send_formatting", FALSE); | 5828 gaim_prefs_add_bool("/gaim/gtk/conversations/send_formatting", FALSE); |
5833 gaim_prefs_add_bool("/gaim/gtk/conversations/send_bold", FALSE); | 5829 gaim_prefs_add_bool("/gaim/gtk/conversations/send_bold", FALSE); |
5834 gaim_prefs_add_bool("/gaim/gtk/conversations/send_italic", FALSE); | 5830 gaim_prefs_add_bool("/gaim/gtk/conversations/send_italic", FALSE); |
5835 gaim_prefs_add_bool("/gaim/gtk/conversations/send_underline", FALSE); | 5831 gaim_prefs_add_bool("/gaim/gtk/conversations/send_underline", FALSE); |
5836 gaim_prefs_add_bool("/gaim/gtk/conversations/spellcheck", TRUE); | 5832 gaim_prefs_add_bool("/gaim/gtk/conversations/spellcheck", TRUE); |
5837 #if 1 | 5833 #if 0 |
5838 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_colors", FALSE); | 5834 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_colors", FALSE); |
5839 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_fonts", FALSE); | 5835 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_fonts", FALSE); |
5840 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_font_sizes", FALSE); | 5836 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_font_sizes", FALSE); |
5841 #else | 5837 #else |
5842 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_formatting", FALSE); | 5838 gaim_prefs_add_bool("/gaim/gtk/conversations/ignore_formatting", FALSE); |