[accerciser] Restore preventing accerciser from exploring itself



commit 6b4cf98101ca0480c6a75d5bda023308f4e61dfc
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Fri Apr 26 16:32:02 2019 +0200

    Restore preventing accerciser from exploring itself
    
    7efbb3ec93a5 ('Fix for bug #670415 - Accerciser isn't explorable
    through the treeview') disabled the support for preventing accerciser
    from exploring itself. But we really do want this support, otherwise we
    get all kinds of hangs since accerciser is waiting for itself to provide
    at-spi values.
    
    To observer the accerciser interface, one needs to run another
    accerciser, and each of them will be able to explore the other.

 src/lib/accerciser/accerciser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/lib/accerciser/accerciser.py b/src/lib/accerciser/accerciser.py
index 065a7fe..2e68596 100644
--- a/src/lib/accerciser/accerciser.py
+++ b/src/lib/accerciser/accerciser.py
@@ -51,8 +51,8 @@ class Main(Tools):
     '''
     # mark the root of this window with its PID so we can easily identify it
     # as this app
-    #root_atk = atk.get_root()
-    #root_atk.set_description(str(os.getpid()))
+    root_atk = atk.get_root()
+    root_atk.set_description(str(os.getpid()))
 
     self.node = Node()
 


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