Commit d0d90599 authored by Cosimo Cecchi's avatar Cosimo Cecchi

icon-container: fix a couple of ACTIVE -> NORMAL typos

parent e2ca42ca
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment