[gnome-shell/wip/paging] fixed some thigns about testing
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging] fixed some thigns about testing
- Date: Fri, 12 Jul 2013 10:49:01 +0000 (UTC)
commit 27e2245cdd9246f0e3570762cd3ca3285113d64b
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Fri Jul 12 12:44:20 2013 +0200
fixed some thigns about testing
js/ui/appDisplay.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index b2f7b73..f073b56 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1132,8 +1132,9 @@ const FolderView = new Lang.Class({
if (!id)
continue;
//FIXME
+ //this._grid.addItem(this._items[id + 1].actor);
this._grid.addItem(this._items[id].actor);
- this._grid.addItem(this._items[id + 1].actor);
+
}
},
@@ -1141,6 +1142,7 @@ const FolderView = new Lang.Class({
this._appDisplayWidth = width;
this._appDisplayHeight = height;
// Update grid dinamyc spacing based on display width
+ //FIXME
let spacing = this._grid.maxSpacingForWidthHeight(width, 872, MIN_COLUMNS, MIN_ROWS, true);
this._grid.setSpacing(spacing);
global.log("ON UPDATE");
@@ -1155,10 +1157,11 @@ const FolderView = new Lang.Class({
this._grid.left_padding = spacing;
this._grid.right_padding = spacing;
let boxPointerTotalOffset;
+ /*
if(this.nRowsDisplayedAtOnce() == this.maxRowsDisplayedAtOnce())
boxPointerTotalOffset = this._boxPointerOffsets['arrowHeight'] +
this._boxPointerOffsets['padding'] * 2 + this._boxPointerOffsets['closeButtonOverlap'];
else
- boxPointerTotalOffset = this._boxPointerOffsets['arrowHeight'] +
this._boxPointerOffsets['padding'] * 2;
+ boxPointerTotalOffset = this._boxPointerOffsets['arrowHeight'] +
this._boxPointerOffsets['padding'] * 2;*/
//FIXME
boxPointerTotalOffset = this._boxPointerOffsets['arrowHeight'] + this._boxPointerOffsets['padding']
* 2 + this._boxPointerOffsets['closeButtonOverlap'];
let offsetForEachSide = Math.ceil(boxPointerTotalOffset / 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]