awful.widget.common: Follow :set_markup() API change

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-01-17 16:50:03 +01:00
parent 178204449c
commit b3ab06896d
1 changed files with 1 additions and 1 deletions

View File

@ -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("<i>&lt;Invalid text&gt;</i>")
end
end