[gnome-shell/wip/paging] fixed spacing undeclared



commit 7da31c0e04807c0b7107651746f6a0d0b23a37dd
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 f7c4c16..cd83257 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]