summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index f2568fa4..94a0ac86 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -9434,7 +9434,8 @@ setup_label_gcs (CajaIconContainer *container)
}
else
{
- if (container->details->use_drop_shadows || eel_background_is_dark (background))
+ if (container->details->use_drop_shadows ||
+ (eel_background_is_dark (background) && eel_background_is_set(background)))
{
setup_gc_with_fg (container, LABEL_COLOR, 0xEFEFEF);
setup_gc_with_fg (container,