eric6/Toolbox/Startup.py

changeset 7528
0345f54d3959
parent 7527
b2ae47eaf0ae
child 7533
88261c96484b
equal deleted inserted replaced
7527:b2ae47eaf0ae 7528:0345f54d3959
17 from E5Gui.E5Application import E5Application 17 from E5Gui.E5Application import E5Application
18 18
19 import Globals 19 import Globals
20 20
21 import UI.PixmapCache 21 import UI.PixmapCache
22 import Preferences
23 22
24 from eric6config import getConfig 23 from eric6config import getConfig
25 24
26 application = None 25 application = None
27 26
141 @param application reference to the application object 140 @param application reference to the application object
142 @type E5Application 141 @type E5Application
143 @return list of default icon paths 142 @return list of default icon paths
144 @rtype list of str 143 @rtype list of str
145 """ 144 """
145 import Preferences
146
146 defaultIconsPath = Preferences.getIcons("DefaultIconsPath") 147 defaultIconsPath = Preferences.getIcons("DefaultIconsPath")
147 if defaultIconsPath == "automatic": 148 if defaultIconsPath == "automatic":
148 if application.usesDarkPalette(): 149 if application.usesDarkPalette():
149 # dark desktop 150 # dark desktop
150 defaultIconsPath = "breeze-dark" 151 defaultIconsPath = "breeze-dark"

eric ide

mercurial