src/eric7/QScintilla/ShellWindow.py

branch
eric7
changeset 9695
ad962e9b904d
parent 9653
e67609152c5e
child 10069
435cc5875135
diff -r 90a7081e2837 -r ad962e9b904d src/eric7/QScintilla/ShellWindow.py
--- a/src/eric7/QScintilla/ShellWindow.py	Thu Jan 12 11:52:43 2023 +0100
+++ b/src/eric7/QScintilla/ShellWindow.py	Thu Jan 12 13:48:00 2023 +0100
@@ -24,7 +24,6 @@
 from eric7.EricWidgets.EricZoomWidget import EricZoomWidget
 from eric7.Globals import getConfig
 from eric7.SystemUtilities import OSUtilities, PythonUtilities
-from eric7.UI import Config
 from eric7.UI.SearchWidget import SearchWidget
 from eric7.VirtualEnv.VirtualenvManager import VirtualenvManager
 
@@ -1444,7 +1443,6 @@
         Private method to create the various toolbars.
         """
         filetb = self.addToolBar(self.tr("File"))
-        filetb.setIconSize(Config.ToolBarIconSize)
         filetb.addAction(self.newWindowAct)
         filetb.addSeparator()
         filetb.addAction(self.restartAct)
@@ -1455,33 +1453,28 @@
         filetb.addAction(self.exitAct)
 
         edittb = self.addToolBar(self.tr("Edit"))
-        edittb.setIconSize(Config.ToolBarIconSize)
         edittb.addAction(self.cutAct)
         edittb.addAction(self.copyAct)
         edittb.addAction(self.pasteAct)
         edittb.addAction(self.clearAct)
 
         findtb = self.addToolBar(self.tr("Find"))
-        findtb.setIconSize(Config.ToolBarIconSize)
         findtb.addAction(self.searchAct)
         findtb.addAction(self.searchNextAct)
         findtb.addAction(self.searchPrevAct)
 
         viewtb = self.addToolBar(self.tr("View"))
-        viewtb.setIconSize(Config.ToolBarIconSize)
         viewtb.addAction(self.zoomInAct)
         viewtb.addAction(self.zoomOutAct)
         viewtb.addAction(self.zoomResetAct)
         viewtb.addAction(self.zoomToAct)
 
         self.__historyToolbar = self.addToolBar(self.tr("History"))
-        self.__historyToolbar.setIconSize(Config.ToolBarIconSize)
         self.__historyToolbar.addAction(self.showHistoryAct)
         self.__historyToolbar.addAction(self.clearHistoryAct)
         self.__historyToolbar.setEnabled(self.__shell.isHistoryEnabled())
 
         helptb = self.addToolBar(self.tr("Help"))
-        helptb.setIconSize(Config.ToolBarIconSize)
         helptb.addAction(self.whatsThisAct)
 
     ##################################################################

eric ide

mercurial