From 8c9242e0613f52e74e58fd2c61d0f2f5438309bc Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 2 May 2002 22:55:49 +0000 Subject: Make the style here match the proper widget style to emulate a label or an 2002-05-02 Christopher James Lahey * gal/e-text/e-text.c (e_text_draw): Make the style here match the proper widget style to emulate a label or an entry. svn path=/trunk/; revision=16670 --- widgets/text/e-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets') diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 2dc03d9a25..66c4eb85b6 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1967,7 +1967,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable, fg_gc = widget->style->fg_gc[text->has_selection ? GTK_STATE_SELECTED : GTK_STATE_ACTIVE]; if (text->draw_background || text->draw_button) { - main_gc = widget->style->text_gc[GTK_STATE_NORMAL]; + main_gc = widget->style->fg_gc[GTK_WIDGET_STATE (widget)]; } else { main_gc = text->gc; } -- cgit v1.2.3