[gnome-shell] appSwitcher: Make sure we don't leave a stale timeout handler



commit d2a40d6885a4a331e6b810c8632a25b510796dab
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Tue Jan 25 15:30:19 2011 +0100

    appSwitcher: Make sure we don't leave a stale timeout handler

 js/ui/altTab.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index a8d3e79..85846cb 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -946,6 +946,8 @@ AppSwitcher.prototype = {
             this._mouseTimeOutId = Mainloop.timeout_add(APP_ICON_HOVER_TIMEOUT,
                                                         Lang.bind(this, function () {
                                                                             this._enterItem(index);
+                                                                            this._mouseTimeOutId = 0;
+                                                                            return false;
                                                         }));
         } else
            this._itemEntered(index);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]