Bug#496261: rhythmbox: Notifications don't show song names with & in them

Josselin Mouette joss at debian.org
Tue Sep 2 13:39:59 UTC 2008


notforwarded 496261
reassign 496261 notification-daemon 0.3.7-1
severity 496261 important
tag 496261 + patch
thanks

Le dimanche 24 août 2008 à 01:33 +0200, Marcel Moreaux a écrit :
> The notifications rhythmbox shows at the start of a new song fail to
> display song names with an ampersand (&) in them. The notification will
> simply have no text where the song name is supposed to go.
> 
> I suspect this is because rhythmbox doesn't escape markup characters,
> causing pango to choke on the lone ampersand, thinking it's the start of
> an entity. Changing the song name of a music file to "Test <s>mp3</s>"
> actually causes the "mp3" part to be rendered strikethrough in the
> notification.

It turns out that notification-daemon doesn’t follow the spec: only the
body can contain markup, not the summary. The attached patch makes it
correct.

http://www.galago-project.org/specs/notification/0.9/x161.html

BTW, why was notification-daemon removed from pkg-gnome? This prevents
me from updating it directly.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05_markup_primary.patch
Type: text/x-patch
Size: 654 bytes
Desc: 
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080902/a31fe41d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080902/a31fe41d/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list