[gnome-shell/wip/paging-release2: 17/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: 17/22] appDisplay: Start always at page 0 in AllView
- Date: Sat, 31 Aug 2013 23:40:30 +0000 (UTC)
commit e99181a892ccbe8117938624c32f38af0f2c6c3f
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 | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 44cf0b1..f641fd8 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -295,6 +295,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() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]