[pyatspi2/gnome-3-20] Update STATE_LAST_DEFINED so that STATE_READ_ONLY is recognized



commit 2571e14a4bb138ac7080af676a68447a35132259
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat May 7 19:05:29 2016 -0400

    Update STATE_LAST_DEFINED so that STATE_READ_ONLY is recognized
    
    When STATE_READ_ONLY was added, I neglected to update the value of
    STATE_LAST_DEFINED. As a result, the read-only state is not recognized
    by pyatspi2 clients.

 pyatspi/state.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/state.py b/pyatspi/state.py
index b2d6eaf..67a5243 100644
--- a/pyatspi/state.py
+++ b/pyatspi/state.py
@@ -98,7 +98,7 @@ STATE_INDETERMINATE = StateType(32)
 STATE_INVALID = StateType(0)
 STATE_INVALID_ENTRY = StateType(36)
 STATE_IS_DEFAULT = StateType(39)
-STATE_LAST_DEFINED = StateType(43)
+STATE_LAST_DEFINED = StateType(44)
 STATE_MANAGES_DESCENDANTS = StateType(31)
 STATE_MODAL = StateType(16)
 STATE_MULTISELECTABLE = StateType(18)


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