Project/ProjectBrowser.py

changeset 1627
f3280c6a04ba
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
equal deleted inserted replaced
1626:a77c8ea8582c 1627:f3280c6a04ba
353 if state == " " or state not in self.vcsStatusColorNames: 353 if state == " " or state not in self.vcsStatusColorNames:
354 self.vcsStatusIndicator.setColor(QColor(Qt.lightGray)) 354 self.vcsStatusIndicator.setColor(QColor(Qt.lightGray))
355 else: 355 else:
356 self.vcsStatusIndicator.setColor( 356 self.vcsStatusIndicator.setColor(
357 Preferences.getProjectBrowserColour(self.vcsStatusColorNames[state])) 357 Preferences.getProjectBrowserColour(self.vcsStatusColorNames[state]))
358 self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state]) 358 if state not in self.vcsStatusText:
359 self.vcsStatusIndicator.setToolTip(self.trUtf8("unknown status"))
360 else:
361 self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state])

eric ide

mercurial