Make the inactive osd text color fall back to the old osd property, and lastly inheri...
authorDana Jansens <danakj@orodu.net>
Mon, 8 Aug 2011 19:42:48 +0000 (15:42 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 8 Aug 2011 20:39:11 +0000 (16:39 -0400)
obrender/theme.c

index 5f140657b6c3564f66df6c59ab1b6156bea8fb97..f245a882c0b2a82574dcb9ad02a0ef547b31cc6d 100644 (file)
@@ -310,8 +310,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,