]> git.neil.brown.name Git - edlib.git/commit
menubar: allow ancestor pane to add menus
authorNeilBrown <neil@brown.name>
Sun, 1 Oct 2023 23:39:25 +0000 (10:39 +1100)
committerNeilBrown <neil@brown.name>
Sun, 1 Oct 2023 23:41:39 +0000 (10:41 +1100)
commit90a45d7d813b48e4fc46e8135a4c54fba5db4b22
tree9e6b152c0a0360c82f4a29b8319e661e2a7ef2c7
parent4d4a1af6b995578be5516f4cc36e6927eadb637f
menubar: allow ancestor pane to add menus

THe current ordering requirement for emacs and menubar are odd.
emacs handling must be below menubar so that menus can understand basic
mouse and keystrokes.  But emacs must be initialised after menubar so it
can register.

Break this requirement by having menubar tell any ancestor that they can
configure now.

Signed-off-by: NeilBrown <neil@brown.name>
data/edlib.ini
lib-menubar.c
mode-emacs.c