summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2005-07-14 20:41:24 +0000
committerMikael Magnusson <mikachu@comhem.se>2005-07-14 20:41:24 +0000
commitb10b0000db35990d37a06985f3c5ec1dc0039c3b (patch)
tree24e2a71a874cfc38cc03e36f78614ab845f5f4a0 /render
parent1cfb65bc401ee8f44103a1a74404d191106a7535 (diff)
revert the pressed toggled thing for a while
Diffstat (limited to 'render')
-rw-r--r--render/theme.c14
-rw-r--r--render/theme.h2
2 files changed, 1 insertions, 15 deletions
diff --git a/render/theme.c b/render/theme.c
index ffd37c02..3b44b525 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -591,8 +591,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
RrAppearanceCopy(theme->a_hover_unfocused_max);
theme->a_toggled_focused_desk =
RrAppearanceCopy(theme->a_toggled_focused_max);
- theme->a_toggled_focused_pressed_desk =
- RrAppearanceCopy(theme->a_focused_pressed_max);
theme->a_toggled_unfocused_desk =
RrAppearanceCopy(theme->a_toggled_unfocused_max);
theme->a_unfocused_unpressed_desk =
@@ -613,8 +611,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
RrAppearanceCopy(theme->a_hover_unfocused_max);
theme->a_toggled_focused_shade =
RrAppearanceCopy(theme->a_toggled_focused_max);
- theme->a_toggled_focused_pressed_shade =
- RrAppearanceCopy(theme->a_focused_pressed_max);
theme->a_toggled_unfocused_shade =
RrAppearanceCopy(theme->a_toggled_unfocused_max);
theme->a_unfocused_unpressed_shade =
@@ -722,7 +718,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->a_hover_focused_desk->texture[0].type =
theme->a_hover_unfocused_desk->texture[0].type =
theme->a_toggled_focused_desk->texture[0].type =
- theme->a_toggled_focused_pressed_desk->texture[0].type =
theme->a_toggled_unfocused_desk->texture[0].type =
theme->a_focused_unpressed_desk->texture[0].type =
theme->a_focused_pressed_desk->texture[0].type =
@@ -733,7 +728,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->a_hover_focused_shade->texture[0].type =
theme->a_hover_unfocused_shade->texture[0].type =
theme->a_toggled_focused_shade->texture[0].type =
- theme->a_toggled_focused_pressed_shade->texture[0].type =
theme->a_toggled_unfocused_shade->texture[0].type =
theme->a_focused_unpressed_shade->texture[0].type =
theme->a_focused_pressed_shade->texture[0].type =
@@ -790,7 +784,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->a_unfocused_unpressed_desk->texture[0].data.mask.mask =
theme->desk_mask;
theme->a_toggled_focused_desk->texture[0].data.mask.mask =
- theme->a_toggled_focused_pressed_desk->texture[0].data.mask.mask =
theme->a_toggled_unfocused_desk->texture[0].data.mask.mask =
theme->desk_toggled_mask;
theme->a_disabled_focused_shade->texture[0].data.mask.mask =
@@ -806,7 +799,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->a_unfocused_unpressed_shade->texture[0].data.mask.mask =
theme->shade_mask;
theme->a_toggled_focused_shade->texture[0].data.mask.mask =
- theme->a_toggled_focused_pressed_shade->texture[0].data.mask.mask =
theme->a_toggled_unfocused_shade->texture[0].data.mask.mask =
theme->shade_toggled_mask;
theme->a_disabled_focused_iconify->texture[0].data.mask.mask =
@@ -865,9 +857,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->a_focused_pressed_max->texture[0].data.mask.color =
theme->a_focused_pressed_close->texture[0].data.mask.color =
theme->a_focused_pressed_desk->texture[0].data.mask.color =
- theme->a_toggled_focused_pressed_desk->texture[0].data.mask.color =
theme->a_focused_pressed_shade->texture[0].data.mask.color =
- theme->a_toggled_focused_pressed_shade->texture[0].data.mask.color =
theme->a_focused_pressed_iconify->texture[0].data.mask.color =
theme->titlebut_focused_pressed_color;
theme->a_unfocused_unpressed_max->texture[0].data.mask.color =
@@ -924,7 +914,7 @@ void RrThemeFree(RrTheme *theme)
if (theme) {
g_free(theme->path);
g_free(theme->name);
-
+
RrColorFree(theme->b_color);
RrColorFree(theme->cb_unfocused_color);
RrColorFree(theme->cb_focused_color);
@@ -1000,7 +990,6 @@ void RrThemeFree(RrTheme *theme)
RrAppearanceFree(theme->a_hover_focused_desk);
RrAppearanceFree(theme->a_hover_unfocused_desk);
RrAppearanceFree(theme->a_toggled_focused_desk);
- RrAppearanceFree(theme->a_toggled_focused_pressed_desk);
RrAppearanceFree(theme->a_toggled_unfocused_desk);
RrAppearanceFree(theme->a_focused_unpressed_desk);
RrAppearanceFree(theme->a_focused_pressed_desk);
@@ -1011,7 +1000,6 @@ void RrThemeFree(RrTheme *theme)
RrAppearanceFree(theme->a_hover_focused_shade);
RrAppearanceFree(theme->a_hover_unfocused_shade);
RrAppearanceFree(theme->a_toggled_focused_shade);
- RrAppearanceFree(theme->a_toggled_focused_pressed_shade);
RrAppearanceFree(theme->a_toggled_unfocused_shade);
RrAppearanceFree(theme->a_focused_unpressed_shade);
RrAppearanceFree(theme->a_focused_pressed_shade);
diff --git a/render/theme.h b/render/theme.h
index 41f83e2c..f61944b7 100644
--- a/render/theme.h
+++ b/render/theme.h
@@ -131,7 +131,6 @@ struct _RrTheme {
RrAppearance *a_hover_focused_desk;
RrAppearance *a_hover_unfocused_desk;
RrAppearance *a_toggled_focused_desk;
- RrAppearance *a_toggled_focused_pressed_desk;
RrAppearance *a_toggled_unfocused_desk;
RrAppearance *a_focused_unpressed_desk;
RrAppearance *a_focused_pressed_desk;
@@ -142,7 +141,6 @@ struct _RrTheme {
RrAppearance *a_hover_focused_shade;
RrAppearance *a_hover_unfocused_shade;
RrAppearance *a_toggled_focused_shade;
- RrAppearance *a_toggled_focused_pressed_shade;
RrAppearance *a_toggled_unfocused_shade;
RrAppearance *a_focused_unpressed_shade;
RrAppearance *a_focused_pressed_shade;