[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Altering default associated application
From:       Aurelien Gateau <aurelien.gateau () free ! fr>
Date:       2005-01-20 16:00:23
Message-ID: csokin$ml1$1 () sea ! gmane ! org
[Download RAW message or body]

David Faure wrote:

> On Tuesday 18 January 2005 23:33, Aurelien Gateau wrote:
>> Hello,
>> 
>> I would like to provide a way for our users to easily associate Gwenview
>> with all images in one click.
>> Is it possible to change the default application for a given mime/type
>> through the KDE API ? I would like to avoid processing
>> $HOME/.kde/share/config/profilerc...
> 
> I don't see another way right now, since the code for that is in
> kdebase/kcontrol/filetypes/typeslistitem.cpp Messing with
> InitialPreference won't help if there's a profilerc entry already... If
> this was kde-3.0 times I would say the right thing to do would be to
> provide an API in KUserProfile for this, but for KDE 4 we'll have to find
> a more modular solution then profilerc anyway, and IIRC the
> freedesktop.org mimetype standard defines one.
> 
Thanks for your answer. I guess I'll just forget about it for now and go on
with other bug fixes :-)

Aurélien

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic