[Kde-pim] Setting Akonadi agents' mime types

David Jarvie djarvie at kde.org
Fri Sep 11 09:24:24 BST 2009


Hi Volker,

Thanks for your answers.

On Fri, September 11, 2009 8:09 am, Volker Krause wrote:
> On Friday 11 September 2009 01:38:40 David Jarvie wrote:
>> Why doesn't the Collection show just a single mime type in
>> AkonadiConsole?
>> - is it necessary to do something else to save the new setting?
>
> I'm wondering why you try to modify the content mimetype from within the
> application at all. Usually it's something only the resource should do, as
> it
> is the only thing that knows what types it can handle. If possible any
> resource-specific knowledge should be avoided in the application, it will
> fail once you exchange the resources at some point.

It's only when creating a new collection that I want to specify a
particular mime type. After any alarms have been added, the resource knows
what mime type it is from the alarm type. Or do you think that it would be
better to define separate resource types?

-- 
David Jarvie.
KDE developer.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list