[gnome-weather] city: override the backdrop color for the conditions content



commit 09c2cce1c68a98a5898fe0d3da6aea453d1e7a58
Author: William Jon McCann <william jon mccann gmail com>
Date:   Wed Mar 6 16:05:00 2013 -0500

    city: override the backdrop color for the conditions content
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695313

 data/application.css |    4 ++++
 src/city.js          |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index fc7010e..e4d7cad 100644
--- a/data/application.css
+++ b/data/application.css
@@ -23,6 +23,10 @@
     font-size: small;
 }
 
+#conditions-grid *:backdrop {
+    color: @theme_fg_color;
+}
+
 #conditions-image {
     padding: 12px;
 }
diff --git a/src/city.js b/src/city.js
index 481f6c6..467bc5f 100644
--- a/src/city.js
+++ b/src/city.js
@@ -44,7 +44,8 @@ const WeatherWidget = new Lang.Class({
                                        halign: Gtk.Align.CENTER,
                                        valign: Gtk.Align.CENTER });
 
-        let innerGrid = new Gtk.Grid({ column_spacing: 20,
+        let innerGrid = new Gtk.Grid({ name: 'conditions-grid',
+                                       column_spacing: 20,
                                        hexpand: false,
                                        vexpand: false });
         this._icon = new Gtk.Image({ pixel_size: 172,


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