THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Evgeniy Bichan (Faiver) 

Attached to Project - awesome
Summary - Unused property "icon_only" in taglist.lua
Task Type - Bug Report
Category - awful
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.5.5
Due in Version - Undecided
Due Date - Undecided
Details - In awful/widget/taglist.lua exist following code:
if not tag.getproperty(t, "icon_only") then
        if fg_color then
            text = text .. "<span 
color='"..util.color_strip_alpha(fg_color).."'>"
            text = " " .. text.. (util.escape(t.name) or "") .." </span>"
        else
            text = text .. " " .. (util.escape(t.name) or "") .. " "
        end
end

But that property nowhere and never used. And if i want to shown only icon 
(when define icon and text for tags) i must make it in rc.lua for every defined 
tags. I consider, if i can define in theme.lua taglist_disable_icon,  logical 
to use the same variable for display only icons. For example define in function 
taglist.taglist_label following code
  local taglist_only_icon = theme.taglist_only_icon or false

and replace 'if not tag.getproperty(t, "icon_only") then'    to next code
if not taglist_only_icon then
        if fg_color then
            text = text .. "<span 
color='"..util.color_strip_alpha(fg_color).."'>"
            text = " " .. text.. (util.escape(t.name) or "") .." </span>"
        else
            text = text .. " " .. (util.escape(t.name) or "") .. " "
        end
end

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1288

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to