[gnome-shell/gbsneto/icon-grid-dnd: 4/13] allView: Set this.actor._delegate



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

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

 js/ui/appDisplay.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 88ccace0b..ae8293540 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -248,6 +248,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.actor._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]