summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-07-14 01:48:46 +0200
committerGravatar Nikias Bassen2010-07-14 01:48:46 +0200
commit63e4982a338315415b9632123479c0824e0b0545 (patch)
treef63ea6ad024722c7d861c455269baa32eea12f30 /src
parent7fc3c585a56af8ea8bb06133646b7f10ad3eb1e0 (diff)
downloadsbmanager-63e4982a338315415b9632123479c0824e0b0545.tar.gz
sbmanager-63e4982a338315415b9632123479c0824e0b0545.tar.bz2
Adjust label transparency if a wallpaper is used
Diffstat (limited to 'src')
-rw-r--r--src/gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 3278c3d..6feadfc 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -143,6 +143,7 @@ static void pages_free()
if (wallpaper) {
clutter_actor_destroy(wallpaper);
wallpaper = NULL;
+ item_text_color.alpha = 210;
}
}
@@ -1260,6 +1261,7 @@ static void gui_set_wallpaper(const char *wp)
clutter_group_add(CLUTTER_GROUP(stage), actor);
clutter_actor_lower_bottom(actor);
wallpaper = actor;
+ item_text_color.alpha = 255;
}
#endif