[gnome-boxes] sidebar: Use theme color instead of image



commit 7b682ccc9c743375090d1bc149902ae248189414
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date:   Mon Aug 18 13:25:52 2014 +0200

    sidebar: Use theme color instead of image
    
    This is a minor visual change while it allows Boxes to adapt to theme
    changes and especially makes themes like the high contrast accessibility
    theme work.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731952

 data/gnome-boxes.gresource.xml |    1 -
 data/gtk-style.css             |    5 ++---
 data/icons/boxes-gray.png      |  Bin 7960 -> 0 bytes
 3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/data/gnome-boxes.gresource.xml b/data/gnome-boxes.gresource.xml
index d190d57..14ae7ea 100644
--- a/data/gnome-boxes.gresource.xml
+++ b/data/gnome-boxes.gresource.xml
@@ -4,7 +4,6 @@
     <file>gtk-style.css</file>
     <file>icons/boxes-arrow.svg</file>
     <file>icons/boxes-create.png</file>
-    <file>icons/boxes-gray.png</file>
     <file preprocess="xml-stripblanks">ui/app-window.ui</file>
     <file preprocess="xml-stripblanks">ui/auth-notification.ui</file>
     <file preprocess="xml-stripblanks">ui/collection-toolbar.ui</file>
diff --git a/data/gtk-style.css b/data/gtk-style.css
index fc084d6..8a3d895 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -19,11 +19,10 @@ BoxesMiniGraph {
 }
 
 .sidebar {
-    background-image: url("icons/boxes-gray.png");
-    border-image-repeat: stretch;
+    background-color: @theme_bg_color;
     border-style: solid;
     border-width: 0 2px 0 0;
-    border-color: #111111;
+    border-color: @borders;
 }
 
 .sidebar GtkTreeView:selected {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]