[gnome-shell/gbsneto/random-cleanups-pt1: 3/5] viewSelector: Rename show to animateToOverview



commit 3b500ccaffb97f8c5517ef399d706cc84b756fc7
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]