Skip to content

Commit

Permalink
One small fix regarding kvantum fallback theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ALEX11BR committed May 23, 2022
1 parent aedf16c commit 71e51cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,10 @@ def __init__(self, app):
kvantumKeyFile.load_from_file(os.path.join(GLib.get_user_config_dir(), "Kvantum", "kvantum.kvconfig"), GLib.KeyFileFlags.NONE)
self.kvantumThemeName = kvantumKeyFile.get_string("General", "theme")
if self.kvantumThemeName[-1] == "#":
# drop the last character i.e. '#', the 'changed theme' modifier
self.kvantumThemeName = self.kvantumThemeName[:-1]
except:
self.kvantumThemeName = self.gtkProps.gtk_theme_name
self.kvantumThemeName = "Default"
hasAnotherKvantumTheme = self.gtkProps.gtk_theme_name != self.kvantumThemeName
self.kvantumThemeFilePath = "//notset"
# When we run the constructor for the kvantumSearchableThemeList,
Expand Down

0 comments on commit 71e51cb

Please sign in to comment.