summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-apps/menulibre/files/0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/recipes-apps/menulibre/files/0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch')
-rw-r--r--meta-xfce/recipes-apps/menulibre/files/0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-xfce/recipes-apps/menulibre/files/0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch b/meta-xfce/recipes-apps/menulibre/files/0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch
deleted file mode 100644
index 1e92088e1..000000000
--- a/meta-xfce/recipes-apps/menulibre/files/0003-MenulibreXdg.py-fix-loading-of-desktop-files.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 90098d835b62b38ac396d55b80a684770dbaacde Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Mon, 31 Oct 2016 15:50:52 +0100
4Subject: [PATCH] MenulibreXdg.py: fix loading of desktop files
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9fixes:
10| UnicodeDecodeError: 'ascii' codec can't decode byet 0xd9 in position 235: ordinal not in range(128)
11
12and information display not properly filled.
13
14Upstream-Status: Pending
15
16Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
17---
18 menulibre/MenulibreXdg.py | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/menulibre/MenulibreXdg.py b/menulibre/MenulibreXdg.py
22index e04c5e6..14b2593 100644
23--- a/menulibre/MenulibreXdg.py
24+++ b/menulibre/MenulibreXdg.py
25@@ -74,7 +74,7 @@ class MenulibreDesktopEntry:
26
27 def load_properties(self, filename):
28 """Load the properties."""
29- input_file = open(filename)
30+ input_file = open(filename, 'rt', encoding='utf-8')
31 self.load_properties_from_text(input_file.read())
32 input_file.close()
33
34--
352.5.5
36