GNOME Bugzilla – Bug 80470
message-window forground/background color settings
Last modified: 2004-12-22 21:47:04 UTC
The body of the message window _should_ use the same colours as the article window does. Anything else does not make sense. --- message-window.c Mon Mar 25 02:08:38 2002 +++ message-window-fixed.c Wed May 1 15:47:42 2002 @@ -1870,9 +1870,20 @@ /* set the text widget's properties */ pan_widget_set_font (GTK_WIDGET(mw->body), message_body_font_fixed); - style = gtk_widget_get_style(mw->body); - style->text[0] = text_fg_color; - style->base[0] = text_bg_color; + + if( !use_system_fg || !use_system_bg ) + { + style = gtk_widget_get_style(mw->body); + + if( !use_system_fg ) + style->text[0] = text_fg_color; + + if( !use_system_bg ) + style->base[0] = text_bg_color; + + gtk_widget_set_style( GTK_WIDGET( mw->body ), style ); + } + gtk_text_set_word_wrap (GTK_TEXT (mw->body), FALSE); gtk_text_set_line_wrap (GTK_TEXT (mw->body), FALSE); gtk_text_set_editable (GTK_TEXT (mw->body), TRUE);
Fixed in cvs head for the gtk2 branch: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=message-window.c&rev1=1.270&rev2=1.271&root=/cvs/gnome