[orca] Update the last caret context in the WebKitGtk's onFocusedChanged()



commit c9170b01a42603223c4977876e9f82012543b97f
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Feb 1 20:39:10 2014 -0500

    Update the last caret context in the WebKitGtk's onFocusedChanged()

 src/orca/scripts/toolkits/WebKitGtk/script.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/WebKitGtk/script.py b/src/orca/scripts/toolkits/WebKitGtk/script.py
index 035a5d1..b075c1b 100644
--- a/src/orca/scripts/toolkits/WebKitGtk/script.py
+++ b/src/orca/scripts/toolkits/WebKitGtk/script.py
@@ -251,6 +251,8 @@ class Script(default.Script):
 
         obj = event.source
         role = obj.getRole()
+        self._lastCaretContext = obj, -1
+
         if role == pyatspi.ROLE_LIST_ITEM and obj.childCount:
             return
 


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