Project/PropertiesDialog.py

changeset 2408
dc3a7c9d8f6e
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2995
63d874899b8b
--- a/Project/PropertiesDialog.py	Sun Feb 10 19:46:21 2013 +0100
+++ b/Project/PropertiesDialog.py	Mon Feb 11 14:08:08 2013 +0100
@@ -17,10 +17,6 @@
 from E5Gui import E5FileDialog
 
 from .Ui_PropertiesDialog import Ui_PropertiesDialog
-from .TranslationPropertiesDialog import TranslationPropertiesDialog
-from .SpellingPropertiesDialog import SpellingPropertiesDialog
-
-from VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog
 
 import Utilities
 import Preferences
@@ -162,6 +158,7 @@
         Private slot to display the spelling properties dialog.
         """
         if self.spellPropertiesDlg is None:
+            from .SpellingPropertiesDialog import SpellingPropertiesDialog
             self.spellPropertiesDlg = \
                 SpellingPropertiesDialog(self.project, self.newProject, self)
         res = self.spellPropertiesDlg.exec_()
@@ -174,6 +171,7 @@
         Private slot to display the translations properties dialog.
         """
         if self.transPropertiesDlg is None:
+            from .TranslationPropertiesDialog import TranslationPropertiesDialog
             self.transPropertiesDlg = \
                 TranslationPropertiesDialog(self.project, self.newProject, self)
         else:
@@ -217,6 +215,7 @@
         if self.project.vcs is None:
             return
             
+        from VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog
         info = self.project.vcs.vcsRepositoryInfos(self.project.ppath)
         dlg = VcsRepositoryInfoDialog(self, info)
         dlg.exec_()

eric ide

mercurial