[gnome-shell/wip/swarm: 11/12] appDisplay: reset page to 0 when animating out
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/swarm: 11/12] appDisplay: reset page to 0 when animating out
- Date: Tue, 17 Jun 2014 21:00:59 +0000 (UTC)
commit 96bab77632cddc3ff2d13d04c3994d5b34b286e2
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Tue Jun 17 22:59:19 2014 +0200
appDisplay: reset page to 0 when animating out
js/ui/appDisplay.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 288b03b..de0b34b 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -502,6 +502,9 @@ const AllView = new Lang.Class({
this._grid.disconnect(animationDoneId);
if (onCompleteOut)
onCompleteOut();
+ // Reset to the default, so when we open again AllView it
+ // opens in the page 0.
+ this._currentPage = 0;
}));
if (this._displayingPopup && this._currentPopup) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]