diff options
Diffstat (limited to 'gnome-extra/cinnamon/files/cinnamon-2.8.3-gnome-3.14.patch')
-rw-r--r-- | gnome-extra/cinnamon/files/cinnamon-2.8.3-gnome-3.14.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.8.3-gnome-3.14.patch b/gnome-extra/cinnamon/files/cinnamon-2.8.3-gnome-3.14.patch new file mode 100644 index 000000000000..26f7e05073e9 --- /dev/null +++ b/gnome-extra/cinnamon/files/cinnamon-2.8.3-gnome-3.14.patch @@ -0,0 +1,11 @@ +--- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py ++++ b/files/usr/share/cinnamon/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: |