[gnome-weather] Make weather sidebar thinner



commit 8cce3b59ff9ae9d30ba3fdfce2c2b90e44981468
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sun Aug 20 17:22:28 2017 +0200

    Make weather sidebar thinner
    
    Thin enough that side tiling works on a (logical) 1440x900 monitor.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725407

 src/app/weeklyForecast.js |    2 +-
 src/app/window.js         |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/app/weeklyForecast.js b/src/app/weeklyForecast.js
index a03f43c..1c7709e 100644
--- a/src/app/weeklyForecast.js
+++ b/src/app/weeklyForecast.js
@@ -31,7 +31,7 @@ var WeeklyForecastFrame = new Lang.Class({
     _init: function(params) {
         params = Params.fill(params, { shadow_type: Gtk.ShadowType.NONE,
                                        name: 'weekly-forecast-frame',
-                                       width_request: 220 });
+                                       width_request: 150 });
         this.parent(params);
         this.get_accessible().accessible_name = _("Weekly Forecast");
 
diff --git a/src/app/window.js b/src/app/window.js
index 877eed0..d4c8739 100644
--- a/src/app/window.js
+++ b/src/app/window.js
@@ -37,8 +37,6 @@ var MainWindow = new Lang.Class({
     Extends: Gtk.ApplicationWindow,
 
     _init: function(params) {
-        params = Params.fill(params, { width_request: 700,
-                                       height_request: 520 });
         this.parent(params);
 
         this._world = this.application.world;


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