diff -r 4cc5c8d1184d -r 3701923bccf2 Plugins/ViewManagerPlugins/MdiArea/MdiArea.py --- a/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py Sat Jan 30 16:07:16 2010 +0000 +++ b/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py Sat Jan 30 18:37:18 2010 +0000 @@ -126,6 +126,8 @@ win.show() if win.hasSyntaxErrors(): self.__setSubWindowIcon(win, UI.PixmapCache.getIcon("syntaxError.png")) + elif win.hasFlakesWarnings(): + self.__setSubWindowIcon(win, UI.PixmapCache.getIcon("warning.png")) else: self.__setSubWindowIcon(win, UI.PixmapCache.getIcon("empty.png")) @@ -301,6 +303,8 @@ self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("fileModified.png")) elif editor.hasSyntaxErrors(): self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("syntaxError.png")) + elif editor.hasFlakesWarnings(): + self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("warning.png")) else: self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("empty.png")) self._checkActions(editor) @@ -313,6 +317,8 @@ """ if editor.hasSyntaxErrors(): self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("syntaxError.png")) + elif editor.hasFlakesWarnings(): + self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("warning.png")) else: self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("empty.png")) @@ -359,4 +365,4 @@ Private slot to iconize all windows. """ for win in self.subWindowList(): - win.showMinimized() \ No newline at end of file + win.showMinimized()