Comment 6 for bug 382094

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

Have a look in notify-osd/src/log.c, the call...

guint
bubble_get_urgency (Bubble *self);

... would get you the notifications urgency (0 == low, 1 == normal, 2 == high). But that API is likely to change, due to a planned abstraction split in the way the data in stored.

What exactely do you mean by "icon"? Binary data, (original) size/dimensions, filename? Currently it's not intended to be exposed, so there's no call to aquire this. Also keep in mind there are numerous ways image data can get passed to notify-osd (via DBus). For example it does not necessarily mean image-data was provided via a filename.

On top of all that, nothing of notify-osd's code is meant to be "public API". It's not exposed anywhere. Thus API-compatibility is not guaranteed ... not even internally :)