[gnome-shell/eos3.8: 92/255] appDisplay: Don't get the grid to the first page on hide
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/eos3.8: 92/255] appDisplay: Don't get the grid to the first page on hide
- Date: Wed, 10 Jun 2020 19:05:42 +0000 (UTC)
commit 701cbb1c8fab8a103e2ce89874f138581cab6176
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 | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 96203eaea2..d3a8346847 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -402,8 +402,6 @@ class AppDisplay extends BaseAppView {
this._lastOvershootY = -1;
this._lastOvershootTimeoutId = 0;
- Main.overview.connect('hidden', () => this.goToPage(0));
-
this._redisplayWorkId = Main.initializeDeferredWork(this, this._redisplay.bind(this));
Shell.AppSystem.get_default().connect('installed-changed', () => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]