Plugins/ViewManagerPlugins/Tabview/Tabview.py

branch
Py2 comp.
changeset 3080
6c0a430b19df
parent 3065
070b35dde35e
parent 3062
9de9373da5bb
child 3142
55030c09e142
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Wed Nov 13 23:30:59 2013 +0100
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Sat Nov 16 10:06:28 2013 +0100
@@ -1007,7 +1007,7 @@
             tw.setTabIcon(index, UI.PixmapCache.getIcon("fileModified.png"))
         elif editor.hasSyntaxErrors():
             tw.setTabIcon(index, UI.PixmapCache.getIcon("syntaxError.png"))
-        elif editor.hasFlakesWarnings():
+        elif editor.hasWarnings():
             tw.setTabIcon(index, UI.PixmapCache.getIcon("warning.png"))
         else:
             tw.setTabIcon(index, UI.PixmapCache.getIcon("empty.png"))
@@ -1025,7 +1025,7 @@
         index = tw.indexOf(editor)
         if editor.hasSyntaxErrors():
             tw.setTabIcon(index, UI.PixmapCache.getIcon("syntaxError.png"))
-        elif editor.hasFlakesWarnings():
+        elif editor.hasWarnings():
             tw.setTabIcon(index, UI.PixmapCache.getIcon("warning.png"))
         elif editor.isModified():
             tw.setTabIcon(index, UI.PixmapCache.getIcon("fileModified.png"))

eric ide

mercurial