Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py

changeset 1878
de889f485ae8
parent 1801
fe02732a7675
child 1939
eadb2328d7d4
equal deleted inserted replaced
1877:d8c5d6b04967 1878:de889f485ae8
110 @param protocol name of the selected protocol (string) 110 @param protocol name of the selected protocol (string)
111 """ 111 """
112 if protocol == "file://": 112 if protocol == "file://":
113 self.networkPath = self.vcsUrlEdit.text() 113 self.networkPath = self.vcsUrlEdit.text()
114 self.vcsUrlEdit.setText(self.localPath) 114 self.vcsUrlEdit.setText(self.localPath)
115 self.vcsUrlLabel.setText(self.trUtf8("Pat&h:"))
115 self.localProtocol = True 116 self.localProtocol = True
116 else: 117 else:
117 if self.localProtocol: 118 if self.localProtocol:
118 self.localPath = self.vcsUrlEdit.text() 119 self.localPath = self.vcsUrlEdit.text()
119 self.vcsUrlEdit.setText(self.networkPath) 120 self.vcsUrlEdit.setText(self.networkPath)
121 self.vcsUrlLabel.setText(self.trUtf8("&URL:"))
120 self.localProtocol = False 122 self.localProtocol = False
121 123
122 def getData(self): 124 def getData(self):
123 """ 125 """
124 Public slot to retrieve the data entered into the dialog. 126 Public slot to retrieve the data entered into the dialog.

eric ide

mercurial