Comment 17 for bug 337394

Revision history for this message
Mirco Müller (macslow) wrote :

Here is a screencast of the current notify-osd trunk: http://people.ubuntu.com/~mmueller/append-hint-example.ogg. This uses a new bubble with the append-hint set for the first four chunks of text passed. The fifth chunk of text uses a normal update (which acts as a replace operation).

This is what happens in pseudo-code :

bubble1 = bubble_new ()
bubble_set_append (bubble1, TRUE)
bubble_set_content (bubble1, "Cole Raby", "Hey Bro Coly!", im_icon)
...
bubble2 = bubble_new ()
bubble_set_append (bubble2, TRUE)
bubble_set_content (bubble2, "Cole Raby", "What's up dude?", im_icon)
...
bubble3 = bubble_new ()
bubble_set_append (bubble3, TRUE)
bubble_set_content (bubble3, "Cole Raby", "Did you watch the air-race in Oshkosh last week?", im_icon)
...
bubble4 = bubble_new ()
bubble_set_append (bubble4, TRUE)
bubble_set_content (bubble4, "Cole Raby", "Phil owned the place like no on before him!", im_icon)
...
bubble_update_content (bubble4, "Cole Raby", "Did you take any photos during the race?", im_icon)