[gnome-maps] Add maps-stack css class



commit df8cd2b7c9412041674161ae79b8a538ea0e456e
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Thu Aug 28 20:36:17 2014 +0200

    Add maps-stack css class
    
    Set the background color of the GtkStacks we use to the theme,
    background-color. This will make the spinners spin against the
    same background as the content they are waiting for.

 data/gnome-maps.css |    4 ++++
 src/search-popup.ui |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-maps.css b/data/gnome-maps.css
index b616387..ed8abbf 100644
--- a/data/gnome-maps.css
+++ b/data/gnome-maps.css
@@ -2,6 +2,10 @@
     padding: 5px;
 }
 
+.maps-stack {
+    background-color: @theme_bg_color;
+}
+
 .layer-radio-button {
     background-image: none;
     padding: 0px;
diff --git a/src/search-popup.ui b/src/search-popup.ui
index 0b4b1e5..d17de55 100644
--- a/src/search-popup.ui
+++ b/src/search-popup.ui
@@ -5,6 +5,9 @@
     <property name="visible">True</property>
     <property name="can_focus">False</property>
     <property name="transition-type">crossfade</property>
+    <style>
+      <class name="maps-stack"/>
+    </style>
     <child>
       <object class="GtkScrolledWindow" id="scrolled-window">
         <property name="visible">True</property>


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