UI/UserInterface.py

changeset 608
d8fea1e76975
parent 599
ee87fe94bf96
child 733
a7fdfe0b9222
--- a/UI/UserInterface.py	Mon Sep 13 15:59:43 2010 +0200
+++ b/UI/UserInterface.py	Mon Sep 13 16:14:10 2010 +0200
@@ -1153,8 +1153,8 @@
             '--' option are considered debug arguments to the program 
             for the debugger. All files named before the '--' option
             are opened in a text editor, unless the argument ends in 
-            .e4p or .e4pz, then it is opened as a project file.
-            If it ends in .e4m or .e4mz, it is opened as a multiproject.
+            .e4p, then it is opened as a project file. If it ends in 
+            .e4m, it is opened as a multiproject.
         """
         # no args, return
         if args is None:
@@ -1195,10 +1195,10 @@
             ext = os.path.splitext(arg)[1]
             ext = os.path.normcase(ext)
 
-            if ext in ['.e4p', '.e4pz']:
+            if ext in ['.e4p']:
                 self.project.openProject(arg)
                 opens += 1
-            elif ext in ['.e4m', '.e4mz']:
+            elif ext in ['.e4m']:
                 self.multiProject.openMultiProject(arg)
                 opens += 1
             else:
@@ -4885,8 +4885,7 @@
             None,
             self.trUtf8("Export Keyboard Shortcuts"),
             "",
-            self.trUtf8("Keyboard shortcut file (*.e4k);;"
-                "Compressed keyboard shortcut file (*.e4kz)"),
+            self.trUtf8("Keyboard shortcut file (*.e4k)"),
             "",
             QFileDialog.Options(QFileDialog.DontConfirmOverwrite))
         
@@ -4909,7 +4908,7 @@
             None,
             self.trUtf8("Import Keyboard Shortcuts"),
             "",
-            self.trUtf8("Keyboard shortcut file (*.e4k *.e4kz)"))
+            self.trUtf8("Keyboard shortcut file (*.e4k)"))
         
         if fn:
             Shortcuts.importShortcuts(fn)

eric ide

mercurial