diff --git a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py index a2630f94ca..f7c47c6c98 100755 --- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py +++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py @@ -148,6 +148,8 @@ def refresh_themes(self): if os.path.exists(path): try: for line in list(open(path)): + if line.startswith("Hidden=true"): + break if line.startswith("Directories="): valid.append(directory) break