[gnome-shell/wip/paging] Fixed empty space typo
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging] Fixed empty space typo
- Date: Sat, 3 Aug 2013 09:32:05 +0000 (UTC)
commit 84f41f08f92ddc442983f8105eb6a6c2c3a599d5
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Sat Aug 3 10:47:46 2013 +0200
Fixed empty space typo
js/ui/appDisplay.js | 13 ++++++-------
js/ui/iconGrid.js | 6 ++----
2 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 54be9b2..4e361f5 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -71,12 +71,12 @@ const AlphabeticalView = new Lang.Class({
Abstract: true,
_init: function(gridParams) {
- gridParams = Params.parse(gridParams, {xAlign: St.Align.MIDDLE,
- columnLimit: MAX_COLUMNS,
- minRows: MIN_ROWS,
- minColumns: MIN_COLUMNS,
- usePagination: false,
- useSurroundingSpacing: false});
+ gridParams = Params.parse(gridParams, { xAlign: St.Align.MIDDLE,
+ columnLimit: MAX_COLUMNS,
+ minRows: MIN_ROWS,
+ minColumns: MIN_COLUMNS,
+ usePagination: false,
+ useSurroundingSpacing: false });
this._grid = new IconGrid.IconGrid(gridParams);
// Standard hack for ClutterBinLayout
@@ -138,7 +138,6 @@ const AppPages = new Lang.Class({
this.actor = this._grid.actor;
this._parent = parent;
this._folderIcons = [];
- this.doingTransitions = false;
this._popupExpansionNeeded = true;
},
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index 341544e..ec47267 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -356,7 +356,7 @@ const IconGrid = new Lang.Class({
}
}
}
- x = box.x1 + leftPadding + this.left_padding;
+ x = box.x1 + leftEmptySpace + this.left_padding;
} else {
x += this.getHItemSize() + spacing;
}
@@ -388,9 +388,7 @@ const IconGrid = new Lang.Class({
this._spaceBetweenPages = availHeightPerPage - (this._rowsPerPage * (this.getVItemSize() + spacing)
- spacing);
this._spaceBetweenPagesTotal = this._spaceBetweenPages * (this._nPages);
this._childrenPerPage = nColumns * this._rowsPerPage;
-
- global.log("nPages " + this._nPages);
- global.log("availHeightPerPage, availWidthPerPage")
+
// Take into account when the number of pages changed (then the height of the entire grid changed
for sure)
// and also when the spacing is changed, sure the hegiht per page changed and the entire grid height
changes, althougt
// maybe the number of pages doesn't change
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]