[Libreoffice-bugs] [Bug 118335] Writer's Groupedbar. Wrong name of item Print preview in drop-down menu File

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 25 22:16:24 UTC 2018


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

--- Comment #3 from Maxim Monastirsky <momonasmon at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180625/99aae07b/attachment.html>


More information about the Libreoffice-bugs mailing list