[gnome-shell/wip/paging-release2: 12/16] FolderView: Start always at scroll 0



commit a47c38188f3ed9971b96bede3681e789431e3745
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Mon Aug 19 17:01:45 2013 +0200

    FolderView: Start always at scroll 0
    
    Reset the scroll adjustment between popups opennings,
    following the same design we want to the AllView

 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 db728af..3d13db9 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1009,6 +1009,7 @@ const FolderIcon = new Lang.Class({
             function() {
                 this._ensurePopup();
                 this._popup.toggle();
+                this.view.actor.vscroll.adjustment.value = 0;
             }));
         this.actor.connect('notify::mapped', Lang.bind(this,
             function() {


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