]> git.neil.brown.name Git - edlib.git/commit
menu: support disabled menu entries.
authorNeilBrown <neil@brown.name>
Wed, 30 Aug 2023 23:18:57 +0000 (09:18 +1000)
committerNeilBrown <neil@brown.name>
Wed, 30 Aug 2023 23:37:25 +0000 (09:37 +1000)
commit05ee79fec8133dd7ca8df8319d85167b3880a3be
treeb1b3e7c991f562309b290943917e44f6fdf15968
parentd5a15281530031bf439e21d532396c7f8c9b7406
menu: support disabled menu entries.

If menu-add is given number '1' (or at least the lsb set) then the menu
item is greyed-out.  The action isn't disabled - that is up to the
caller.

Signed-off-by: NeilBrown <neil@brown.name>
lib-menu.c
python/module-notmuch.py