[orca/gnome-3-4] AT-SPI2 timeout whac-a-mole
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-4] AT-SPI2 timeout whac-a-mole
- Date: Fri, 13 Apr 2012 12:49:45 +0000 (UTC)
commit 19a63857585f930c12d08e361a5dbaa2ace2a9e9
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 13 08:50:07 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 1a63b64..d9bd758 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]