[gnome-shell/wip/paging-release2: 4/9] AllView: Start always at page 0
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release2: 4/9] AllView: Start always at page 0
- Date: Mon, 19 Aug 2013 20:46:43 +0000 (UTC)
commit e3c56f295445ff20f327c3d09f3fd7ea61c91406
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Mon Aug 19 14:02:02 2013 +0200
AllView: Start always at page 0
js/ui/appDisplay.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 61277da..0f9da9d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -337,6 +337,8 @@ const AllView = new Lang.Class({
// we have to tell pagination that the adjustment is not correct (since the allocated size of
pagination changed)
// For that problem we return to the first page of pagination.
this.invalidatePagination = false;
+ // Always start at page 0 when we enter and quit overview
+ Main.overview.connect('hidden', Lang.bind(this, function() {this.goToPage(0, true);}));
},
_updatedNPages: function(iconGrid, nPages) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]