[gnome-shell/gbsneto/random-cleanups-pt1: 11/13] 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: 11/13] viewSelector: Rename show to animateToOverview
- Date: Wed, 3 Jun 2020 15:56:28 +0000 (UTC)
commit fc3bc7678daff8d8c7b7d1d19dec10136941a372
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 930e5b1e6d..3ec97b1cf3 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]