[gnome-shell/gbsneto/random-cleanups-pt1: 2/4] viewSelector: Rename show to animateToOverview
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/random-cleanups-pt1: 2/4] viewSelector: Rename show to animateToOverview
- Date: Tue, 2 Jun 2020 17:54:00 +0000 (UTC)
commit 6fabff81f8415cf994943f2a7536a8c9a994ae18
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jun 2 00:59:27 2020 -0300
viewSelector: Rename show to animateToOverview
The same reasoning as the previous commits.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1295
js/ui/overview.js | 2 +-
js/ui/viewSelector.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 39ca92c24e..f77816080e 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -575,7 +575,7 @@ var Overview = class {
this._activationTime = GLib.get_monotonic_time() / GLib.USEC_PER_SEC;
Meta.disable_unredirect_for_display(global.display);
- this.viewSelector.show();
+ this.viewSelector.animateToOverview();
this._overview.opacity = 0;
this._overview.ease({
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 52fa664896..265378537f 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -271,7 +271,7 @@ var ViewSelector = GObject.registerClass({
Main.overview.show();
}
- show() {
+ animateToOverview() {
this.reset();
this._workspacesDisplay.animateToOverview(this._showAppsButton.checked);
this._activePage = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]