[orca] Fix for bug #640894 - always clear _gidleId when finished calling _dequeue



commit 75e0add3c44d24ebc467d85b7c706f3d42d795fb
Author: Mike Gorse <mgorse novell com>
Date:   Sat Jan 29 08:54:09 2011 -0600

    Fix for bug #640894 - always clear _gidleId when finished calling _dequeue

 src/orca/event_manager.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index b638d77..272a8de 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -272,6 +272,7 @@ class EventManager:
         except Queue.Empty:
             debug.println(debug.LEVEL_SEVERE,
                           "event_manager._dequeue: the event queue is empty!")
+            self._gidleId = 0
             rerun = False # destroy and don't call again
         except:
             debug.printException(debug.LEVEL_SEVERE)



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