Comment 3 for bug 328609

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Hi François,

According to the notification-daemon spec, the "Actions" feature may or may not be implemented by the daemon, and apps should check whether support exists before using it.

Actions: "This functionality may not be implemented by the notification server, conforming clients should check if it is available before using it"

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

Checking for 'actions' in pynotify.get_server_caps() should do the trick.

Cheers