From 7caea5c43de55e7bad5caf09b87540271dbe24a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Fri, 26 Dec 2025 06:02:34 +0100 Subject: [PATCH] Hide icon themes that marked as 'Hidden' The icon theme specification provides this property for themes that are not supposed to be visible to the user. --- files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py | 2 ++ 1 file changed, 2 insertions(+) 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