diff -r 1358e9d67a1c -r 88261c96484b eric6/Plugins/VcsPlugins/vcsGit/ProjectHelper.py --- a/eric6/Plugins/VcsPlugins/vcsGit/ProjectHelper.py Sun Apr 12 18:46:08 2020 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/ProjectHelper.py Sun Apr 12 19:07:49 2020 +0200 @@ -71,7 +71,7 @@ """ self.vcsNewAct = E5Action( self.tr('New from repository'), - UI.PixmapCache.getIcon("vcsCheckout.png"), + UI.PixmapCache.getIcon("vcsCheckout"), self.tr('&New from repository...'), 0, 0, self, 'git_new') self.vcsNewAct.setStatusTip(self.tr( @@ -87,7 +87,7 @@ self.gitFetchAct = E5Action( self.tr('Fetch changes'), - UI.PixmapCache.getIcon("vcsUpdate.png"), + UI.PixmapCache.getIcon("vcsUpdate"), self.tr('Fetch changes'), 0, 0, self, 'git_fetch') self.gitFetchAct.setStatusTip(self.tr( @@ -103,7 +103,7 @@ self.gitPullAct = E5Action( self.tr('Pull changes'), - UI.PixmapCache.getIcon("vcsUpdate.png"), + UI.PixmapCache.getIcon("vcsUpdate"), self.tr('Pull changes'), 0, 0, self, 'git_pull') self.gitPullAct.setStatusTip(self.tr( @@ -119,7 +119,7 @@ self.vcsCommitAct = E5Action( self.tr('Commit changes to repository'), - UI.PixmapCache.getIcon("vcsCommit.png"), + UI.PixmapCache.getIcon("vcsCommit"), self.tr('Commit changes to repository...'), 0, 0, self, 'git_commit') self.vcsCommitAct.setStatusTip(self.tr( @@ -135,7 +135,7 @@ self.gitPushAct = E5Action( self.tr('Push changes'), - UI.PixmapCache.getIcon("vcsCommit.png"), + UI.PixmapCache.getIcon("vcsCommit"), self.tr('Push changes'), 0, 0, self, 'git_push') self.gitPushAct.setStatusTip(self.tr( @@ -151,7 +151,7 @@ self.vcsExportAct = E5Action( self.tr('Export from repository'), - UI.PixmapCache.getIcon("vcsExport.png"), + UI.PixmapCache.getIcon("vcsExport"), self.tr('&Export from repository...'), 0, 0, self, 'git_export_repo') self.vcsExportAct.setStatusTip(self.tr( @@ -166,7 +166,7 @@ self.gitLogBrowserAct = E5Action( self.tr('Show log browser'), - UI.PixmapCache.getIcon("vcsLog.png"), + UI.PixmapCache.getIcon("vcsLog"), self.tr('Show log browser'), 0, 0, self, 'git_log_browser') self.gitLogBrowserAct.setStatusTip(self.tr( @@ -183,7 +183,7 @@ self.gitReflogBrowserAct = E5Action( self.tr('Show reflog browser'), - UI.PixmapCache.getIcon("vcsLog.png"), + UI.PixmapCache.getIcon("vcsLog"), self.tr('Show reflog browser'), 0, 0, self, 'git_reflog_browser') self.gitReflogBrowserAct.setStatusTip(self.tr( @@ -200,7 +200,7 @@ self.vcsDiffAct = E5Action( self.tr('Show differences'), - UI.PixmapCache.getIcon("vcsDiff.png"), + UI.PixmapCache.getIcon("vcsDiff"), self.tr('Show &differences...'), 0, 0, self, 'git_diff') self.vcsDiffAct.setStatusTip(self.tr( @@ -216,7 +216,7 @@ self.gitExtDiffAct = E5Action( self.tr('Show differences (extended)'), - UI.PixmapCache.getIcon("vcsDiff.png"), + UI.PixmapCache.getIcon("vcsDiff"), self.tr('Show differences (extended) ...'), 0, 0, self, 'git_extendeddiff') self.gitExtDiffAct.setStatusTip(self.tr( @@ -232,7 +232,7 @@ self.vcsStatusAct = E5Action( self.tr('Show status'), - UI.PixmapCache.getIcon("vcsStatus.png"), + UI.PixmapCache.getIcon("vcsStatus"), self.tr('Show &status...'), 0, 0, self, 'git_status') self.vcsStatusAct.setStatusTip(self.tr( @@ -247,7 +247,7 @@ self.vcsSwitchAct = E5Action( self.tr('Switch'), - UI.PixmapCache.getIcon("vcsSwitch.png"), + UI.PixmapCache.getIcon("vcsSwitch"), self.tr('S&witch...'), 0, 0, self, 'git_switch') self.vcsSwitchAct.setStatusTip(self.tr( @@ -263,7 +263,7 @@ self.vcsTagAct = E5Action( self.tr('Tag in repository'), - UI.PixmapCache.getIcon("vcsTag.png"), + UI.PixmapCache.getIcon("vcsTag"), self.tr('&Tag in repository...'), 0, 0, self, 'git_tag') self.vcsTagAct.setStatusTip(self.tr( @@ -352,7 +352,7 @@ self.gitBranchAct = E5Action( self.tr('Branch in repository'), - UI.PixmapCache.getIcon("vcsBranch.png"), + UI.PixmapCache.getIcon("vcsBranch"), self.tr('&Branch in repository...'), 0, 0, self, 'git_branch') self.gitBranchAct.setStatusTip(self.tr( @@ -396,7 +396,7 @@ self.vcsRevertAct = E5Action( self.tr('Revert changes'), - UI.PixmapCache.getIcon("vcsRevert.png"), + UI.PixmapCache.getIcon("vcsRevert"), self.tr('Re&vert changes'), 0, 0, self, 'git_revert') self.vcsRevertAct.setStatusTip(self.tr( @@ -411,7 +411,7 @@ self.gitUnstageAct = E5Action( self.tr('Unstage changes'), - UI.PixmapCache.getIcon("vcsRevert.png"), + UI.PixmapCache.getIcon("vcsRevert"), self.tr('&Unstage changes'), 0, 0, self, 'git_revert') self.gitUnstageAct.setStatusTip(self.tr( @@ -426,7 +426,7 @@ self.vcsMergeAct = E5Action( self.tr('Merge'), - UI.PixmapCache.getIcon("vcsMerge.png"), + UI.PixmapCache.getIcon("vcsMerge"), self.tr('Mer&ge changes...'), 0, 0, self, 'git_merge') self.vcsMergeAct.setStatusTip(self.tr( @@ -632,7 +632,7 @@ self.gitCherryPickAct = E5Action( self.tr('Copy Commits'), - UI.PixmapCache.getIcon("vcsGraft.png"), + UI.PixmapCache.getIcon("vcsGraft"), self.tr('Copy Commits'), 0, 0, self, 'git_cherrypick') self.gitCherryPickAct.setStatusTip(self.tr( @@ -1083,7 +1083,7 @@ self.gitBisectLogBrowserAct = E5Action( self.tr('Show bisect log browser'), - UI.PixmapCache.getIcon("vcsLog.png"), + UI.PixmapCache.getIcon("vcsLog"), self.tr('Show bisect log browser'), 0, 0, self, 'git_bisect_log_browser') self.gitBisectLogBrowserAct.setStatusTip(self.tr( @@ -1424,7 +1424,7 @@ self.subMenus.append(bisectMenu) tagsMenu = QMenu(self.tr("Tags"), menu) - tagsMenu.setIcon(UI.PixmapCache.getIcon("vcsTag.png")) + tagsMenu.setIcon(UI.PixmapCache.getIcon("vcsTag")) tagsMenu.setTearOffEnabled(True) tagsMenu.addAction(self.vcsTagAct) tagsMenu.addAction(self.gitTagListAct) @@ -1432,7 +1432,7 @@ self.subMenus.append(tagsMenu) branchesMenu = QMenu(self.tr("Branches"), menu) - branchesMenu.setIcon(UI.PixmapCache.getIcon("vcsBranch.png")) + branchesMenu.setIcon(UI.PixmapCache.getIcon("vcsBranch")) branchesMenu.setTearOffEnabled(True) branchesMenu.addAction(self.gitBranchAct) branchesMenu.addSeparator() @@ -1465,7 +1465,7 @@ remotesMenu.addAction(self.gitRemotePruneAct) cherrypickMenu = QMenu(self.tr("Cherry-pick"), menu) - cherrypickMenu.setIcon(UI.PixmapCache.getIcon("vcsGraft.png")) + cherrypickMenu.setIcon(UI.PixmapCache.getIcon("vcsGraft")) cherrypickMenu.setTearOffEnabled(True) cherrypickMenu.addAction(self.gitCherryPickAct) cherrypickMenu.addAction(self.gitCherryPickContinueAct)