summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-08 00:41:46 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-13 15:05:42 +0100
commitf700d63c933877362ed1cb92d8bddd2df1e29227 (patch)
treec865db0b9addcee8b1c0dc9f51d51804049681ad /libcaja-private
parentfa7dd4677f4196750d0c752c7b1823fdd7c54cbb (diff)
downloadcaja-f700d63c933877362ed1cb92d8bddd2df1e29227.tar.bz2
caja-f700d63c933877362ed1cb92d8bddd2df1e29227.tar.xz
GTK3 icon-container: fix a couple of ACTIVE -> NORMAL typos
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=d0d9059
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-icon-container.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 1bad9f26..9a6095e7 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -9533,10 +9533,10 @@ setup_label_gcs (CajaIconContainer *container)
if (!caja_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);
@@ -9761,7 +9761,7 @@ caja_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);