Patch to have krun correctly handle scripts.

Ian Reinhart Geiser geiseri at yahoo.com
Fri May 7 16:15:28 BST 2004


On Friday 07 May 2004 10:32 am, Waldo Bastian wrote:
> That would then also make it easy for applications like kate to give
> application/x-executable-script a higher priority than text/plain
wow.

here is the updated patch set.

a) added x-executable-script with X-KDE-IsAlso=text/plain set
b) changed ruby,python,perl,javascript and shell to 
X-KDE-IsAlso=application/x-executable-script
c) changed the code to check the mimetype and execute bit.

So is this ready for CVS? It seems to be working here.

Cheers
	-ian reinhart geiser 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krun.patch
Type: text/x-diff
Size: 1463 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040507/8a593379/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimtypes.patch
Type: text/x-diff
Size: 3914 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040507/8a593379/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-executable-script.desktop
Type: application/x-desktop
Size: 163 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040507/8a593379/attachment.bin>


More information about the kde-core-devel mailing list