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:
parent
b3f35912be
commit
206d1fa650
@ -462,6 +462,11 @@ var Dash = GObject.registerClass({
|
|||||||
this._syncLabel(item, appIcon);
|
this._syncLabel(item, appIcon);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
item.child.connect('clicked', () => {
|
||||||
|
this._labelShowing = false;
|
||||||
|
item.hideLabel();
|
||||||
|
});
|
||||||
|
|
||||||
let id = Main.overview.connect('hiding', () => {
|
let id = Main.overview.connect('hiding', () => {
|
||||||
this._labelShowing = false;
|
this._labelShowing = false;
|
||||||
item.hideLabel();
|
item.hideLabel();
|
||||||
|
Loading…
Reference in New Issue
Block a user