Tools/TrayStarter.py

changeset 907
74904673b366
parent 896
f855351d5e98
child 945
8cd4d08fa9f6
--- a/Tools/TrayStarter.py	Sun Feb 20 18:34:04 2011 +0100
+++ b/Tools/TrayStarter.py	Sun Feb 20 18:50:59 2011 +0100
@@ -97,6 +97,10 @@
             self.trUtf8("SQL Browser"), self.__startSqlBrowser)
         self.__menu.addSeparator()
         
+        self.__menu.addAction(UI.PixmapCache.getIcon("iconEditor.png"), 
+            self.trUtf8("Icon Editor"), self.__startIconEditor)
+        self.__menu.addSeparator()
+        
         self.__menu.addAction(UI.PixmapCache.getIcon("pluginInstall.png"),
             self.trUtf8("Install Plugin"), self.__startPluginInstall)
         self.__menu.addAction(UI.PixmapCache.getIcon("pluginUninstall.png"),
@@ -301,6 +305,13 @@
         self.__startProc("eric5_sqlbrowser.py", "--config={0}".format(
             Utilities.getConfigDir()))
 
+    def __startIconEditor(self):
+        """
+        Private slot to start the eric5 icon editor dialog.
+        """
+        self.__startProc("eric5_iconeditor.py", "--config={0}".format(
+            Utilities.getConfigDir()))
+
     def __startQRegExp(self):
         """
         Private slot to start the eric5 QRegExp editor dialog.

eric ide

mercurial