VCS/VersionControl.py

branch
Py2 comp.
changeset 2911
ce77f0b1ee67
parent 2791
a9577f248f04
parent 2853
0866c3aac79f
child 3057
10516539f238
--- a/VCS/VersionControl.py	Mon Aug 12 22:21:53 2013 +0200
+++ b/VCS/VersionControl.py	Sun Sep 08 19:04:07 2013 +0200
@@ -32,9 +32,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.
@@ -725,6 +727,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