[gnome-shell/wip/paging-release: 49/93] fixed spacing undeclared



commit 37c57601ae2d714dac2861df6255f45520b90074
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Fri Jul 12 19:49:37 2013 +0200

    fixed spacing undeclared

 js/ui/appDisplay.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 8142823..fb01b16 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -318,7 +318,7 @@ const AppPages = new Lang.Class({
     
     onUpdatedDisplaySize: function(width, height) {
         // Update grid dinamyc spacing based on display width
-        spacing = this._grid.maxSpacingForWidthHeight(width, height, MIN_COLUMNS, MIN_ROWS, true);
+        let spacing = this._grid.maxSpacingForWidthHeight(width, height, MIN_COLUMNS, MIN_ROWS, true);
         this._grid.top_padding = spacing;
         this._grid.bottom_padding = spacing;
         this._grid.left_padding = spacing;
@@ -738,7 +738,7 @@ const FrequentView = new Lang.Class({
     
     onUpdatedDisplaySize: function(width, height) {
         //FIXME
-        spacing = this._grid.maxSpacingForWidthHeight(width, height, MIN_COLUMNS, MIN_ROWS, true);
+        let spacing = this._grid.maxSpacingForWidthHeight(width, height, MIN_COLUMNS, MIN_ROWS, true);
         this._grid.top_padding = spacing;
         this._grid.bottom_padding = spacing;
         this._grid.left_padding = spacing;


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