[gnome-shell] overviewControls: Show DashSpacer in apps page as well
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overviewControls: Show DashSpacer in apps page as well
- Date: Tue, 19 Jan 2021 14:04:54 +0000 (UTC)
commit ea02aa399d223f0c5b478cb219a2895f387716d2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Dec 10 17:35:09 2020 -0300
overviewControls: Show DashSpacer in apps page as well
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>
js/ui/overviewControls.js | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js
index 9d18d82f89..af0263f14b 100644
--- a/js/ui/overviewControls.js
+++ b/js/ui/overviewControls.js
@@ -435,8 +435,6 @@ class ControlsManager extends St.Widget {
this._group.add_child(this.viewSelector);
this._group.add_actor(this._thumbnailsSlider);
- Main.overview.connect('showing', this._updateSpacerVisibility.bind(this));
-
this.connect('destroy', this._onDestroy.bind(this));
}
@@ -482,18 +480,8 @@ class ControlsManager extends St.Widget {
this._thumbnailsSlider.slideOut();
}
- _updateSpacerVisibility() {
- if (Main.overview.animationInProgress && !Main.overview.visibleTarget)
- return;
-
- let activePage = this.viewSelector.getActivePage();
- this._dashSpacer.visible = activePage == ViewSelector.ViewPage.WINDOWS;
- }
-
_onPageEmpty() {
this._dashSlider.pageEmpty();
this._thumbnailsSlider.pageEmpty();
-
- this._updateSpacerVisibility();
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]