Notifications spec: Icons
ogoffart at kde.org
Wed Apr 1 14:35:29 PDT 2009
Le Onsdag 1 april 2009, Bo Thorsen a écrit :
> (http://lists.freedesktop.org/archives/xdg/2008-April/009409.html) Aaron,
> Olivier Gouffart writes this about the icons: "icon_data and app_icon are
> different: Take the Kopete online notification: app_icon is the kopete
> icon, while icon_data would be the user's avatar." This answer suggests
> that the application can provide both. But what will the server
> implementations show, then?
The Icon is the application icon. A string is fine because it is almost
always an icon from the icon theme.
And the notification image depends on the notification and is for exemple the
And because an image is better than many words: a screenshot:
You can see the two images on the first (kopete) notification
(Note: The part in KDE responsible to show the popup notifications (and only
popups) is the plasma system tray applet and its extenders.
KNotify is a proxy in between which handle the config and many others sorts of
The current interface is in
Notify( String app_name
unsigned int replace_id
int timeout )
Hints contains the image_data image array
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20090401/2979126c/attachment.pgp
More information about the xdg