José Matos wrote: >> would this be an ok solution for 1.5? > > Yes.
so then i suggest the attached patch. it - introduces toolbar_toggle lfun - adds a "toggle math toolbar" and "toggle table toolbar" buttons to the main toolbar (i also moved "toggle toc" there) - adds a "toggle math panels" button to the math toolbar - reshuffles the Big Operators panel to avoid confusion with the sum icon on the math toolbar - adds some icons (personally i would ship lyx with the math and table toolbars on to increase awareness) ok?
toolbartoggle5.patch
Description: toolbartoggle5.patch