[orca] Remove the old "inacessible" metacity hack
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove the old "inacessible" metacity hack
- Date: Mon, 29 Jun 2015 17:15:47 +0000 (UTC)
commit 9131a937f48d195dd9421014ae0234879c1976e8
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jun 29 13:15:25 2015 -0400
Remove the old "inacessible" metacity hack
src/orca/scripts/apps/metacity/script.py | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/src/orca/scripts/apps/metacity/script.py b/src/orca/scripts/apps/metacity/script.py
index d22f8fe..6ec22e7 100644
--- a/src/orca/scripts/apps/metacity/script.py
+++ b/src/orca/scripts/apps/metacity/script.py
@@ -67,29 +67,6 @@ class Script(default.Script):
if objName[0] == "[" and objName[-1] == "]":
objName = objName[1:-1]
- # Do we know about this window? Traverse through our list of apps
- # and go through the toplevel windows in each to see if we know
- # about this one. If we do, it's accessible. If we don't, it is
- # not.
- #
- found = False
- for app in self.utilities.knownApplications():
- i = 0
- try:
- childCount = app.childCount
- except:
- continue
- while i < childCount:
- try:
- win = app.getChildAtIndex(i)
- except:
- win = None
- if win is None:
- print("app error " + app.name)
- elif win.name == objName:
- found = True
- i = i + 1
-
try:
text = obj.name
except:
@@ -103,8 +80,6 @@ class Script(default.Script):
#
if text.startswith(_("Workspace ")) or text.startswith(_("Desk ")):
pass
- elif not found:
- text += ". " + messages.INACCESSIBLE
self.displayBrailleMessage(text)
speech.speak(text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]