diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-05-03 06:55:49 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-05-03 06:55:49 +0800 |
commit | 8c9242e0613f52e74e58fd2c61d0f2f5438309bc (patch) | |
tree | 4f4a8f038709e600851fd9b6ec3d014945c4f631 /widgets/text/e-text.c | |
parent | 20a732849af289a6b2300fdb948dc10535b04fa0 (diff) | |
download | gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar.gz gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar.zst gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.zip |
Make the style here match the proper widget style to emulate a label or an
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* 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
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r-- | widgets/text/e-text.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |