[orca] Fix for bug 674526 - Orca sometimes fails to present download "dialog" widgets
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 674526 - Orca sometimes fails to present download "dialog" widgets
- Date: Sun, 11 Nov 2012 18:38:01 +0000 (UTC)
commit 14efdfefa42bd218e22a4206b8a24aa74f0b2b06
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Nov 11 13:36:24 2012 -0500
Fix for bug 674526 - Orca sometimes fails to present download "dialog" widgets
src/orca/scripts/toolkits/Gecko/script.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 12c1e98..8e3697e 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2011,7 +2011,10 @@ class Script(default.Script):
# is really busy first and also that the event is not coming
# from an object within a dialog box or alert.
#
- documentFrame = self.utilities.documentFrame()
+ if self.inDocumentContent(event.source):
+ documentFrame = self.utilities.documentFrame()
+ else:
+ documentFrame = None
if documentFrame:
self._loadingDocumentContent = \
documentFrame.getState().contains(pyatspi.STATE_BUSY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]