137 defaultIconPaths = [ |
137 defaultIconPaths = [ |
138 # add paths for vector graphics |
138 # add paths for vector graphics |
139 os.path.join(getConfig('ericIconDir'), iconPath), |
139 os.path.join(getConfig('ericIconDir'), iconPath), |
140 os.path.join(getConfig('ericIconDir'), iconPath, "languages"), |
140 os.path.join(getConfig('ericIconDir'), iconPath, "languages"), |
141 # add old default pixel icons |
141 # add old default pixel icons |
142 ## os.path.join(getConfig('ericIconDir'), "default"), |
|
143 ## os.path.join(getConfig('ericIconDir'), "default", "languages"), |
|
144 ] |
142 ] |
145 iconPaths = Preferences.getIcons("Path") |
143 iconPaths = Preferences.getIcons("Path") |
146 for iconPath in iconPaths: |
144 for iconPath in iconPaths: |
147 if iconPath: |
145 if iconPath: |
148 UI.PixmapCache.addSearchPath(iconPath) |
146 UI.PixmapCache.addSearchPath(iconPath) |