summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-12 15:31:56 +0000
committerDana Jansens <danakj@orodu.net>2003-07-12 15:31:56 +0000
commit5fce782499aa821c3a25bfdbf475066c2c21a7ed (patch)
tree4aefeefd3ff5074ed953b16273a49f5dd17f144e
parent4c1641bfc704f17df6e0acb8bdeb20e877b377ad (diff)
useless code move
-rw-r--r--render/theme.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/render/theme.c b/render/theme.c
index 877d2f12..29f0663c 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -165,6 +165,14 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
&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))
theme->titlebut_disabled_focused_color =
@@ -174,14 +182,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
&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);
if (!read_color(db, inst,