orca r4416 - in branches/gnome-2-24: . src/orca/scripts/toolkits/Gecko
- From: joanied svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r4416 - in branches/gnome-2-24: . src/orca/scripts/toolkits/Gecko
- Date: Fri, 9 Jan 2009 16:31:02 +0000 (UTC)
Author: joanied
Date: Fri Jan 9 16:31:02 2009
New Revision: 4416
URL: http://svn.gnome.org/viewvc/orca?rev=4416&view=rev
Log:
* src/orca/scripts/toolkits/Gecko/script.py:
Fix for bug #567167 - Orca sometimes (re)announces that the
document frame has just received focus in Firefox 3.x.
Modified:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/src/orca/scripts/toolkits/Gecko/script.py
Modified: branches/gnome-2-24/src/orca/scripts/toolkits/Gecko/script.py
==============================================================================
--- branches/gnome-2-24/src/orca/scripts/toolkits/Gecko/script.py (original)
+++ branches/gnome-2-24/src/orca/scripts/toolkits/Gecko/script.py Fri Jan 9 16:31:02 2009
@@ -1714,6 +1714,13 @@
speech.speak(message)
if finishedLoading:
+ # Store the document frame otherwise the first time it
+ # gains focus (e.g. the first time the user arrows off
+ # of a link into non-focusable text), onStateFocused
+ # will start chatting unnecessarily.
+ #
+ self._currentFrame = event.source
+
# We first try to figure out where the caret is on
# the newly loaded page. If it is on an editable
# object (e.g., a text entry), then we present just
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]