[gnome-shell/gbsneto/icon-grid-part2: 19/23] allView: Set delegate field



commit 34184bb60619299fc50ae638cb3391aaffc8fe65
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Jun 29 00:44:27 2019 -0300

    allView: Set delegate field
    
    DnD still relies on the _delegate field being set, so
    set it.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/664

 js/ui/appDisplay.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 76fffa4c6..aa4f77bc0 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -239,6 +239,7 @@ var AllView = class AllView extends BaseAppView {
         this.actor = new St.Widget({ layout_manager: new Clutter.BinLayout(),
                                      x_expand: true, y_expand: true });
         this.actor.add_actor(this._scrollView);
+        this._grid._delegate = this;
 
         this._scrollView.set_policy(St.PolicyType.NEVER,
                                     St.PolicyType.EXTERNAL);


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