Categores with special chars (like umlauts) are empty
Bug #288767 reported by
Oliver Grawert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kourou |
New
|
Undecided
|
Unassigned | ||
kourou (Ubuntu) |
Fix Released
|
High
|
Steve Kowalik | ||
Intrepid |
Fix Released
|
High
|
Steve Kowalik |
Bug Description
Binary package hint: kourou
in a german mid install where category Accessories is called Zubehör and Office is Büro both categories are empty, seems kourou doesnt parse them properly
Related branches
Changed in kourou: | |
importance: | Undecided → High |
Changed in kourou: | |
status: | New → Confirmed |
assignee: | nobody → stevenk |
Changed in kourou: | |
assignee: | Steve Kowalik (stevenk) → Curtis Hovey (sinzui) |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
ubuntu@ ubuntu- laptop: ~/ubuntu$ bzr diff
=== modified file 'kourou.py'
the following one line patch fixes the issue:
--- kourou.py 2008-10-24 14:35:07 +0000
for entry in self.categories [cat]:
self.model. append( entry) [current_ cat]: [unicode( current_ cat)]:
self. model.append( entry)
+++ kourou.py 2008-10-24 18:07:24 +0000
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# kourou - a launcher for Ubuntu MID
# (C) 2008 Canonical Ltd
# Author: Steve Kowalik <email address hidden>
@@ -103,7 +104,7 @@
else:
- for entry in self.categories
+ for entry in self.categories
def fetch_icon(self, icon_name, theme):