Patch to have krun correctly handle scripts.

Ian Reinhart Geiser geiseri at yahoo.com
Fri May 7 13:22:00 BST 2004


On Friday 07 May 2004 06:17 am, Waldo Bastian wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu May 6 2004 20:53, Ian Reinhart Geiser wrote:
> > The only immediate issue with this solution at this point is there are a
> > hard-coded list of mimetypes we can handle.
>
> You could introduce an intermediate mimetype
> "application/x-executable-code" or perhaps reuse "application/x-executable"
> and let the applicable executable mimetypes inherit from that. Then you can
> check for them all with
> KMimeType::is("application/x-executable-code") without hardcoding anything.
I really am lost when it comes to our mime system.  Your idea of the 
application/x-executable-code is a neat one though.  How would I go about 
performing such a task?  It sounds like the perfect solution though. 

Cheers
	-ian reinhart geiser





More information about the kde-core-devel mailing list