VCS/VersionControl.py

changeset 2853
0866c3aac79f
parent 2771
281c9b30dd91
child 2911
ce77f0b1ee67
child 2965
d133c7edd88a
--- a/VCS/VersionControl.py	Sun Aug 18 13:20:24 2013 +0200
+++ b/VCS/VersionControl.py	Mon Aug 19 15:06:05 2013 +0200
@@ -30,9 +30,11 @@
     @signal vcsStatusMonitorData(list of str) emitted to update the VCS status
     @signal vcsStatusMonitorStatus(str, str) emitted to signal the status of the
         monitoring thread (ok, nok, op, off) and a status message
+    @signal vcsStatusChanged() emitted to indicate a change of the overall VCS status
     """
     vcsStatusMonitorData = pyqtSignal(list)
     vcsStatusMonitorStatus = pyqtSignal(str, str)
+    vcsStatusChanged = pyqtSignal()
     
     canBeCommitted = 1  # Indicates that a file/directory is in the vcs.
     canBeAdded = 2      # Indicates that a file/directory is not in vcs.
@@ -723,6 +725,8 @@
         """
         Public method to wake up the VCS status monitor thread.
         """
+        self.vcsStatusChanged.emit()
+        
         if self.statusMonitorThread is not None:
             self.statusMonitorThread.checkStatus()
     

eric ide

mercurial