[orca] Remove some more unneeded code from the old metacity script



commit 9940a4de419f65c934065a6a690697dd516dade4
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Jun 29 13:23:30 2015 -0400

    Remove some more unneeded code from the old metacity script

 po/POTFILES.in                           |    1 -
 src/orca/scripts/apps/metacity/script.py |   11 -----------
 2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3ac2111..b330e62 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -20,7 +20,6 @@ src/orca/object_properties.py
 src/orca/phonnames.py
 src/orca/scripts/apps/gnome-mud/script.py
 src/orca/scripts/apps/liferea/script.py
-src/orca/scripts/apps/metacity/script.py
 src/orca/scripts/apps/planner/braille_generator.py
 src/orca/scripts/apps/planner/speech_generator.py
 src/orca/scripts/default.py
diff --git a/src/orca/scripts/apps/metacity/script.py b/src/orca/scripts/apps/metacity/script.py
index 6ec22e7..7ec1646 100644
--- a/src/orca/scripts/apps/metacity/script.py
+++ b/src/orca/scripts/apps/metacity/script.py
@@ -30,8 +30,6 @@ import orca.scripts.default as default
 import orca.speech as speech
 import pyatspi
 
-from orca.orca_i18n import _
-
 ########################################################################
 #                                                                      #
 # The Metacity script class.                                           #
@@ -72,15 +70,6 @@ class Script(default.Script):
         except:
             text = objName
 
-        # Translators: the "Workspace " and "Desk " strings are
-        # the prefix of what metacity shows when you press
-        # Ctrl+Alt and the left or right arrow keys to switch
-        # between workspaces.  The goal here is to find a match
-        # with that prefix.
-        #
-        if text.startswith(_("Workspace ")) or text.startswith(_("Desk ")):
-            pass
-
         self.displayBrailleMessage(text)
         speech.speak(text)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]