summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorbl0ckeduser <[email protected]>2016-01-05 20:57:49 -0500
committerWolfgang Ulbrich <[email protected]>2016-01-06 14:07:31 +0100
commit61800829da41036da5719b0e39e6f015cbd75f9a (patch)
tree22de6431a03571d3bd896d33f05734588fcb6ae3 /libcaja-private
parent660f0f52647616d9e3a146e484afb8a31b74d03d (diff)
downloadcaja-61800829da41036da5719b0e39e6f015cbd75f9a.tar.bz2
caja-61800829da41036da5719b0e39e6f015cbd75f9a.tar.xz
Fix fontcolor in icon view with some light themes
fixes #438
Diffstat (limited to 'libcaja-private')
-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,