diff -r ce735122a1fb -r c2e5472b112c Graphics/PackageDiagram.py --- a/Graphics/PackageDiagram.py Fri Jan 08 14:45:03 2010 +0000 +++ b/Graphics/PackageDiagram.py Fri Jan 08 17:04:18 2010 +0000 @@ -21,6 +21,7 @@ import Utilities.ModuleParser import Utilities +import Preferences class PackageDiagram(UMLDialog): """ @@ -63,8 +64,10 @@ @return dictionary of modules contained in the package. """ - # TODO: change this to use configured extensions - supportedExt = ['*.py', '*.pyw', '*.ptl', '*.rb'] + supportedExt = \ + ['*%s' % ext for ext in Preferences.getPython("PythonExtensions")] + \ + ['*%s' % ext for ext in Preferences.getPython("Python3Extensions")] + \ + ['*.rb'] moduleDict = {} modules = []