2011-05-09 20:20 keltezéssel, Uli Schlachter írta:
> On 09.05.2011 19:03, Gáspár Nándor wrote:
>> ...
>>
>> and this is wrong:
>> echo 'naughty.notify({title = "title", text = "<html><span
>> color=\"#FF602E\">text</span><html>", timeout = 60,
>> icon="iconwithpath.png", width = 500, position = "top_right"})' |
>> awesome-client -
> ...
>> Unfortunately many system messages (like kmess') have the html tag.
>
> https://bugs.kde.org/show_bug.cgi?id=237544
>
> Cheers,
> Uli
Thank you for the information!
To solve the problem I made a not too elegant trick in the naughty.lua
file with the help of the lua documentation.
I added theese lines at line 360 [just before the "local function
setText(pattern, replacements)" line]:
text=string.gsub(text,"<qt>", "")
text=string.gsub(text,"</qt>", "")
text=string.gsub(text,"<html>", "")
text=string.gsub(text,"</html>", "")
After the restart of awesome, my "wrong" example is working correctly.
--
- Nandor Gaspar -
--
To unsubscribe, send mail to [email protected].