[gnome-shell/wip/swarm: 4/13] AppDisplay: Reset to page 0 on animateOut
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/swarm: 4/13] AppDisplay: Reset to page 0 on animateOut
- Date: Tue, 12 Aug 2014 15:25:12 +0000 (UTC)
commit 73931409604c0c6c029edac45762ed53d487ea66
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Thu Jun 26 21:28:29 2014 +0200
AppDisplay: Reset to page 0 on animateOut
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 615f37f..4f88278 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -494,6 +494,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]