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

--- Comment #3 from Maxim Monastirsky <momonas...@gmail.com> ---
(In reply to andreas_k from comment #2)
> it look like NB use PopupLabel how can I change the behavior that NB use the
> default name?

You can try this (didn't test, but it should work):

1) Extract the "Close Preview" string to a new command like this:

      <node oor:name=".uno:ClosePrintPreview" oor:op="replace">
        <prop oor:name="Label" oor:type="xs:string">
          <value xml:lang="en-US">Close Preview</value>
        </prop>
        <prop oor:name="TargetURL" oor:type="xs:string">
          <value>.uno:PrintPreview</value>
        </prop>
        <prop oor:name="Properties" oor:type="xs:int">
          <value>1</value>
        </prop>
      </node>

2) Link the menu icon of .uno:ClosePrintPreview to .uno:PrintPreview in various
links.txt files.

3) Change the various sw/uiconfig/*/popupmenu/preview.xml to use
.uno:ClosePrintPreview instead of .uno:PrintPreview. (and test it to make sure
it still works).

4) Remove the PopupLabel of .uno:PrintPreview.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to