Project/Project.py

changeset 40
c2e5472b112c
parent 30
9513afbd57f1
child 45
9a18f4dbb493
diff -r ce735122a1fb -r c2e5472b112c Project/Project.py
--- a/Project/Project.py	Fri Jan 08 14:45:03 2010 +0000
+++ b/Project/Project.py	Fri Jan 08 17:04:18 2010 +0000
@@ -159,19 +159,19 @@
         self.ui = parent
         
         self.sourceExtensions = {
-            "Python"  : ['.py', '.ptl', '.pyw'],
-            "Python3" : ['.py', '.pyw'],
+            "Python"  : Preferences.getPython("PythonExtensions"),
+            "Python3" : Preferences.getPython("Python3Extensions"),
             "Ruby"    : ['.rb'],
             "Mixed"   : ['.py', '.ptl', '.rb']
         }
         
         self.dbgFilters = {
             "Python"  : self.trUtf8(\
-                         "Python Files (*.py);;"
-                         "Python GUI Files (*.pyw);;"),
+                         "Python Files (*.py2);;"
+                         "Python GUI Files (*.pyw2);;"),
             "Python3" : self.trUtf8(\
-                         "Python3 Files (*.py3);;"
-                         "Python3 GUI Files (*.pyw3);;"),
+                         "Python3 Files (*.py *.py3);;"
+                         "Python3 GUI Files (*.pyw *.pyw3);;"),
             "Ruby"    : self.trUtf8("Ruby Files (*.rb);;"),
         }
         

eric ide

mercurial