[gnome-shell/wip/paging-release: 84/85] AppDisplay: goToPage: FIXME take into acocunt when overview is not allcoate for the first time



commit 7390241aac1fb6e597b69bf7ef637a42b7607e4f
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Mon Aug 12 15:01:47 2013 +0200

    AppDisplay: goToPage: FIXME take into acocunt when overview is not allcoate for the first time

 js/ui/appDisplay.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 4acb44a..b9ab0e1 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -759,6 +759,7 @@ const AllView = new Lang.Class({
         // Since we call this function also from shown signal of the overview, we can't assure the 
pagination is already calculated
         // so we first ask pagination if it has some page, if not, we return and that's it. (nevermind, 
because when creating for first time
         // pagination, that is when it can happens, paginations starts at page 0 already, so no problem here)
+        //FIXME we have to take into accoutn if overview isnot mapped at least once.
         if(!this._paginationView.nPages())
             return;
         // Since it can happens after a relayout, we have to ensure that all is unchecked


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]