useless code move
This commit is contained in:
parent
4c1641bfc7
commit
5fce782499
1 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue