Plugins/ViewManagerPlugins/Listspace/Listspace.py

changeset 88
3701923bccf2
parent 55
b5c84934de9c
child 458
1695e7a2db54
child 792
a13346916170
--- a/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Sat Jan 30 16:07:16 2010 +0000
+++ b/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Sat Jan 30 18:37:18 2010 +0000
@@ -419,6 +419,8 @@
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("fileModified.png"))
         elif editor.hasSyntaxErrors():
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("syntaxError.png"))
+        elif editor.hasFlakesWarnings():
+            self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("warning.png"))
         else:
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("empty.png"))
         self.viewlist.setCurrentRow(currentRow)
@@ -434,6 +436,8 @@
         index = self.editors.index(editor)
         if editor.hasSyntaxErrors():
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("syntaxError.png"))
+        elif editor.hasFlakesWarnings():
+            self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("warning.png"))
         else:
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("empty.png"))
         self.viewlist.setCurrentRow(currentRow)
@@ -648,4 +652,4 @@
                 else:
                     self.emit(SIGNAL('changeCaption'), "")
         
-        return False
\ No newline at end of file
+        return False

eric ide

mercurial