[caribou/geometry] Added run method to CaribouDaemon
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou/geometry] Added run method to CaribouDaemon
- Date: Sat, 30 Apr 2011 07:39:12 +0000 (UTC)
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]