[gnome-shell/wip/paging-release: 34/38] Clean up setViewForPageSize



commit fbfc001c0ebc6fcdeabd8c007f87a8653149a7c5
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 e9b6add..588e391 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -199,10 +199,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);
     },
@@ -374,7 +370,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 930c181..d167c2e 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]