[caribou: 18/22] Added run method to CaribouDaemon
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou: 18/22] Added run method to CaribouDaemon
- Date: Mon, 2 May 2011 17:27:38 +0000 (UTC)
commit e276843feec6029c3574300178cd1b136ea90659
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]