[PATCH] Support for title in notifications
mattr at kde.org
Tue Apr 7 23:09:04 BST 2009
On Tue, Apr 07, 2009 at 05:51:25PM +0200, Aurélien Gâteau wrote:
> Right now, the notifications implemented by Plasma can display a text
> and an optional title. Unfortunately, it is not possible to define a
> custom title with KNotification (it's possible with kdialog, though,
> because it talks to Plasma directly)
> There is some discussion going on on freedesktop xdg ml about getting
> Galago and KDE notifications to agree on a common spec. Adding support
> for title is imho a necessary step in this direction.
> The attached patches add the "title" property to KNotification and all
> the necessary plumbing. The change to KNotification is BC I think, but I
> had to change the prototype of the DBus calls between
> KNotificationManager and knotify4. I believe these DBus calls can be
> considered internal. Is this OK?
> I also attach a simple Kopete patch which illustrate the change, using
> the contact name as a title.
> Since today is soft-freeze, I guess it's the last time this can go in
> for KDE 4.3.
You're missing "@since 4.3" in knotification.h
More information about the kde-core-devel