diff -r 01f3384d535a -r b31b0bffa5b0 Plugins/VcsPlugins/vcsPySvn/subversion.py --- a/Plugins/VcsPlugins/vcsPySvn/subversion.py Wed Aug 11 17:12:04 2010 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/subversion.py Wed Aug 11 19:55:34 2010 +0200 @@ -58,6 +58,8 @@ @signal committed() emitted after the commit action has completed """ + committed = pyqtSignal() + def __init__(self, plugin, parent = None, name = None): """ Constructor @@ -464,8 +466,7 @@ # call CommitDialog and get message from there if self.__commitDialog is None: self.__commitDialog = SvnCommitDialog(self.__ui) - self.connect(self.__commitDialog, SIGNAL("accepted()"), - self.__vcsCommit_Step2) + self.__commitDialog.accepted.connect(self.__vcsCommit_Step2) self.__commitDialog.show() self.__commitDialog.raise_() self.__commitDialog.activateWindow() @@ -491,8 +492,7 @@ changelists, keepChangelists = self.__commitDialog.changelistsData() else: changelists, keepChangelists = [], False - self.disconnect(self.__commitDialog, SIGNAL("accepted()"), - self.__vcsCommit_Step2) + self.__commitDialog.accepted.disconnect(self.__vcsCommit_Step2) self.__commitDialog = None else: changelists, keepChangelists = [], False @@ -549,7 +549,7 @@ dlg.finish() dlg.exec_() os.chdir(cwd) - self.emit(SIGNAL("committed()")) + self.committed.emit() self.checkVCSStatus() def vcsUpdate(self, name, noDialog = False):