Hi,
I monitored the messages Kmail is sending via dbus:
[...]
method call sender=:1.14 -> dest=org.freedesktop.Notifications serial=562
member=Notify
string "KMail"
uint32 0
string "kmail"
string "KMail"
string "<b>New mail arrived</b><br /><br>2 new messages in Local
Folders/lists/linux-kernel"
[...]
Note the <br> and <br /> tags is the message. Naughty does not handle them (for
whatever reason, I'm using awesome since 2 days and I'm not familiar with lua
nor the libraries awesome is using).
Fix (or better hack, probably there's a better place to do that):
naughty.lua
- textbox.text = string.format('<span font_desc="%s"><b>%s</b>%s</span>',
---
- font, title, text)
+ textbox.text = string.format('<span font_desc="%s"><b>%s</b>%s</span>',
+ font, title, string.gsub(text, "<br.->", "\n"))
Michael
--
To unsubscribe, send mail to [email protected].