From b3ab06896d97537ff460fa47a3b96b2fbaeb235e Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 17 Jan 2016 16:50:03 +0100 Subject: [PATCH] awful.widget.common: Follow :set_markup() API change Signed-off-by: Uli Schlachter --- lib/awful/widget/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/widget/common.lua b/lib/awful/widget/common.lua index c7dc024b4..ebab6337d 100644 --- a/lib/awful/widget/common.lua +++ b/lib/awful/widget/common.lua @@ -96,7 +96,7 @@ function common.list_update(w, buttons, label, data, objects) if text == nil or text == "" then tbm:set_margins(0) else - if not pcall(tb.set_markup, tb, text) then + if not tb:set_markup_silently(text) then tb:set_markup("<Invalid text>") end end