[nautilus] icon-container: fix a couple of ACTIVE -> NORMAL typos
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] icon-container: fix a couple of ACTIVE -> NORMAL typos
- Date: Thu, 20 Jan 2011 11:58:34 +0000 (UTC)
commit d0d90599476e4f21d3e07fd670b6c18b6ba06794
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jan 19 19:43:02 2011 +0100
icon-container: fix a couple of ACTIVE -> NORMAL typos
libnautilus-private/nautilus-icon-container.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index 67257f6..035b513 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -8568,10 +8568,10 @@ setup_label_gcs (NautilusIconContainer *container)
eel_gdk_rgba_is_dark (&color) ? light_info_color : dark_info_color);
if (!nautilus_icon_container_get_is_desktop (container)) {
- gtk_style_context_get_color (style, GTK_STATE_FLAG_ACTIVE, &color);
+ gtk_style_context_get_color (style, GTK_STATE_FLAG_NORMAL, &color);
setup_gc_with_fg (container, LABEL_COLOR, &color);
- gtk_style_context_get_background_color (style, GTK_STATE_FLAG_ACTIVE, &color);
+ gtk_style_context_get_background_color (style, GTK_STATE_FLAG_NORMAL, &color);
setup_gc_with_fg (container, LABEL_INFO_COLOR,
eel_gdk_rgba_is_dark (&color) ?
light_info_color : dark_info_color);
@@ -8689,7 +8689,7 @@ nautilus_icon_container_theme_changed (gpointer user_data)
gtk_style_context_get_style (style,
"normal_icon_rgba", &normal_icon_color,
NULL);
- gtk_style_context_get_background_color (style, GTK_STATE_FLAG_ACTIVE, &color);
+ gtk_style_context_get_background_color (style, GTK_STATE_FLAG_NORMAL, &color);
if (!normal_icon_color) {
normal_icon_color = gdk_rgba_copy (&color);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]