void-packages/srcpkgs/cinnamon/patches/6e7ea0640ddb97d54febfbb76ac...

23 lines
946 B
Diff

From 6e7ea0640ddb97d54febfbb76ac0e5cd0c0349d4 Mon Sep 17 00:00:00 2001
From: Stephen Collins <scrivera64@gmail.com>
Date: Sat, 14 Sep 2019 10:47:29 -0600
Subject: [PATCH] cs_default.py: fix missing declaration causing crash when
desc not found (#8855)
---
.../cinnamon/cinnamon-settings/modules/cs_default.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py
index 85a90d6c2b..5c23e4da9c 100755
--- files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py
+++ files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py
@@ -443,6 +443,7 @@ def acceptContentType(self, content_type):
return True
def getDescription(self, content_type):
+ description = None
for d in other_defs:
if content_type == d[DEF_CONTENT_TYPE]:
s = d[DEF_LABEL]