aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-05-03 06:55:49 +0800
committerChris Lahey <clahey@src.gnome.org>2002-05-03 06:55:49 +0800
commit8c9242e0613f52e74e58fd2c61d0f2f5438309bc (patch)
tree4f4a8f038709e600851fd9b6ec3d014945c4f631 /widgets
parent20a732849af289a6b2300fdb948dc10535b04fa0 (diff)
downloadgsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar
gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar.gz
gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar.bz2
gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar.lz
gsoc2013-evolution-8c9242e0613f52e74e58fd2c61d0f2f5438309bc.tar.xz
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')
-rw-r--r--widgets/text/e-text.c2
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;
}