From e64d36b104a9f7b2cbbdb4a50d6c928a01d215b6 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 7 Oct 2010 14:24:16 +0200 Subject: [PATCH] Awful.menu: Fix the text Looks like someone wasn't using set_markup() where he was supposed to do so. Signed-off-by: Uli Schlachter --- lib/awful/menu.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index 8eb05fc65..dc337870b 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -208,11 +208,11 @@ local function add_item(data, num, item_info) -- Create the item label widget local label = wibox.widget.textbox() local key = '' - label.text = string.gsub(util.escape(item_info[1]), "&(%w)", + label:set_markup(string.gsub(util.escape(item_info[1]), "&(%w)", function (l) key = string.lower(l) return ""..l.."" - end, 1) + end, 1)) -- Set icon if needed local iconbox local margin = wibox.layout.margin()