Removed check for some eric tools in the programs dialog.

Sat, 19 Feb 2011 14:48:33 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 19 Feb 2011 14:48:33 +0100
changeset 901
99b4cb6910ad
parent 900
c5d8b27ac6c1
child 902
c06241839b12

Removed check for some eric tools in the programs dialog.

Preferences/ProgramsDialog.py file | annotate | diff | comparison | revisions
--- a/Preferences/ProgramsDialog.py	Sat Feb 19 14:44:32 2011 +0100
+++ b/Preferences/ProgramsDialog.py	Sat Feb 19 14:48:33 2011 +0100
@@ -21,7 +21,6 @@
 import Preferences
 import Utilities
 
-from eric5config import getConfig
 
 class ProgramsDialog(QDialog, Ui_ProgramsDialog):
     """
@@ -136,29 +135,15 @@
             Utilities.isWindowsPlatform() and "rbrcc.exe" or "rbrcc", 
             '-version', 'Ruby Resource Compiler', -1)
         
-        # 5. do the Eric5 programs
-        # 5a. Translation Previewer
-        self.__createProgramEntry(self.trUtf8("Eric5 Translation Previewer"), 
-            Utilities.isWindowsPlatform() and \
-                os.path.join(getConfig("bindir"), "eric5_trpreviewer.bat") or \
-                "eric5_trpreviewer", 
-            '--version', 'Eric5', -3)
-        # 5b. Forms Previewer
-        self.__createProgramEntry(self.trUtf8("Eric5 Forms Previewer"), 
-            Utilities.isWindowsPlatform() and \
-                os.path.join(getConfig("bindir"), "eric5_uipreviewer.bat") or \
-                "eric5_uipreviewer", 
-            '--version', 'Eric5', -3)
-        
-        # 6. do the CORBA programs
-        # 6a. omniORB
+        # 5. do the CORBA programs
+        # 5a. omniORB
         exe = Preferences.getCorba("omniidl")
         if Utilities.isWindowsPlatform():
             exe += ".exe"
         self.__createProgramEntry(self.trUtf8("CORBA IDL Compiler"), exe,
             '-V', 'omniidl', -1)
         
-        # 7. do the spell checking entry
+        # 6. do the spell checking entry
         try:
             import enchant
             try:
@@ -174,7 +159,7 @@
             version = ""
         self.__createEntry(self.trUtf8("Spell Checker - PyEnchant"), text, version)
         
-        # 8. do the pygments entry
+        # 7. do the pygments entry
         try:
             import pygments
             try:

eric ide

mercurial