[gnome-shell/wip/paging-release: 87/90] Clean up setViewForPageSize
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release: 87/90] Clean up setViewForPageSize
- Date: Mon, 12 Aug 2013 17:10:31 +0000 (UTC)
commit af065aec281fc9f4f22f1d698efa2fc3dd35d5b8
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Sat Aug 3 10:49:19 2013 +0200
Clean up setViewForPageSize
js/ui/appDisplay.js | 5 -----
js/ui/iconGrid.js | 3 ---
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 2b1c238..c91ac27 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -200,10 +200,6 @@ const AppPages = new Lang.Class({
return this._grid.getPagePosition(pageNumber);
},
- setViewForPageSize: function(view) {
- this._grid._viewForPageSize= view;
- },
-
addFolderPopup: function(popup) {
this._parent.addFolderPopup(popup);
},
@@ -375,7 +371,6 @@ const PaginationScrollView = new Lang.Class({
this._stack = new St.Widget({layout_manager: new Clutter.BinLayout()});
this._box = new St.BoxLayout({vertical: true});
this._pages = new AppPages(this);
- this._pages.setViewForPageSize(this);
this._stack.add_actor(this._pages.actor);
this._eventBlocker = new St.Widget({ x_expand: true, y_expand: true });
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index 1b7f376..df3cdb8 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -209,9 +209,6 @@ const IconGrid = new Lang.Class({
if(this._usePagination) {
this._nPages = 0;
- // Set this variable properly pointing to the scrollView containing the grid
- // before allocate function is called
- this._viewForPageSize = null;
this._firstPagesItems = [];
}
this.actor = new St.BoxLayout({ style_class: 'icon-grid',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]