Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix fg-color of dark themes
fixes #81
  • Loading branch information
Wolfgang Ulbrich committed Jan 18, 2016
1 parent 15949ec commit cc9f32a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libcaja-private/caja-icon-container.c
Expand Up @@ -9424,7 +9424,7 @@ setup_label_gcs (CajaIconContainer *container)
"frame_text", &frame_text,
NULL);

if (frame_text /* || !eel_background_is_set(background) */)
if (frame_text || !caja_icon_container_get_is_desktop (container))
{
setup_gc_with_fg (container, LABEL_COLOR,
eel_gdk_color_to_rgb (&style->text[GTK_STATE_NORMAL]));
Expand All @@ -9434,8 +9434,7 @@ setup_label_gcs (CajaIconContainer *container)
}
else
{
if (container->details->use_drop_shadows ||
(eel_background_is_dark (background) && eel_background_is_set(background)))
if (container->details->use_drop_shadows || eel_background_is_dark (background))
{
setup_gc_with_fg (container, LABEL_COLOR, 0xEFEFEF);
setup_gc_with_fg (container,
Expand Down

0 comments on commit cc9f32a

Please sign in to comment.