From kde-devel Sun Aug 10 20:20:10 2003 From: "Petter E. Stokke" Date: Sun, 10 Aug 2003 20:20:10 +0000 To: kde-devel Subject: Re: Lower case URLs? X-MARC-Message: https://marc.info/?l=kde-devel&m=106054697419951 On Saturday 09 August 2003 19:26, Thiago Macieira wrote: > Petter E. Stokke wrote: > > I'd be happy to come up with a patch to implement it if it > >doesn't sound too unreasonable. > > I've opened a bug report (http://bugs.kde.org/show_bug.cgi?id=62425) to > keep track of this issue. I've also tried to summarise our discussion > (biased to my opinion, of course) in the report. > > When you come up with a patch, please attach it there as well. Noted. Now, I'm having trouble implementing this. In order to find the .protocol file I need to determine the URI mode of a protocol, I need a KStandardDirs object, which requires a KInstance object. Of course, KURL can be used today without a KInstance, which creates a bit of a dilemma. Has anyone got a suggestion as to how I can find the .protocol files (ie. in most cases $KDEDIR/share/services or ~/.kde/share/services) in a clean manner without access to a KInstance, or how to proceed if this proves to be impossible? Is it safe to make the assumption I did above about the paths to search in the absence of a KInstance? -- Petter E. Stokke http://www.gibreel.net/ PGP key: http://www.gibreel.net/key.asc Fingerprint: 4FF3 12BD 692A 0FFF 984F 78DA 4776 81FB 1906 3A9F >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<