[gnome-weather] city: use OSD style for revealer button



commit 342c4e75ddb3db8615e75368dc3879609c852078
Author: William Jon McCann <william jon mccann gmail com>
Date:   Wed Mar 6 15:36:57 2013 -0500

    city: use OSD style for revealer button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695313

 src/city.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/city.js b/src/city.js
index 26f7a65..28847ba 100644
--- a/src/city.js
+++ b/src/city.js
@@ -72,6 +72,9 @@ const WeatherWidget = new Lang.Class({
         this._revealButton = new Gd.HeaderSimpleButton({ symbolic_icon_name: 'go-previous-symbolic',
                                                          halign: Gtk.Align.CENTER,
                                                          valign: Gtk.Align.CENTER });
+        let context = this._revealButton.get_style_context();
+        context.add_class('osd');
+
         outerGrid.attach(this._revealButton, 1, 0, 1, 2);
 
         this._today = new Forecast.TodaySidebar({ vexpand: true,


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