Commit b8b0ab98 authored by Jeremy Bicha's avatar Jeremy Bicha 🎹

appearance: Always offer HighContrastInverse

since it's also built into GTK+ 3.

Note that there is no longer a GTK+ 2 version of this theme!

https://bugzilla.gnome.org/show_bug.cgi?id=788690
parent ef8ddfaf
...@@ -53,7 +53,7 @@ class GtkThemeSwitcher(GSettingsComboTweak): ...@@ -53,7 +53,7 @@ class GtkThemeSwitcher(GSettingsComboTweak):
dirs = ( os.path.join(gtweak.DATA_DIR, "themes"), dirs = ( os.path.join(gtweak.DATA_DIR, "themes"),
os.path.join(GLib.get_user_data_dir(), "themes"), os.path.join(GLib.get_user_data_dir(), "themes"),
os.path.join(os.path.expanduser("~"), ".themes")) os.path.join(os.path.expanduser("~"), ".themes"))
valid = ['Adwaita', 'HighContrast'] valid = ['Adwaita', 'HighContrast', 'HighContrastInverse']
valid += walk_directories(dirs, lambda d: valid += walk_directories(dirs, lambda d:
os.path.exists(os.path.join(d, "gtk-3.0", "gtk.css")) or \ os.path.exists(os.path.join(d, "gtk-3.0", "gtk.css")) or \
os.path.exists(os.path.join(d, "gtk-3.{}".format(gtk_ver)))) os.path.exists(os.path.join(d, "gtk-3.{}".format(gtk_ver))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment