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

List:       kde-core-devel
Subject:    RE: More KServiceTypeProfile thoughts (and why gvim gets launched
From:       David Faure <David.Faure () cramersystems ! com>
Date:       1999-11-16 9:19:46
[Download RAW message or body]




> -----Original Message-----
> From: Cristian Tibirna [mailto:ctibirna@total.net]
> Sent: Tuesday, November 16, 1999 8:56 AM
> To: kde-core-devel@kde.org
> Cc: kde-core-devel@master.kde.org
> Subject: Re: More KServiceTypeProfile thoughts (and why gvim gets
> launched!)
> 
> 
> On Tue, 16 Nov 1999, Stefan Taferner wrote:
> 
> > On Tue, 16 Nov 1999, David Faure wrote:
> > > In the last discussion about it we (especially Preston, Torben and I,
IIRC)
> > > decided that before the user configures anything (using filetypes),
> > > the preferred service would be arbitrarily chosen from the installed
services.
> > > 
> > > Result : for text/plain, the default gets set to gvim instead of kedit

> > > or write ! (for those who have gvim installed, found by kappfinder)
> > > 
> > > It works as we said, but do we really want to ship a desktop whose
default
> > > action for text files is opening the ugly, non-user-friendly-at-all
gvim ? :-)
> > > 
> > > I see no other solution that what I suggested long ago : a preference
number
> > > IN the application desktop file, serving as default (overriden by the 
> > > user's profile).
> > 
> > Actually this is how the mimetypes file works. There the preference is
> > the order in the file, but nevertheless it is there.
> > 
> > I think there is no other good solution possible.
> > Well, a simple is_default boolean switch would be possible also.
> > But a preference number is better, as the switch breaks if you remove
the
> > default desktop file.
> 
> If you choose preference numbers, make smaller number most significative.
> I mean, put '0' on kwrite and '3' on gvim and not the other way around.
> Why? Look at what the samba team does with the prefered browser servers
> on an NT lan :-)
Oh, you mean so that with 0 we are sure it's the maximum ?
Well if we say valid numbers are between 0 and 10 and put 10 for kwrite,
we're sure it will always be the maximum, so I don't see the difference !??

--
David Faure
faure@kde.org - KDE developer
david@mandrakesoft.com - Mandrake
david.faure@cramersystems.com - Cramer Systems

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

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