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