From kde-core-devel Tue Nov 16 13:32:22 1999 From: Leon Widdershoven Date: Tue, 16 Nov 1999 13:32:22 +0000 To: kde-core-devel Subject: Re: More KServiceTypeProfile thoughts (and why gvim gets launched !) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94275920908456 Cristian Tibirna wrote: > > On Tue, 16 Nov 1999, David Faure wrote: > > > > 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 !?? > > > > Of course. But with this you will always have to fight poeple to > understand where the max limit stands etc. Anyways, this is minor issue. I > like practical logic exercises a bit too much. > > Now a real issue. What happens if a subsequently installed .desktop file > doubles the same preference number for a mimetype. Use random? Use > alphabetic order? > > Cristian Use the OLDEST .desktop file. That one is longest around and if the user would have preferred a different preference number for that one he would have given it. And if the user never looked to the .desktop file at all it doesn't matter which one to use. Just my $0.02, Leon