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

List:       kde-devel
Subject:    Re: Is there a Konqueror mimetype drop handler?
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2004-03-03 1:07:48
Message-ID: 200403021808.03871.aseigo () kde ! org
[Download RAW message or body]

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

On February 25, 2004 07:37, James Marsh wrote:
> What I should like to be able to do is have a new mimetype
> representing a "destination host" execute a submission program when
> "job description" files are dropped on it. The host file then also
> needs to be able to be opened in a graphical viewer/editor by clicking
> on it to change the various parameters.

i think what you want are .desktop files... for instance, for your 
"Destination Host" files, something like this should work (or some variation, 
i'm not testing this ;) :

[Desktop Entry]
Comment=Globus Destination Host
Name=Globus: somehost.com
Encoding=UTF-8
Exec=globus --host=somehost.com
Icon=globus

for the graphical viewer/editor you just need to add a Mimetype= entry with 
the proper "mimetype" in your app's .desktop file and then add a 
mimetype .desktop file to the share/mimelnk/ hierarchy ... 

you can evne have these generated for you by using the appropriate KDE GUIs, 
e.g. KDevelop ;-) or kmenueditor and the File Associations dialog...

HTH...

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFARS/y1rcusafx20MRAs/BAJ43Jhj0MAXFAJmBur2dyeCkP0pLdQCcCfpE
Sgk4Ou9bpnzbCUAn8cq51mE=
=VqB6
-----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