messageTray: s/_useLongerHideTimeout/_useLongerTrayLeftTimeout/

Typo introduced in 6d2d4fcc77
This commit is contained in:
Debarshi Ray 2012-09-03 16:16:40 +02:00
parent 1237aef727
commit 11086e8ef8

View File

@ -1808,7 +1808,7 @@ const MessageTray = new Lang.Class({
// We wait just a little before hiding the message tray in case the user quickly moves the mouse back into it.
// We wait for a longer period if the notification popped up where the mouse pointer was already positioned.
// That gives the user more time to mouse away from the notification and mouse back in in order to expand it.
let timeout = this._useLongerHideTimeout ? LONGER_HIDE_TIMEOUT * 1000 : HIDE_TIMEOUT * 1000;
let timeout = this._useLongerTrayLeftTimeout ? LONGER_HIDE_TIMEOUT * 1000 : HIDE_TIMEOUT * 1000;
this._trayLeftTimeoutId = Mainloop.timeout_add(timeout, Lang.bind(this, this._onTrayLeftTimeout));
}
},