From 930d0b615125291776cd1e31d0f1d3b5d0266e00 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 15 Feb 2021 17:38:36 -0300 Subject: [PATCH] overviewControl: Store search entry container It'll be used by the next commit. Part-of: --- js/ui/overviewControls.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index 5e2f8f9f8..4f0abeb28 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -273,7 +273,7 @@ class ControlsManager extends St.Widget { can_focus: true, }); this._searchEntry.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS); - const searchEntryBin = new St.Bin({ + this._searchEntryBin = new St.Bin({ child: this._searchEntry, x_align: Clutter.ActorAlign.CENTER, }); @@ -323,14 +323,15 @@ class ControlsManager extends St.Widget { this._stateAdjustment); this._appDisplay = new AppDisplay.AppDisplay(); - this.add_child(searchEntryBin); + this.add_child(this._searchEntryBin); this.add_child(this._appDisplay); this.add_child(this.dash); this.add_child(this._searchController); this.add_child(this._thumbnailsBox); this.add_child(this._workspacesDisplay); - this.layout_manager = new ControlsManagerLayout(searchEntryBin, + this.layout_manager = new ControlsManagerLayout( + this._searchEntryBin, this._appDisplay, this._workspacesDisplay, this._thumbnailsBox,