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



commit 41602664ee37b0b8931f357a28bb93cc0df8adff
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 c2e86a4..1d9d325 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]