summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2011-08-08 15:42:48 -0400
committerDana Jansens <danakj@orodu.net>2012-09-30 14:58:11 -0400
commit9415459aea725f6a1dd4f91526e7a95090de0130 (patch)
treee2f963c46e17021ce8ef5d8a41aaef36c1f7d82c
parentd58ed5c413e052e7ff58aa1ea15b475e9c335e07 (diff)
Make the inactive osd text color fall back to the old osd property, and lastly inherit from the unfocused window color.
-rw-r--r--obrender/theme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/obrender/theme.c b/obrender/theme.c
index b20182ad..634fc510 100644
--- a/obrender/theme.c
+++ b/obrender/theme.c
@@ -324,8 +324,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
"osd.label.text.color",
theme->osd_text_active_color, RrColorCopy(theme->title_focused_color));
- READ_COLOR("osd.inactive.label.text.color", theme->osd_text_inactive_color,
- RrColorNew(inst, 0xff, 0xff, 0xff));
+ READ_COLOR_("osd.inactive.label.text.color",
+ "osd.label.text.color",
+ theme->osd_text_inactive_color, RrColorCopy(theme->title_unfocused_color));
READ_COLOR("window.active.button.unpressed.image.color",
theme->titlebut_focused_unpressed_color,