diff -r 3ea0b67205b6 -r 356a2f1b04b0 eric7/Project/Project.py --- a/eric7/Project/Project.py Sun Sep 19 16:26:29 2021 +0200 +++ b/eric7/Project/Project.py Sun Sep 19 19:59:06 2021 +0200 @@ -102,6 +102,7 @@ repopulated @signal completeRepopulateItem(str) emitted after an item of the model was repopulated + @signal vcsStatusMonitorData(list) emitted to signal the VCS status data @signal vcsStatusMonitorStatus(str, str) emitted to signal the status of the monitoring thread (ok, nok, op, off) and a status message @signal vcsStatusMonitorInfo(str) emitted to signal some info of the @@ -149,6 +150,7 @@ directoryRemoved = pyqtSignal(str) prepareRepopulateItem = pyqtSignal(str) completeRepopulateItem = pyqtSignal(str) + vcsStatusMonitorData = pyqtSignal(list) vcsStatusMonitorStatus = pyqtSignal(str, str) vcsStatusMonitorInfo = pyqtSignal(str) reinitVCS = pyqtSignal() @@ -3076,8 +3078,10 @@ self.vcs.startStatusMonitor(self) self.vcs.vcsStatusMonitorData.connect( self.__model.changeVCSStates) + self.vcs.vcsStatusMonitorData.connect( + self.vcsStatusMonitorData) self.vcs.vcsStatusMonitorStatus.connect( - self.__statusMonitorStatus) + self.vcsStatusMonitorStatus) self.vcs.vcsStatusMonitorInfo.connect( self.vcsStatusMonitorInfo) self.vcs.vcsStatusChanged.connect( @@ -5128,17 +5132,6 @@ ## Below is the interface to the VCS monitor thread ######################################################################### - def __statusMonitorStatus(self, status, statusMsg): - """ - Private method to receive the status monitor status. - - It simply reemits the received status. - - @param status status of the monitoring thread (string, ok, nok or off) - @param statusMsg explanotory text for the signaled status (string) - """ - self.vcsStatusMonitorStatus.emit(status, statusMsg) - def setStatusMonitorInterval(self, interval): """ Public method to se the interval of the VCS status monitor thread.