eric6/Project/Project.py

changeset 7533
88261c96484b
parent 7518
6dea4abd3097
child 7635
0cdead130a81
--- a/eric6/Project/Project.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/Project/Project.py	Sun Apr 12 19:07:49 2020 +0200
@@ -3865,7 +3865,7 @@
         
         act = E5Action(
             self.tr('New project'),
-            UI.PixmapCache.getIcon("projectNew.png"),
+            UI.PixmapCache.getIcon("projectNew"),
             self.tr('&New...'), 0, 0,
             self.actGrp1, 'project_new')
         act.setStatusTip(self.tr('Generate a new project'))
@@ -3879,7 +3879,7 @@
 
         act = E5Action(
             self.tr('Open project'),
-            UI.PixmapCache.getIcon("projectOpen.png"),
+            UI.PixmapCache.getIcon("projectOpen"),
             self.tr('&Open...'), 0, 0,
             self.actGrp1, 'project_open')
         act.setStatusTip(self.tr('Open an existing project'))
@@ -3892,7 +3892,7 @@
 
         self.closeAct = E5Action(
             self.tr('Close project'),
-            UI.PixmapCache.getIcon("projectClose.png"),
+            UI.PixmapCache.getIcon("projectClose"),
             self.tr('&Close'), 0, 0, self, 'project_close')
         self.closeAct.setStatusTip(self.tr('Close the current project'))
         self.closeAct.setWhatsThis(self.tr(
@@ -3904,7 +3904,7 @@
 
         self.saveAct = E5Action(
             self.tr('Save project'),
-            UI.PixmapCache.getIcon("projectSave.png"),
+            UI.PixmapCache.getIcon("projectSave"),
             self.tr('&Save'), 0, 0, self, 'project_save')
         self.saveAct.setStatusTip(self.tr('Save the current project'))
         self.saveAct.setWhatsThis(self.tr(
@@ -3916,7 +3916,7 @@
 
         self.saveasAct = E5Action(
             self.tr('Save project as'),
-            UI.PixmapCache.getIcon("projectSaveAs.png"),
+            UI.PixmapCache.getIcon("projectSaveAs"),
             self.tr('Save &as...'), 0, 0, self, 'project_save_as')
         self.saveasAct.setStatusTip(self.tr(
             'Save the current project to a new file'))
@@ -3931,7 +3931,7 @@
         
         self.addFilesAct = E5Action(
             self.tr('Add files to project'),
-            UI.PixmapCache.getIcon("fileMisc.png"),
+            UI.PixmapCache.getIcon("fileMisc"),
             self.tr('Add &files...'), 0, 0,
             self.actGrp2, 'project_add_file')
         self.addFilesAct.setStatusTip(self.tr(
@@ -3947,7 +3947,7 @@
 
         self.addDirectoryAct = E5Action(
             self.tr('Add directory to project'),
-            UI.PixmapCache.getIcon("dirOpen.png"),
+            UI.PixmapCache.getIcon("dirOpen"),
             self.tr('Add directory...'), 0, 0,
             self.actGrp2, 'project_add_directory')
         self.addDirectoryAct.setStatusTip(
@@ -3962,7 +3962,7 @@
 
         self.addLanguageAct = E5Action(
             self.tr('Add translation to project'),
-            UI.PixmapCache.getIcon("linguist4.png"),
+            UI.PixmapCache.getIcon("linguist4"),
             self.tr('Add &translation...'), 0, 0,
             self.actGrp2, 'project_add_translation')
         self.addLanguageAct.setStatusTip(
@@ -4007,7 +4007,7 @@
         
         self.propsAct = E5Action(
             self.tr('Project properties'),
-            UI.PixmapCache.getIcon("projectProps.png"),
+            UI.PixmapCache.getIcon("projectProps"),
             self.tr('&Properties...'), 0, 0, self,
             'project_properties')
         self.propsAct.setStatusTip(self.tr('Show the project properties'))
@@ -4020,7 +4020,7 @@
 
         self.userPropsAct = E5Action(
             self.tr('User project properties'),
-            UI.PixmapCache.getIcon("projectUserProps.png"),
+            UI.PixmapCache.getIcon("projectUserProps"),
             self.tr('&User Properties...'), 0, 0, self,
             'project_user_properties')
         self.userPropsAct.setStatusTip(self.tr(
@@ -4257,7 +4257,7 @@
 
         self.pluginPkgListAct = E5Action(
             self.tr('Create Package List'),
-            UI.PixmapCache.getIcon("pluginArchiveList.png"),
+            UI.PixmapCache.getIcon("pluginArchiveList"),
             self.tr('Create &Package List'), 0, 0,
             self.pluginGrp, 'project_plugin_pkglist')
         self.pluginPkgListAct.setStatusTip(
@@ -4273,7 +4273,7 @@
 
         self.pluginArchiveAct = E5Action(
             self.tr('Create Plugin Archives'),
-            UI.PixmapCache.getIcon("pluginArchive.png"),
+            UI.PixmapCache.getIcon("pluginArchive"),
             self.tr('Create Plugin &Archives'), 0, 0,
             self.pluginGrp, 'project_plugin_archive')
         self.pluginArchiveAct.setStatusTip(
@@ -4290,7 +4290,7 @@
     
         self.pluginSArchiveAct = E5Action(
             self.tr('Create Plugin Archives (Snapshot)'),
-            UI.PixmapCache.getIcon("pluginArchiveSnapshot.png"),
+            UI.PixmapCache.getIcon("pluginArchiveSnapshot"),
             self.tr('Create Plugin Archives (&Snapshot)'), 0, 0,
             self.pluginGrp, 'project_plugin_sarchive')
         self.pluginSArchiveAct.setStatusTip(self.tr(
@@ -5518,7 +5518,7 @@
                               "created successfully.</p>")
         if self.ui.notificationsEnabled():
             self.ui.showNotification(
-                UI.PixmapCache.getPixmap("pluginArchive48.png"),
+                UI.PixmapCache.getPixmap("pluginArchive48"),
                 self.tr("Create Plugin Archive"),
                 message)
         else:
@@ -5786,7 +5786,7 @@
                 
                 if self.ui.notificationsEnabled() and not interactive:
                     self.ui.showNotification(
-                        UI.PixmapCache.getPixmap("makefile48.png"),
+                        UI.PixmapCache.getPixmap("makefile48"),
                         title,
                         message)
                 else:

eric ide

mercurial