[pyatspi2] Fix for bug 690107 - Add support for STATE_READ_ONLY
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Fix for bug 690107 - Add support for STATE_READ_ONLY
- Date: Thu, 15 Jan 2015 22:14:01 +0000 (UTC)
commit e6863b86d5b9e3e81abcac11158c01ed0e1039a8
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jan 15 17:11:59 2015 -0500
Fix for bug 690107 - Add support for STATE_READ_ONLY
pyatspi/state.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/state.py b/pyatspi/state.py
index 5d7d7f3..b2d6eaf 100644
--- a/pyatspi/state.py
+++ b/pyatspi/state.py
@@ -70,7 +70,8 @@ class StateType(_Enum):
40:'STATE_VISITED',
41:'STATE_CHECKABLE',
42:'STATE_HAS_POPUP',
- 43:'STATE_LAST_DEFINED',
+ 43:'STATE_READ_ONLY',
+ 44:'STATE_LAST_DEFINED',
}
#------------------------------------------------------------------------------
@@ -104,6 +105,7 @@ STATE_MULTISELECTABLE = StateType(18)
STATE_MULTI_LINE = StateType(17)
STATE_OPAQUE = StateType(19)
STATE_PRESSED = StateType(20)
+STATE_READ_ONLY = StateType(43)
STATE_REQUIRED = StateType(33)
STATE_RESIZABLE = StateType(21)
STATE_SELECTABLE = StateType(22)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]