[kde-linux] Disable menu options in kmenu

Kevin Krammer kevin.krammer at gmx.at
Thu Nov 1 12:30:17 UTC 2007


On Thursday 01 November 2007, Murray Trainer wrote:
> Hi,
>
> We have custom KDE menu files for different KDE kiosk profiles.  I want
> to make some menu items disabled (ie greyed out) in one menu file and
> active in another.  I can't see any way of disabling menu items in the
> menu file or .desktop files.  It appears to only be possible to delete
> or hide the entry.  Is there any workaround I can use?

I am afraid this currently is neither supported by the freedesktop.org 
desktop-entry specification (used for the menu entries) nor by the menu 
specification since this probably didn't come up as a use case when the 
specification was developed.

It might be possible to address this in a future version of the 
specifications, though I would imagine that there could be quite some 
resistance since it would mean changes in several implementations of those 
specs.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20071101/40095957/attachment.sig>


More information about the kde-linux mailing list