[PATCH] Support for title in notifications

Aurélien Gâteau aurelien.gateau at canonical.com
Fri Apr 10 16:03:02 BST 2009


Olivier Goffart wrote:
> Le Fredag 10 april 2009, Aurélien Gâteau a écrit :
>> Olivier Goffart wrote:

> I think you might have convinced me.
> But this is a behaviour change, and each application has to be updated.

The title defaults to the application name, so existing applications
should not be impacted.

> I would even change the api and rename the 'text' as a 'body'

This would be binary incompatible, am I wrong?

> Oh, and where do you put the name of the application then?

It should go in the title. But this should be decided by each
application. We can imagine three formats:

1. *App Name*
2. *Title - App Name*
3. *Title*

System-like applications like battery, network or update monitors do not
need to show an application name, and should go for #3 IMO.

"Real" applications may want to go for either, but I believe in most of
the cases the application name is not needed: for example in the case of
Kopete, the user is more interested by the contact name and what the
contact says than by the application name.

Aurélien




More information about the kde-core-devel mailing list