[pyatspi2] Set ROLE_UNKNOWN for desktop for compatibility with CORBA at-spi



commit 513bbbf7f4f44c0cb0c57beac8d64dc4cf980e1c
Author: Mike Gorse <mgorse novell com>
Date:   Tue Mar 30 17:10:39 2010 -0400

    Set ROLE_UNKNOWN for desktop for compatibility with CORBA at-spi

 pyatspi/cache.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/cache.py b/pyatspi/cache.py
index 29e9847..8c52ed2 100644
--- a/pyatspi/cache.py
+++ b/pyatspi/cache.py
@@ -16,7 +16,7 @@ import os
 import dbus
 
 from interfaces import *
-from role import ROLE_INVALID
+from role import ROLE_UNKNOWN
 
 from busutils import *
 
@@ -111,7 +111,7 @@ class DesktopCacheManager (object):
                                        apps,                                    #Children 
                                        [ATSPI_ACCESSIBLE, ATSPI_COMPONENT],     #Interfaces
                                        "main",                                  #Name
-                                       ROLE_INVALID,                            #Role
+                                       ROLE_UNKNOWN,                            #Role
                                        "",                                      #Description
                                        [0,0]                                    #State
                                      )



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