[PATCH] Detecting notification popup server capabilities

Aurélien Gâteau aurelien.gateau at canonical.com
Fri Aug 28 15:01:55 BST 2009


Hi,

As you (may) know, KDE visual notifications (aka popup or bubbles) are
now using FreeDesktop notification spec, this makes it possible for a
GNOME app running on KDE to have its notifications displayed by Plasma,
or for a KDE app running on GNOME to have its notifications displayed by
notification-daemon (the original implementation) or notify-osd (Ubuntu
implemention of the spec).

You may also know that notify-osd is (in)famous for not supporting
notification with actions. A side effect of this is that KDE
applications running on a desktop which uses notify-osd now gets ugly
dialog boxes whenever they try to show a notification with actions.

The attached patches add a new static method to KNotification:
popupServerCapabilities(). This method makes it possible for KDE
applications to check what the notification server supports and act
accordingly.

What do you think about them? Can they go in?

Aurélien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-a-DBus-adaptor-to-NotifyByPopup-so-that-applica.diff
Type: text/x-diff
Size: 3677 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090828/26c3d93e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-method-popupServerCapabilities.diff
Type: text/x-diff
Size: 7618 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090828/26c3d93e/attachment-0001.diff>


More information about the kde-core-devel mailing list