From 61793ab7d885261b2ef52352c60b45dbc50e5e28 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Thu, 2 May 2013 20:06:55 +0100 Subject: [PATCH] Fix ascii/unicode errors (mintmenu not loading in Mint 15 - French) --- usr/lib/linuxmint/mintMenu/plugins/easybuttons.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index c15e9c4..f1a644e 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -289,9 +289,9 @@ class ApplicationLauncher( easyButton ): def loadDesktopEntry( self, desktopItem ): try: - self.appName = desktopItem.getName() - self.appGenericName = desktopItem.getGenericName() - self.appComment = desktopItem.getComment() + self.appName = strip_accents(desktopItem.getName()) + self.appGenericName = strip_accents(desktopItem.getGenericName()) + self.appComment = strip_accents(desktopItem.getComment()) self.appExec = desktopItem.getExec() self.appIconName = desktopItem.getIcon() self.appCategories = desktopItem.getCategories()