Plugins/ViewManagerPlugins/Listspace/Listspace.py

changeset 3062
9de9373da5bb
parent 3037
a417a0670a36
child 3080
6c0a430b19df
child 3100
1c86bf655433
equal deleted inserted replaced
3059:16c93928cfc5 3062:9de9373da5bb
525 self.viewlist.item(index).setIcon( 525 self.viewlist.item(index).setIcon(
526 UI.PixmapCache.getIcon("fileModified.png")) 526 UI.PixmapCache.getIcon("fileModified.png"))
527 elif editor.hasSyntaxErrors(): 527 elif editor.hasSyntaxErrors():
528 self.viewlist.item(index).setIcon( 528 self.viewlist.item(index).setIcon(
529 UI.PixmapCache.getIcon("syntaxError.png")) 529 UI.PixmapCache.getIcon("syntaxError.png"))
530 elif editor.hasFlakesWarnings(): 530 elif editor.hasWarnings():
531 self.viewlist.item(index).setIcon( 531 self.viewlist.item(index).setIcon(
532 UI.PixmapCache.getIcon("warning.png")) 532 UI.PixmapCache.getIcon("warning.png"))
533 else: 533 else:
534 self.viewlist.item(index).setIcon( 534 self.viewlist.item(index).setIcon(
535 UI.PixmapCache.getIcon("empty.png")) 535 UI.PixmapCache.getIcon("empty.png"))
545 currentRow = self.viewlist.currentRow() 545 currentRow = self.viewlist.currentRow()
546 index = self.editors.index(editor) 546 index = self.editors.index(editor)
547 if editor.hasSyntaxErrors(): 547 if editor.hasSyntaxErrors():
548 self.viewlist.item(index).setIcon( 548 self.viewlist.item(index).setIcon(
549 UI.PixmapCache.getIcon("syntaxError.png")) 549 UI.PixmapCache.getIcon("syntaxError.png"))
550 elif editor.hasFlakesWarnings(): 550 elif editor.hasWarnings():
551 self.viewlist.item(index).setIcon( 551 self.viewlist.item(index).setIcon(
552 UI.PixmapCache.getIcon("warning.png")) 552 UI.PixmapCache.getIcon("warning.png"))
553 elif editor.isModified(): 553 elif editor.isModified():
554 self.viewlist.item(index).setIcon( 554 self.viewlist.item(index).setIcon(
555 UI.PixmapCache.getIcon("fileModified.png")) 555 UI.PixmapCache.getIcon("fileModified.png"))

eric ide

mercurial