[orca] Try to handle metacity timeouts more gracefully
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Try to handle metacity timeouts more gracefully
- Date: Mon, 30 Apr 2012 14:08:35 +0000 (UTC)
commit 0ebfa6c74ade111a37456ae5f25733bc988db7e7
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Apr 30 10:09:38 2012 -0400
Try to handle metacity timeouts more gracefully
src/orca/scripts/apps/metacity/script.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/metacity/script.py b/src/orca/scripts/apps/metacity/script.py
index 7a32cd4..2253e49 100644
--- a/src/orca/scripts/apps/metacity/script.py
+++ b/src/orca/scripts/apps/metacity/script.py
@@ -99,7 +99,10 @@ class Script(default.Script):
found = True
i = i + 1
- text = obj.name
+ try:
+ text = obj.name
+ except:
+ text = objName
# Translators: the "Workspace " and "Desk " strings are
# the prefix of what metacity shows when you press
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]