[orca] AT-SPI2 timeout whac-a-mole
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] AT-SPI2 timeout whac-a-mole
- Date: Fri, 13 Apr 2012 12:49:51 +0000 (UTC)
commit 835b27b23d478c8840900185c81aec6b8d2a5b1c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 13 08:49:21 2012 -0400
AT-SPI2 timeout whac-a-mole
src/orca/tutorialgenerator.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/tutorialgenerator.py b/src/orca/tutorialgenerator.py
index 0b85bf1..80e75d8 100644
--- a/src/orca/tutorialgenerator.py
+++ b/src/orca/tutorialgenerator.py
@@ -217,8 +217,11 @@ class TutorialGenerator:
# If this application has more than one unfocused alert or
# dialog window, tell user how to give them focus.
- alertAndDialogCount = \
- self._script.utilities.unfocusedAlertAndDialogCount(obj)
+ try:
+ alertAndDialogCount = \
+ self._script.utilities.unfocusedAlertAndDialogCount(obj)
+ except:
+ alertAndDialogCount = 0
if alertAndDialogCount > 0:
utterances.append(childWindowsMsg)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]