summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbl0ckeduser <[email protected]>2016-01-05 20:57:49 -0500
committermonsta <[email protected]>2016-01-11 14:27:58 +0300
commitb43837f1da18443ba8e22a3f96c7ea5bdcbcfb95 (patch)
treeaaf008a443980c4050d1dc9e29e6e216d8abd2be
parent16328f9cb4a304f43f971fb72400ed409a3b39ee (diff)
downloadcaja-b43837f1da18443ba8e22a3f96c7ea5bdcbcfb95.tar.bz2
caja-b43837f1da18443ba8e22a3f96c7ea5bdcbcfb95.tar.xz
Fix fontcolor in icon view with some light themes
fixes #438
-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,