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

List:       kde-devel
Subject:    Re: "Dynamic" service menu
From:       Aaron Seigo <aseigo () kde ! org>
Date:       2003-12-17 15:14:03
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On December 17, 2003 1:54, Pascal Francq wrote:
> In fact, I only know at run time of a program which types of files
> ([Desktop Entry], ServiceTypes) can be handle. It there a way to specify
> this dynamically?

ServiceTypes[$e]=$(/bin/echo "text/html,text/plain")

you can specify any command you want, really. it doesn't do any replacement of 
any of the special escape sequences though, such as %U, so there are some 
limitations to this... is it flexible enough for you as it is?

- -- 
Aaron J. Seigo
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/4HK71rcusafx20MRAu68AKCs1WjO9cvRiN3s8vvQrhvZOHGhXQCbBYNH
w6TMsiAdtTkViOMbbziGtow=
=E+uk
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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