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
This commit is contained in:
Carlos Soriano 2013-08-19 14:02:02 +02:00
parent 6ef775390f
commit 74978e84f8

View File

@ -325,6 +325,11 @@ const AllView = new Lang.Class({
this._availWidth = 0;
this._availHeight = 0;
Main.overview.connect('hidden', Lang.bind(this,
function() {
this.goToPage(0);
}));
},
getCurrentPageY: function() {