awful.widget: fix name on minimize

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-19 21:17:15 +01:00
parent 5302d707db
commit 6cbbd45d3a
1 changed files with 1 additions and 1 deletions

View File

@ -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 ""