[gnome-shell/wip/paging-release2: 19/23] appDisplay: Start always at page 0 in AllView



commit c45555e235e8b2274b9bd3aa2be3abb72ededbf9
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Mon Aug 19 14:02:02 2013 +0200

    appDisplay: Start always at page 0 in AllView
    
    Reset the AllView scroll adjustment between overview openings,
    following design reasons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706081

 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 a757e8f..0b68719 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -315,6 +315,7 @@ const AllView = new Lang.Class({
         this._availHeight = 0;
 
         this.actor.connect('notify::mapped', Lang.bind(this, this._animateIndicators));
+        Main.overview.connect('hidden', Lang.bind(this, function() {this.goToPage(0, true, true);}));
     },
 
     _animateIndicators: function() {


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