Fix ascii/unicode errors (mintmenu not loading in Mint 15 - French)

This commit is contained in:
Clement Lefebvre 2013-05-02 20:06:55 +01:00
parent 5fae44d59f
commit 61793ab7d8

View File

@ -289,9 +289,9 @@ class ApplicationLauncher( easyButton ):
def loadDesktopEntry( self, desktopItem ): def loadDesktopEntry( self, desktopItem ):
try: try:
self.appName = desktopItem.getName() self.appName = strip_accents(desktopItem.getName())
self.appGenericName = desktopItem.getGenericName() self.appGenericName = strip_accents(desktopItem.getGenericName())
self.appComment = desktopItem.getComment() self.appComment = strip_accents(desktopItem.getComment())
self.appExec = desktopItem.getExec() self.appExec = desktopItem.getExec()
self.appIconName = desktopItem.getIcon() self.appIconName = desktopItem.getIcon()
self.appCategories = desktopItem.getCategories() self.appCategories = desktopItem.getCategories()