[gnome-tweak-tool/gnome-3-26] appearance: Always offer HighContrastInverse



commit a0ebb77c60f0237589a669df087101a3476b304a
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sun Nov 5 07:47:38 2017 -0500

    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

 gtweak/tweaks/tweak_group_appearance.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_appearance.py b/gtweak/tweaks/tweak_group_appearance.py
index 4358f37..05d13e9 100644
--- a/gtweak/tweaks/tweak_group_appearance.py
+++ b/gtweak/tweaks/tweak_group_appearance.py
@@ -53,7 +53,7 @@ class GtkThemeSwitcher(GSettingsComboTweak):
         dirs = ( os.path.join(gtweak.DATA_DIR, "themes"),
                  os.path.join(GLib.get_user_data_dir(), "themes"),
                  os.path.join(os.path.expanduser("~"), ".themes"))
-        valid = ['Adwaita', 'HighContrast']
+        valid = ['Adwaita', 'HighContrast', 'HighContrastInverse']
         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.{}".format(gtk_ver))))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]