more servicemenus improvements

Aaron J. Seigo aseigo at olympusproject.org
Thu Jul 24 00:26:04 BST 2003


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

hi...

it was too hot to sleep last night, so instead i mucked around on the computer 
and ended up knocked off a few items from my servicemenus TODO list for 
3.2... attached are the patches for review... two things are added: 

first: support for separators using a _SEPARATOR_ keyword in the actions list, 
such as:

	Actions=setAsBackground;_SEPARATOR_;tileAsBackground

duplicate and "first item" separators are caught... it involves a bit of a 
hack though, namely: inserting an empty service.

second: allowing servicemenus in .directory files. this allows per-directory 
actions for special directories. i may want to extend this later to allow 
referencing external servicemenus (not sure at this point)

both of these were feature requests from users. comments and critique welcome, 
as always. 

also, just as an FYI i have two more items on my servicemenus TODO list at 
this point:

 o defining runtime checks for actions. this will allow things such as DCOP 
calls to be made to determine whether or not show the action (if it matches 
the mimetype first, of course)

 o GUI interface for managing servicemenus, including turning individual 
entries on/off and editting/creating servicemenus.

if you have thoughts regarding either of the above, please share them with me 
sooner rather than later in case it can save me some effort =)

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

iD8DBQE/HxmO1rcusafx20MRAvWRAJ4vrODZnxtHcbO/xRd5qJCPFv3kRwCeJO8/
PliiPILfc7RzTaeNZ9UEqnc=
=Mj9D
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kio.diff
Type: text/x-diff
Size: 1819 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030723/359e3fb8/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: servicemenus.diff
Type: text/x-diff
Size: 6783 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030723/359e3fb8/attachment-0001.diff>


More information about the kfm-devel mailing list