awful.widget.taglist: dont show name if icon_only property is set

Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
koniu 2009-04-13 03:54:46 +01:00 committed by Julien Danjou
parent bee45f1b4a
commit f0a11b9628
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ function label.all(t, args)
if taglist_squares_sel or taglist_squares_unsel then if taglist_squares_sel or taglist_squares_unsel then
taglist_squares = true taglist_squares = true
end end
if t.name then if t.name and not tag.getproperty(t, "icon_only") then
if fg_color then if fg_color then
text = text .. "<span color='"..util.color_strip_alpha(fg_color).."'>" text = text .. "<span color='"..util.color_strip_alpha(fg_color).."'>"
if taglist_squares then if taglist_squares then