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
This commit is contained in:
Florian Müllner
2019-02-12 01:04:58 +01:00
parent cbd981351e
commit d8f7d70c10

View File

@@ -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) {