Plugins/VcsPlugins/vcsPySvn/SvnOptionsDialog.py

changeset 1878
de889f485ae8
parent 1801
fe02732a7675
child 2302
f29e9405c851
equal deleted inserted replaced
1877:d8c5d6b04967 1878:de889f485ae8
86 Private slot to switch the status of the directory selection button. 86 Private slot to switch the status of the directory selection button.
87 """ 87 """
88 if protocol == "file://": 88 if protocol == "file://":
89 self.networkPath = self.vcsUrlEdit.text() 89 self.networkPath = self.vcsUrlEdit.text()
90 self.vcsUrlEdit.setText(self.localPath) 90 self.vcsUrlEdit.setText(self.localPath)
91 self.vcsUrlLabel.setText(self.trUtf8("Pat&h:"))
91 self.localProtocol = True 92 self.localProtocol = True
92 else: 93 else:
93 if self.localProtocol: 94 if self.localProtocol:
94 self.localPath = self.vcsUrlEdit.text() 95 self.localPath = self.vcsUrlEdit.text()
95 self.vcsUrlEdit.setText(self.networkPath) 96 self.vcsUrlEdit.setText(self.networkPath)
97 self.vcsUrlLabel.setText(self.trUtf8("&URL:"))
96 self.localProtocol = False 98 self.localProtocol = False
97 99
98 def getData(self): 100 def getData(self):
99 """ 101 """
100 Public slot to retrieve the data entered into the dialog. 102 Public slot to retrieve the data entered into the dialog.

eric ide

mercurial