285 itm.setIcon(1, UI.PixmapCache.getIcon("warning")) |
288 itm.setIcon(1, UI.PixmapCache.getIcon("warning")) |
286 elif msgCode.startswith(("A", "N")): |
289 elif msgCode.startswith(("A", "N")): |
287 itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) |
290 itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) |
288 elif msgCode.startswith("D"): |
291 elif msgCode.startswith("D"): |
289 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) |
292 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) |
|
293 elif msgCode.startswith("P"): |
|
294 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed")) |
290 elif msgCode.startswith("S"): |
295 elif msgCode.startswith("S"): |
291 if "severity" in result: |
296 if "severity" in result: |
292 if result["severity"] == "H": |
297 if result["severity"] == "H": |
293 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow")) |
298 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow")) |
294 elif result["severity"] == "M": |
299 elif result["severity"] == "M": |