[Libreoffice-bugs] [Bug 131441] Disable undock command when toolbar is locked

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 31 12:38:02 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131441

--- Comment #4 from Maxim Monastirsky <momonasmon at gmail.com> ---
Yes, can be an easy hack. The code that creates this menu lives in
framework/source/uielement/toolbarmanager.cxx, in the
ToolBarManager::AddCustomizeMenuItems method. There is already a check for
whether the toolbar is locked (used to set the check mark for the "Lock Toolbar
Position" item). The task here is to reuse this to disable the "Undock Toolbar"
item for locked toolbars.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200331/0be161b9/attachment.htm>


More information about the Libreoffice-bugs mailing list