<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Disable undock command when toolbar is locked"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131441#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Disable undock command when toolbar is locked"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131441">bug 131441</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>