[pyatspi2] Set registry.started to false when the main loop quits



commit 0ae74cbc3c32c2c23f48ceaa234fc869989f3063
Author: Mike Gorse <mgorse novell com>
Date:   Mon Aug 2 15:38:15 2010 -0400

    Set registry.started to false when the main loop quits

 pyatspi/registry.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pyatspi/registry.py b/pyatspi/registry.py
index a6be2e0..22bd637 100644
--- a/pyatspi/registry.py
+++ b/pyatspi/registry.py
@@ -201,6 +201,7 @@ class Registry(object):
                         i = gobject.idle_add(releaseGIL)
                         
                         self.main_loop.run()
+                        self.started = False
                         gobject.source_remove(i)
                         if releaseGIL.keyboard_exception is not None:
                                 # raise an keyboard exception we may have gotten earlier



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