[gnome-shell-extensions/fix-apps-menu-warning] apps-menu: Remove outdated legacy-tray handling



commit d8f7d70c10265d2914eb6c673d5fa55c036dfb26
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 12 01:04:58 2019 +0100

    apps-menu: Remove outdated legacy-tray handling
    
    The tray is long gone, so trying to access it will result in
    warnings.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/53

 extensions/apps-menu/extension.js | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index 845149a..ad25a59 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -74,13 +74,6 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
                 return maybeStartDrag.call(draggable, event);
             return false;
         };
-
-        draggable.connect('drag-begin', () => {
-            Shell.util_set_hidden_from_pick(Main.legacyTray.actor, true);
-        });
-        draggable.connect('drag-end', () => {
-            Shell.util_set_hidden_from_pick(Main.legacyTray.actor, false);
-        });
     }
 
     activate(event) {


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