[orca] Call gdk_notify_startup_complete()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Call gdk_notify_startup_complete()
- Date: Wed, 2 Dec 2015 17:45:35 +0000 (UTC)
commit 198bd5bdea3765eedab4299909cc4e2d7dd5e78c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Dec 2 12:26:09 2015 -0500
Call gdk_notify_startup_complete()
src/orca/orca.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index 14096e1..98017a0 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -636,6 +636,15 @@ def start(registry, cacheValues):
if cacheValues:
pyatspi.setCacheLevel(pyatspi.CACHE_PROPERTIES)
+ try:
+ Gdk.notify_startup_complete()
+ except:
+ msg = 'ERROR: Exception calling Gdk.notification_startup_complete()'
+ debug.println(debug.LEVEL_INFO, msg, True)
+ else:
+ msg = 'ORCA: Startup complete notification made'
+ debug.println(debug.LEVEL_INFO, msg, True)
+
debug.println(debug.LEVEL_INFO, 'ORCA: Starting registry', True)
registry.start(gil=False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]