[gnome-tweak-tool/gnome-3-26] appearance: Don't duplicate the cursor theme name



commit 2efa87e11827baf61155f7eecfd1db0a16431c80
Author: Jan Tojnar <jtojnar gmail com>
Date:   Sun Dec 17 18:41:53 2017 +0100

    appearance: Don't duplicate the cursor theme name
    
    A theme name should not be listed more than once
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762789

 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 05d13e9..1a56287 100644
--- a/gtweak/tweaks/tweak_group_appearance.py
+++ b/gtweak/tweaks/tweak_group_appearance.py
@@ -93,7 +93,7 @@ class CursorThemeSwitcher(GSettingsComboTweak):
         valid = walk_directories(dirs, lambda d:
                     os.path.isdir(d) and \
                         os.path.exists(os.path.join(d, "cursors")))
-        return valid
+        return set(valid)
 
 class ShellThemeTweak(Gtk.Box, Tweak):
 


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