eric6/Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py

changeset 7260
4cc6f121119a
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7259:7c017076c12e 7260:4cc6f121119a
12 12
13 import pysvn 13 import pysvn
14 14
15 from PyQt5.QtCore import pyqtSlot, Qt, QMutexLocker 15 from PyQt5.QtCore import pyqtSlot, Qt, QMutexLocker
16 from PyQt5.QtGui import QCursor 16 from PyQt5.QtGui import QCursor
17 from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QListWidgetItem, \ 17 from PyQt5.QtWidgets import (
18 QApplication 18 QDialog, QDialogButtonBox, QListWidgetItem, QApplication
19 )
19 20
20 from .SvnDialogMixin import SvnDialogMixin 21 from .SvnDialogMixin import SvnDialogMixin
21 22
22 from .Ui_SvnChangeListsDialog import Ui_SvnChangeListsDialog 23 from .Ui_SvnChangeListsDialog import Ui_SvnChangeListsDialog
23 24
42 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 43 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
43 44
44 self.vcs = vcs 45 self.vcs = vcs
45 46
46 self.client = self.vcs.getClient() 47 self.client = self.vcs.getClient()
47 self.client.callback_cancel = \ 48 self.client.callback_cancel = self._clientCancelCallback
48 self._clientCancelCallback 49 self.client.callback_get_login = self._clientLoginCallback
49 self.client.callback_get_login = \ 50 self.client.callback_ssl_server_trust_prompt = (
50 self._clientLoginCallback
51 self.client.callback_ssl_server_trust_prompt = \
52 self._clientSslServerTrustPromptCallback 51 self._clientSslServerTrustPromptCallback
52 )
53 53
54 @pyqtSlot(QListWidgetItem, QListWidgetItem) 54 @pyqtSlot(QListWidgetItem, QListWidgetItem)
55 def on_changeLists_currentItemChanged(self, current, previous): 55 def on_changeLists_currentItemChanged(self, current, previous):
56 """ 56 """
57 Private slot to handle the selection of a new item. 57 Private slot to handle the selection of a new item.

eric ide

mercurial