summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-28 03:51:27 +0000
committerDana Jansens <danakj@orodu.net>2007-03-28 03:51:27 +0000
commitbd272698508dd511266bc6a38d2f04b4b6e3d788 (patch)
tree1e3cfae454180569b2ffe8c0de1004b75befe0ac /render/theme.c
parent5fb30e4488f8d979967d52fa5cfb7bec6ff1d5f4 (diff)
more updates for toggled states. also updating the theme files.
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/render/theme.c b/render/theme.c
index 933114e0..695b7e07 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -304,17 +304,17 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
&theme->titlebut_toggled_hover_focused_color, NULL))
theme->titlebut_toggled_hover_focused_color =
RrColorNew(inst,
- theme->titlebut_focused_unpressed_color->r,
- theme->titlebut_focused_unpressed_color->g,
- theme->titlebut_focused_unpressed_color->b);
+ theme->titlebut_toggled_focused_unpressed_color->r,
+ theme->titlebut_toggled_focused_unpressed_color->g,
+ theme->titlebut_toggled_focused_unpressed_color->b);
if (!FIND(color,
L("window","inactive","buttons","toggled-hover","image"),
&theme->titlebut_toggled_hover_unfocused_color, NULL))
theme->titlebut_toggled_hover_unfocused_color =
RrColorNew(inst,
- theme->titlebut_unfocused_unpressed_color->r,
- theme->titlebut_unfocused_unpressed_color->g,
- theme->titlebut_unfocused_unpressed_color->b);
+ theme->titlebut_toggled_unfocused_unpressed_color->r,
+ theme->titlebut_toggled_unfocused_unpressed_color->g,
+ theme->titlebut_toggled_unfocused_unpressed_color->b);
if (!FIND(color, L("menu","title","text","primary"),
&theme->menu_title_color, NULL))
theme->menu_title_color = RrColorNew(inst, 0, 0, 0);
@@ -650,14 +650,14 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
{
RrAppearanceFree(theme->a_toggled_hover_focused_max);
theme->a_toggled_hover_focused_max =
- RrAppearanceCopy(theme->a_focused_unpressed_max);
+ RrAppearanceCopy(theme->a_toggled_focused_unpressed_max);
}
if (!FIND(appearance, L("window","inactive","buttons","toggled-hover"),
theme->a_toggled_hover_unfocused_max, TRUE))
{
RrAppearanceFree(theme->a_toggled_hover_unfocused_max);
theme->a_toggled_hover_unfocused_max =
- RrAppearanceCopy(theme->a_unfocused_unpressed_max);
+ RrAppearanceCopy(theme->a_toggled_unfocused_unpressed_max);
}
theme->a_disabled_focused_close =