dash: Make sure we clear the timeout IDs for the label tooltip
https://bugzilla.gnome.org/show_bug.cgi?id=711732
This commit is contained in:
parent
5bc8a0860a
commit
3991d2729d
@ -576,6 +576,7 @@ const Dash = new Lang.Class({
|
|||||||
Lang.bind(this, function() {
|
Lang.bind(this, function() {
|
||||||
this._labelShowing = true;
|
this._labelShowing = true;
|
||||||
item.showLabel();
|
item.showLabel();
|
||||||
|
this._showLabelTimeoutId = 0;
|
||||||
return false;
|
return false;
|
||||||
}));
|
}));
|
||||||
if (this._resetHoverTimeoutId > 0) {
|
if (this._resetHoverTimeoutId > 0) {
|
||||||
@ -592,6 +593,7 @@ const Dash = new Lang.Class({
|
|||||||
this._resetHoverTimeoutId = Mainloop.timeout_add(DASH_ITEM_HOVER_TIMEOUT,
|
this._resetHoverTimeoutId = Mainloop.timeout_add(DASH_ITEM_HOVER_TIMEOUT,
|
||||||
Lang.bind(this, function() {
|
Lang.bind(this, function() {
|
||||||
this._labelShowing = false;
|
this._labelShowing = false;
|
||||||
|
this._resetHoverTimeoutId = 0;
|
||||||
return false;
|
return false;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user