useless code move

This commit is contained in:
Dana Jansens 2003-07-12 15:31:56 +00:00
parent 4c1641bfc7
commit 5fce782499

View file

@ -164,6 +164,14 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
"window.label.unfocus.textColor",
&theme->title_unfocused_color))
theme->title_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff);
if (!read_color(db, inst,
"window.button.focus.picColor",
&theme->titlebut_focused_color))
theme->titlebut_focused_color = RrColorNew(inst, 0, 0, 0);
if (!read_color(db, inst,
"window.button.unfocus.picColor",
&theme->titlebut_unfocused_color))
theme->titlebut_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff);
if (!read_color(db, inst,
"window.button.disabled.focus.picColor",
&theme->titlebut_disabled_focused_color))
@ -173,14 +181,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
"window.button.disabled.unfocus.picColor",
&theme->titlebut_disabled_unfocused_color))
theme->titlebut_disabled_unfocused_color = RrColorNew(inst, 0, 0, 0);
if (!read_color(db, inst,
"window.button.focus.picColor",
&theme->titlebut_focused_color))
theme->titlebut_focused_color = RrColorNew(inst, 0, 0, 0);
if (!read_color(db, inst,
"window.button.unfocus.picColor",
&theme->titlebut_unfocused_color))
theme->titlebut_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff);
if (!read_color(db, inst,
"menu.title.textColor", &theme->menu_title_color))
theme->menu_title_color = RrColorNew(inst, 0, 0, 0);