[gnome-shell] overviewControl: Store search entry container



commit 930d0b615125291776cd1e31d0f1d3b5d0266e00
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 15 17:38:36 2021 -0300

    overviewControl: Store search entry container
    
    It'll be used by the next commit.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1678>

 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 5e2f8f9f83..4f0abeb281 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]