[gnome-shell] messageTray: Remove the tray left timeout when showing a new notification
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Remove the tray left timeout when showing a new notification
- Date: Tue, 12 Mar 2013 15:59:54 +0000 (UTC)
commit 4771f80d6f09609bc2866a6683d604a923b28e9c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Mar 6 03:30:17 2013 -0500
messageTray: Remove the tray left timeout when showing a new notification
https://bugzilla.gnome.org/show_bug.cgi?id=695659
js/ui/messageTray.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index bdb33d9..a890480 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -2539,6 +2539,14 @@ const MessageTray = new Lang.Class({
this._notificationUnfocusedId = 0;
}
+ this._useLongerTrayLeftTimeout = false;
+ if (this._trayLeftTimeoutId) {
+ Mainloop.source_remove(this._trayLeftTimeoutId);
+ this._trayLeftTimeoutId = 0;
+ this._trayLeftMouseX = -1;
+ this._trayLeftMouseY = -1;
+ }
+
if (this._notificationRemoved) {
Tweener.removeTweens(this._notificationWidget);
this._notificationWidget.y = this.actor.height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]