[gnome-shell/wip/paging-release: 25/39] Fixed bad calculation of empty rows, causing moving the current row with the fodler icon when it can
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release: 25/39] Fixed bad calculation of empty rows, causing moving the current row with the fodler icon when it can
- Date: Tue, 13 Aug 2013 21:11:26 +0000 (UTC)
commit 4a5b809eb58e8e70efbc01768cfe66e8135d690b
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Wed Jul 24 18:47:45 2013 +0200
Fixed bad calculation of empty rows, causing moving the current row with
the fodler icon when it can stay inn the position
js/ui/appDisplay.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 5709b0a..d91c783 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -239,7 +239,7 @@ const AppPages = new Lang.Class({
}
}
//The last page can have space without rows
- let emptyRows = folderNVisibleRowsAtOnce + 1 - rows.length ;
+ let emptyRows = this._grid._rowsPerPage - rows.length ;
let panViewUpNRows = 0;
let panViewDownNRows = 0;
if(side == St.Side.BOTTOM) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]