[gnome-disk-utility/gnome-3-4] Make volume grid look right (grey, not blue) when selected and unfocused
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/gnome-3-4] Make volume grid look right (grey, not blue) when selected and unfocused
- Date: Sat, 23 Jun 2012 21:58:26 +0000 (UTC)
commit fb9a9bd97282f333615b2bd76bc315cb85999b37
Author: David Zeuthen <zeuthen gmail com>
Date: Sat Jun 23 17:55:24 2012 -0400
Make volume grid look right (grey, not blue) when selected and unfocused
Thanks to Cosimo Cecchi for the help with this.
Signed-off-by: David Zeuthen <zeuthen gmail com>
src/palimpsest/gduwindow.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/palimpsest/gduwindow.c b/src/palimpsest/gduwindow.c
index 607e9d6..7ac85d7 100644
--- a/src/palimpsest/gduwindow.c
+++ b/src/palimpsest/gduwindow.c
@@ -804,6 +804,15 @@ init_css (GduWindow *window)
" to(shade (@theme_selected_bg_color, 0.80)));\n"
" -adwaita-focus-border-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);\n"
"}\n"
+"\n"
+".gnome-disk-utility-grid:selected:backdrop {\n"
+" background-image: -gtk-gradient(radial,\n"
+" center center, 0,\n"
+" center center, 1,\n"
+" from(@theme_unfocused_selected_bg_color),\n"
+" to(shade (@theme_unfocused_selected_bg_color, 0.80)));\n"
+" -adwaita-focus-border-color: mix(@theme_unfocused_selected_fg_color, @theme_unfocused_selected_bg_color, 0.30);\n"
+"}\n"
;
provider = gtk_css_provider_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]