[pyatspi2] Support new levelbar role



commit 4fda556220faf4d3ab102b3f327492181a31a394
Author: Mike Gorse <mgorse suse com>
Date:   Thu Jan 31 16:45:47 2013 -0600

    Support new levelbar role

 pyatspi/role.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/role.py b/pyatspi/role.py
index 5d8dd29..6f64250 100644
--- a/pyatspi/role.py
+++ b/pyatspi/role.py
@@ -121,7 +121,8 @@ class Role(_Enum):
                 100:'ROLE_IMAGE_MAP',
                 101:'ROLE_NOTIFICATION',
                 102:'ROLE_INFO_BAR',
-                103:'ROLE_LAST_DEFINED',
+                103:'ROLE_LEVEL_BAR',
+                104:'ROLE_LAST_DEFINED',
         }
 
 ROLE_ACCELERATOR_LABEL = Role(1)
@@ -179,6 +180,7 @@ ROLE_INVALID = Role(0)
 ROLE_LABEL = Role(29)
 ROLE_LAST_DEFINED = Role(103)
 ROLE_LAYERED_PANE = Role(30)
+ROLE_LEVEL_BAR = Role(103)
 ROLE_LINK = Role(88)
 ROLE_LIST = Role(31)
 ROLE_LIST_BOX = Role(98)
@@ -331,6 +333,7 @@ ROLE_NAMES = {
         ROLE_IMAGE_MAP:'image map',
         ROLE_NOTIFICATION:'notification',
         ROLE_INFO_BAR:'info bar',
+        ROLE_LEVEL_BAR:'level bar',
 }
 
 #END----------------------------------------------------------------------------



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