orca r3605 - in trunk: . src/orca
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3605 - in trunk: . src/orca
- Date: Tue, 19 Feb 2008 18:43:00 +0000 (GMT)
Author: richb
Date: Tue Feb 19 18:42:59 2008
New Revision: 3605
URL: http://svn.gnome.org/viewvc/orca?rev=3605&view=rev
Log:
* src/orca/default.py:
Work on bug #517026 - crash in Open Folder: Deleting the last file
in a directory. Added a check to locusOfFocusChanged() in default.py
so that if the new locus of focus has a "defunct" state, then we
just return.
Modified:
trunk/ChangeLog
trunk/src/orca/default.py
Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py (original)
+++ trunk/src/orca/default.py Tue Feb 19 18:42:59 2008
@@ -2518,6 +2518,9 @@
- newLocusOfFocus: Accessible that is the new locus of focus
"""
+ if newLocusOfFocus.getState().contains(pyatspi.STATE_DEFUNCT):
+ return
+
try:
if self.findCommandRun:
# Then the Orca Find dialog has just given up focus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]