← Back to team overview

vm team mailing list archive

Re: [Bug 605799] Re: Emacs menu doesn't come up right

 

Tim Cross writes:

> The difficulty about a modular approach so that we have different behavior
> based on the toolkit is that I'm not sure how easily you can detect each
> different toolkit at run-time. 

By "modular" I meant defining the menus and buttons as functions, like
it has already been done in vm-menu.  Right now, your "switch to VM
Menubar" is hard coded into the toggle-menubar function.  It took me a
while to find it when I was exploring things.

If you have all the menus and buttons defined as separate functions,
we can mix and match them depending on the toolkit in operation.  We
don't need to do it dynamically, only when VM starts up.

Personally, I think menubars are important because they allow users to
explore the system, and also because they allow access via keyboard.
I don't care that much for toolbars.

Cheers,
Uday



References