From 828aea9083e19cec1a712c349285553197bc1c6f Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 16 Mar 2016 18:00:49 +0300 Subject: icon container: restore original font color select logic that is, before 057df2dc1d8ea67b477d696ac6feea8aaf392763 the logic itself is valid, but it was somewhat broken later in a few attempts to fix the annoying font color bugs. so let's restore it. --- libcaja-private/caja-icon-container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcaja-private/caja-icon-container.c') diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index bf00743b..fd0a4dbf 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -9588,7 +9588,7 @@ setup_label_gcs (CajaIconContainer *container) "frame_text", &frame_text, NULL); - if (frame_text || !caja_icon_container_get_is_desktop (container)) + if (frame_text || !eel_background_is_set (background)) { setup_gc_with_fg (container, LABEL_COLOR, eel_gdk_color_to_rgb (&style->text[GTK_STATE_NORMAL])); -- cgit v1.2.1