orca r3648 - in branches/gnome-2-22: . src/orca/scripts
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3648 - in branches/gnome-2-22: . src/orca/scripts
- Date: Wed, 27 Feb 2008 20:31:51 +0000 (GMT)
Author: richb
Date: Wed Feb 27 20:31:50 2008
New Revision: 3648
URL: http://svn.gnome.org/viewvc/orca?rev=3648&view=rev
Log:
* src/orca/scripts/StarOffice.py:
Fix for bug #517502 - Orca should not speak the previously
focused menu item when arrowing across the menu bar in OpenOffice.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/orca/scripts/StarOffice.py
Modified: branches/gnome-2-22/src/orca/scripts/StarOffice.py
==============================================================================
--- branches/gnome-2-22/src/orca/scripts/StarOffice.py (original)
+++ branches/gnome-2-22/src/orca/scripts/StarOffice.py Wed Feb 27 20:31:50 2008
@@ -2301,6 +2301,13 @@
- event: the Event
"""
+ # If this is state change "focused" event and event.source isn't a
+ # focused object, then just return. See bug #517502 for more details.
+ #
+ if event.type.startswith("object:state-changed:focused") and \
+ not event.source.getState().contains(pyatspi.STATE_FOCUSED):
+ return
+
# Check to see if we are in the Presentation startup wizard. If so,
# then speak the object that currently has focus.
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]