dash: Hide the tooltip when an item is clicked

So that when the 'Show Applications' button is clicked the icons don't
fly *through* the tooltip.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1423
This commit is contained in:
Daniel van Vugt 2020-08-27 16:52:14 +08:00 committed by Florian Müllner
parent b3f35912be
commit 206d1fa650

View File

@ -462,6 +462,11 @@ var Dash = GObject.registerClass({
this._syncLabel(item, appIcon);
});
item.child.connect('clicked', () => {
this._labelShowing = false;
item.hideLabel();
});
let id = Main.overview.connect('hiding', () => {
this._labelShowing = false;
item.hideLabel();