[pyatspi2] Set AT_SPI_CLIENT for use by at-spi2-atk
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [pyatspi2] Set AT_SPI_CLIENT for use by at-spi2-atk
- Date: Tue, 16 Mar 2010 21:17:51 +0000 (UTC)
commit d81686185148c922dc892ad0f3adae6c21fc1fb5
Author: Mike Gorse <mgorse novell com>
Date:   Sun Mar 14 08:55:34 2010 -0400
    Set AT_SPI_CLIENT for use by at-spi2-atk
 pyatspi/registry.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/registry.py b/pyatspi/registry.py
index 444c1b4..7bb9bda 100644
--- a/pyatspi/registry.py
+++ b/pyatspi/registry.py
@@ -122,7 +122,9 @@ class Registry(object):
                 if main_loop_type == MAIN_LOOP_GLIB:
                                 cache = AccessibleCache (app_name)
 
-		factory = AccessibleFactory(cache)
+                factory = AccessibleFactory(cache)
+
+                _os.environ["AT_SPI_CLIENT"] = "1"
 
                 # Set up the device event controllers
                 _connection = SyncAccessibilityBus ()
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]