awful.widget.common: Follow :set_markup() API change
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
178204449c
commit
b3ab06896d
|
@ -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><Invalid text></i>")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue