Added support for icon themes in the source. Still need to add it to preferences.
This commit is contained in:
+1
-2
@@ -106,6 +106,7 @@ class GuiTheme:
|
||||
self.cssFile = None
|
||||
|
||||
self.updateTheme()
|
||||
self.theIcons.updateTheme()
|
||||
|
||||
self.getIcon = self.theIcons.getIcon
|
||||
self.getPixmap = self.theIcons.getPixmap
|
||||
@@ -133,8 +134,6 @@ class GuiTheme:
|
||||
self.confFile = path.join(self.themePath,self.confName)
|
||||
self.cssFile = path.join(self.themePath,self.cssName)
|
||||
|
||||
self.theIcons.initIcons(path.join(self.themePath,self.iconPath))
|
||||
|
||||
self.loadTheme()
|
||||
self.loadSyntax()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user