[caribou] Add support for password dialogs



commit 6dcd977873c73e3cdb0a2a508ef08007cd0978d2
Author: Ben Konrath <ben bagu org>
Date:   Wed Dec 16 12:55:01 2009 -0500

    Add support for password dialogs

 src/caribou.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/caribou.py b/src/caribou.py
index 55ffbe3..861cfb6 100644
--- a/src/caribou.py
+++ b/src/caribou.py
@@ -76,6 +76,7 @@ class Caribou:
         if pyatspi.STATE_EDITABLE in acc.getState().getStates() or event.source_role == pyatspi.ROLE_TERMINAL:
             if event.source_role in (pyatspi.ROLE_TEXT,
                                      pyatspi.ROLE_PARAGRAPH,
+                                     pyatspi.ROLE_PASSWORD_TEXT,
                                      pyatspi.ROLE_TERMINAL):
                 if event.type.startswith("focus") or event.detail1 == 1:
                     self.__set_text_location(acc)



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