[orca/gnome-3-4] Try to handle metacity timeouts more gracefully
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-4] Try to handle metacity timeouts more gracefully
- Date: Mon, 30 Apr 2012 14:08:30 +0000 (UTC)
commit 56a82b34efcba6f64ec25834b62254b26d3e9fcc
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Apr 30 10:06:53 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]