Drop grey icon themes (#869)
* Add settings translator for icon themes * Rename `typicons_colour_*` to `typicons_*` * Delete grey icon themes * Delete outdated paragraph in main README * Fix tests
This commit is contained in:
committed by
GitHub
parent
3403d98c72
commit
1fb9648c6c
@@ -79,7 +79,7 @@ class Config:
|
||||
# General
|
||||
self.guiTheme = "default"
|
||||
self.guiSyntax = "default_light"
|
||||
self.guiIcons = "typicons_colour_light"
|
||||
self.guiIcons = "typicons_light"
|
||||
self.guiDark = False # Load icons for dark backgrounds, if available
|
||||
self.guiFont = "" # Defaults to system default font
|
||||
self.guiFontSize = 11 # Is overridden if system default is loaded
|
||||
@@ -548,6 +548,12 @@ class Config:
|
||||
logger.info("Using straight double quotes, so disabling auto-replace")
|
||||
self.doReplaceDQuote = False
|
||||
|
||||
# Check deprecated settings
|
||||
if self.guiIcons in ("typicons_colour_dark", "typicons_grey_dark"):
|
||||
self.guiIcons = "typicons_dark"
|
||||
elif self.guiIcons in ("typicons_colour_light", "typicons_grey_light"):
|
||||
self.guiIcons = "typicons_light"
|
||||
|
||||
return True
|
||||
|
||||
def saveConfig(self):
|
||||
|
||||
Reference in New Issue
Block a user