awful.widget: fix name on minimize
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5302d707db
commit
6cbbd45d3a
|
@ -249,7 +249,7 @@ local function widget_tasklist_label_common(c, args)
|
||||||
if c.floating and floating_icon then
|
if c.floating and floating_icon then
|
||||||
text = text.."<bg image=\"" .. floating_icon .. "\" align=\"" .. floating_icon_align .. "\"/>"
|
text = text.."<bg image=\"" .. floating_icon .. "\" align=\"" .. floating_icon_align .. "\"/>"
|
||||||
end
|
end
|
||||||
if c.minimized then
|
if c.minimize then
|
||||||
name = util.escape(c.icon_name) or ""
|
name = util.escape(c.icon_name) or ""
|
||||||
else
|
else
|
||||||
name = util.escape(c.name) or ""
|
name = util.escape(c.name) or ""
|
||||||
|
|
Loading…
Reference in New Issue