[gnome-shell/wip/paging-release: 41/85] fixed spacing undeclared



commit 9dfec8cb5eb26c9f61ca74d9ada1dc1727c8de55
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 ea1f321..2327750 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]