VCS/ProjectHelper.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3034
7ce719013078
child 3145
a9de05d4a22f
--- a/VCS/ProjectHelper.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/VCS/ProjectHelper.py	Sun Nov 03 15:58:22 2013 +0100
@@ -63,8 +63,10 @@
         """
         Public method to generate the action objects.
         """
-        self.vcsNewAct = E5Action(self.trUtf8('New from repository'),
-                self.trUtf8('&New from repository...'), 0, 0, self, 'vcs_new')
+        self.vcsNewAct = E5Action(
+            self.trUtf8('New from repository'),
+            self.trUtf8('&New from repository...'),
+            0, 0, self, 'vcs_new')
         self.vcsNewAct.setStatusTip(self.trUtf8(
             'Create a new project from the VCS repository'
         ))
@@ -90,8 +92,10 @@
         self.vcsExportAct.triggered[()].connect(self._vcsExport)
         self.actions.append(self.vcsExportAct)
         
-        self.vcsAddAct = E5Action(self.trUtf8('Add to repository'),
-                self.trUtf8('&Add to repository...'), 0, 0, self, 'vcs_add')
+        self.vcsAddAct = E5Action(
+            self.trUtf8('Add to repository'),
+            self.trUtf8('&Add to repository...'),
+            0, 0, self, 'vcs_add')
         self.vcsAddAct.setStatusTip(self.trUtf8(
             'Add the local project to the VCS repository'
         ))
@@ -174,8 +178,8 @@
                     self.trUtf8(
                         """Would you like to edit the VCS command options?"""))
                 if vcores:
-                    from .CommandOptionsDialog import vcsCommandOptionsDialog
-                    codlg = vcsCommandOptionsDialog(self.project.vcs)
+                    from .CommandOptionsDialog import VcsCommandOptionsDialog
+                    codlg = VcsCommandOptionsDialog(self.project.vcs)
                     if codlg.exec_() == QDialog.Accepted:
                         self.project.vcs.vcsSetOptions(codlg.getOptions())
                 
@@ -353,8 +357,8 @@
                     self.trUtf8(
                         """Would you like to edit the VCS command options?"""))
                 if vcores:
-                    from .CommandOptionsDialog import vcsCommandOptionsDialog
-                    codlg = vcsCommandOptionsDialog(self.project.vcs)
+                    from .CommandOptionsDialog import VcsCommandOptionsDialog
+                    codlg = VcsCommandOptionsDialog(self.project.vcs)
                     if codlg.exec_() == QDialog.Accepted:
                         self.project.vcs.vcsSetOptions(codlg.getOptions())
                 self.project.setDirty(True)
@@ -408,7 +412,8 @@
         res = E5MessageBox.yesNo(
             self.parent(),
             self.trUtf8("Remove project from repository"),
-            self.trUtf8("Dou you really want to remove this project from"
+            self.trUtf8(
+                "Dou you really want to remove this project from"
                 " the repository (and disk)?"))
         if res:
             self.vcs.vcsRemove(self.project.ppath, True)
@@ -423,8 +428,8 @@
         """
         Protected slot to edit the VCS command options.
         """
-        from .CommandOptionsDialog import vcsCommandOptionsDialog
-        codlg = vcsCommandOptionsDialog(self.vcs)
+        from .CommandOptionsDialog import VcsCommandOptionsDialog
+        codlg = VcsCommandOptionsDialog(self.vcs)
         if codlg.exec_() == QDialog.Accepted:
             self.vcs.vcsSetOptions(codlg.getOptions())
             self.project.setDirty(True)

eric ide

mercurial