changeset 216:783d6a61e0bd

primitivus: Q&D workaround for dbus.String issue
author Goffi <goffi@goffi.org>
date Mon, 27 Dec 2010 17:23:13 +0100 (2010-12-27)
parents 370f387a43c0
children b4dfe15c0b25
files frontends/primitivus/primitivus
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/primitivus/primitivus	Mon Dec 27 17:22:32 2010 +0100
+++ b/frontends/primitivus/primitivus	Mon Dec 27 17:23:13 2010 +0100
@@ -219,7 +219,7 @@
         for new_menu in add_menus:
             category,item,type = new_menu
             assert(type=="NORMAL") #TODO: manage other types
-            menu.addMenu(category, item, add_menu_cb)
+            menu.addMenu(unicode(category), unicode(item), add_menu_cb)
             
         menu_roller = custom_widgets.MenuRoller([(_('Main menu'),menu)])
         return menu_roller