Package: cinnamon / 3.8.8-1

always-add-default-theme.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Margarita Manterola <marga@debian.org>
Date: Mon, 26 Mar 2018 18:38:57 +0200
Subject: Forcefully add the Default theme to the list of themes.

Forwarded: not-yet
Last-Update: 2017-01-29
---
 files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 d1d7515..946dc13 100755
--- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py
+++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py
@@ -257,7 +257,7 @@ class Module:
         dirs = ("/usr/share/themes", os.path.join(os.path.expanduser("~"), ".themes"))
         valid = walk_directories(dirs, self.filter_func_gtk_dir, return_directories=True)
         valid.sort(key=lambda a: a[0].lower())
-        res = []
+        res = [('Default', '/usr/share/muffin/theme')]
         for i in valid:
             for j in res:
                 if i[0] == j[0]: