[caribou/geometry] Added run method to CaribouDaemon



commit cde11cf0a9675a4deeb97001d95878b0b605a4f4
Author: Eitan Isaacson <eitan monotonous org>
Date:   Fri Apr 29 23:22:07 2011 -0700

    Added run method to CaribouDaemon

 caribou/daemon/main.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/caribou/daemon/main.py b/caribou/daemon/main.py
index 1798592..02139f8 100644
--- a/caribou/daemon/main.py
+++ b/caribou/daemon/main.py
@@ -149,3 +149,9 @@ class CaribouDaemon:
         self._deregister_event_listeners()
 
 
+    def run(self):
+        try:
+            pyatspi.Registry.start()
+        except KeyboardInterrupt:
+            self.clean_exit()
+            pyatspi.Registry.stop()



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