Addon toolbars & context menus

Ivan Timofeev timofeev.i.s at gmail.com
Fri Jun 8 11:09:37 PDT 2012


Hi,

in LibO 3.4 it was possible to access the context menu of an addon 
toolbar via grey buttons on the right. In LibO 3.5 we get rid of those 
buttons. And now it's impossible to access the context menu of addon 
toolbars, because ToolBarManager's command handler is overriden by 
AddonsToolBarManager class and it does nothing:

ToolBarManager:
http://opengrok.libreoffice.org/xref/core/framework/source/uielement/toolbarmanager.cxx#1841

AddonsToolBarManager:
http://opengrok.libreoffice.org/xref/core/framework/source/uielement/addonstoolbarmanager.cxx#458

Is it correct to remove the latter handler, so that right click on an 
addon toolbar will show the context menu? Or can an addon utilize the 
COMMAND_CONTEXTMENU command, and handle it in its way?

Thanks,
Ivan


More information about the LibreOffice mailing list