[nautilus] Use test instead of fg for eel-editable-label test
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Use test instead of fg for eel-editable-label test
- Date: Tue, 19 Jan 2010 16:14:21 +0000 (UTC)
commit 6146cd17e4340ca3af43050e405c7ef64efd6e5d
Author: Benjamin Berg <benjamin sipsolutions net>
Date: Tue Jan 19 17:12:46 2010 +0100
Use test instead of fg for eel-editable-label test
Since we use base for the background we should use text for
the foreground. (#548295)
eel/eel-editable-label.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index 3409207..021fcee 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -1626,7 +1626,7 @@ eel_editable_label_expose (GtkWidget *widget,
gtk_paint_layout (widget->style,
widget->window,
GTK_WIDGET_STATE (widget),
- FALSE,
+ TRUE,
&event->area,
widget,
"label",
@@ -1689,7 +1689,7 @@ eel_editable_label_expose (GtkWidget *widget,
if (label->draw_outline)
gdk_draw_rectangle (widget->window,
- widget->style->fg_gc [GTK_WIDGET_STATE (widget)],
+ widget->style->text_gc [GTK_WIDGET_STATE (widget)],
FALSE,
0, 0,
widget->allocation.width - 1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]