[gnome-shell/T27795: 118/138] appDisplay: Don't get the grid to the first page on hide
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/T27795: 118/138] appDisplay: Don't get the grid to the first page on hide
- Date: Tue, 1 Oct 2019 23:39:15 +0000 (UTC)
commit b7af7a23564ba642311f6856bc51ef92913c835f
Author: Mario Sanchez Prada <mario endlessm com>
Date: Thu Sep 14 21:27:42 2017 +0100
appDisplay: Don't get the grid to the first page on hide
It's very confusing when the user switches between the windows view and
the grid and the latter always moves to the first page, no matter which
had it was on before.
This is being deliberately done in the code from upstream because in the
case of the upstream shell the user toggles the apps view more directly
than in EOS, and thus it makes sense to reset the view to show the first
page there. So this patch just removes the mentioned code.
https://phabricator.endlessm.com/T17979
js/ui/appDisplay.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index b9a804b638..b418aee52d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -408,7 +408,6 @@ var AllView = class AllView extends BaseAppView {
this._availWidth = 0;
this._availHeight = 0;
- Main.overview.connect('hidden', () => this.goToPage(0));
this._grid.connect('space-opened', () => {
let fadeEffect = this._scrollView.get_effect('fade');
if (fadeEffect)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]