Fixed the online syntax check by correcting the icon shown by the various viewmanager plug-ins.

Mon, 03 Oct 2011 12:51:39 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 03 Oct 2011 12:51:39 +0200
changeset 1356
16e55845cff0
parent 1353
e1c0af081a8e
child 1357
68fb0a7677ff

Fixed the online syntax check by correcting the icon shown by the various viewmanager plug-ins.

Plugins/ViewManagerPlugins/Listspace/Listspace.py file | annotate | diff | comparison | revisions
Plugins/ViewManagerPlugins/MdiArea/MdiArea.py file | annotate | diff | comparison | revisions
Plugins/ViewManagerPlugins/Tabview/Tabview.py file | annotate | diff | comparison | revisions
--- a/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Sun Oct 02 20:06:38 2011 +0200
+++ b/Plugins/ViewManagerPlugins/Listspace/Listspace.py	Mon Oct 03 12:51:39 2011 +0200
@@ -473,6 +473,8 @@
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("syntaxError.png"))
         elif editor.hasFlakesWarnings():
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("warning.png"))
+        elif editor.isModified():
+            self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("fileModified.png"))
         else:
             self.viewlist.item(index).setIcon(UI.PixmapCache.getIcon("empty.png"))
         self.viewlist.setCurrentRow(currentRow)
--- a/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py	Sun Oct 02 20:06:38 2011 +0200
+++ b/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py	Mon Oct 03 12:51:39 2011 +0200
@@ -359,6 +359,8 @@
             self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("syntaxError.png"))
         elif editor.hasFlakesWarnings():
             self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("warning.png"))
+        elif editor.isModified():
+            self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("fileModified.png"))
         else:
             self.__setSubWindowIcon(editor, UI.PixmapCache.getIcon("empty.png"))
         
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Sun Oct 02 20:06:38 2011 +0200
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Mon Oct 03 12:51:39 2011 +0200
@@ -928,6 +928,8 @@
             tw.setTabIcon(index, UI.PixmapCache.getIcon("syntaxError.png"))
         elif editor.hasFlakesWarnings():
             tw.setTabIcon(index, UI.PixmapCache.getIcon("warning.png"))
+        elif editor.isModified():
+            tw.setTabIcon(index, UI.PixmapCache.getIcon("fileModified.png"))
         else:
             tw.setTabIcon(index, UI.PixmapCache.getIcon("empty.png"))
         

eric ide

mercurial