[gnome-shell/wip/paging-release2: 18/22] appDisplay: Start always at page 0 in AllView
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release2: 18/22] appDisplay: Start always at page 0 in AllView
- Date: Tue, 27 Aug 2013 17:31:15 +0000 (UTC)
commit 4eee78da095e851a221f2f41a4a3b4c240b15239
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 0fbaea6..e4c3250 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -318,6 +318,7 @@ const AllView = new Lang.Class({
this._paginationInvalidated = false;
this.actor.connect('notify::mapped', Lang.bind(this, this._animateIndicators));
+ Main.overview.connect('hidden', Lang.bind(this, function() {this.goToPage(0, true);}));
},
_onNPagesChanged: function(iconGrid, nPages) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]