diff options
author | Elan Ruusamäe | 2015-03-25 07:14:34 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2015-03-25 07:14:34 (GMT) |
commit | eb99a939d50a97f00fedaeb5c2d4fde80460fb9e (patch) | |
tree | 9ccdffa8f0ac9eac14db3625c27a7f3551768a29 /cinnamon-gtk-3.14.patch | |
parent | 756d301f6a85ea29828b7dd8a3d3a60dd99669e8 (diff) | |
download | cinnamon-eb99a939d50a97f00fedaeb5c2d4fde80460fb9e.zip cinnamon-eb99a939d50a97f00fedaeb5c2d4fde80460fb9e.tar.gz |
update patches from fedora
refs 8e17d1a
Diffstat (limited to 'cinnamon-gtk-3.14.patch')
-rw-r--r-- | cinnamon-gtk-3.14.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cinnamon-gtk-3.14.patch b/cinnamon-gtk-3.14.patch new file mode 100644 index 0000000..7e04b12 --- /dev/null +++ b/cinnamon-gtk-3.14.patch @@ -0,0 +1,11 @@ +--- a/files/usr/lib/cinnamon-settings/modules/cs_themes.py ++++ b/files/usr/lib/cinnamon-settings/modules/cs_themes.py +@@ -91,7 +91,7 @@ + + def _load_icon_themes(self): + dirs = ("/usr/share/icons", os.path.join(os.path.expanduser("~"), ".icons")) +- valid = walk_directories(dirs, lambda d: os.path.isdir(d) and not os.path.exists(os.path.join(d, "cursors")) and os.path.exists(os.path.join(d, "index.theme"))) ++ valid = walk_directories(dirs, lambda d: os.path.isdir(d) and os.path.exists(os.path.join(d, "index.theme"))) + valid.sort(lambda a,b: cmp(a.lower(), b.lower())) + res = [] + for i in valid: |