1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-05 00:59:07 +00:00
evince/shell/evince-menus.ui
Nelson Benítez León dff100c005 shell: remove 'annotate-selected-text' action
which was used in the EvView context menu, and
use instead 'highlight-text' action, which
provides the same functionality (highlighting
selected text) but with the added bonus of
showing the keybinding (Ctrl+H) in the context
menu.

In case the action was disabled for the context
menu we need to enable it back again when
closing the menu and returning to normal view,
we do that in the menu "hide" signal handler.

Closes #1919
2023-06-21 00:40:01 +00:00

236 lines
8.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2012 Christian Persch
Copyright © 2014 Canonical Ltd.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope conf it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->
<interface>
<menu id="view-popup-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Open Link</attribute>
<attribute name="action">win.open-link</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Copy Link Address</attribute>
<attribute name="action">win.copy-link-address</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Go To</attribute>
<attribute name="action">win.go-to-link</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Open in New _Window</attribute>
<attribute name="action">win.open-link-new-window</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Previous Page</attribute>
<attribute name="action">win.go-previous-page</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Next Page</attribute>
<attribute name="action">win.go-next-page</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Reload</attribute>
<attribute name="action">win.reload</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Auto_scroll</attribute>
<attribute name="action">win.auto-scroll</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Copy</attribute>
<attribute name="action">win.copy</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Select _All</attribute>
<attribute name="action">win.select-all</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Save Image As…</attribute>
<attribute name="action">win.save-image</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Copy _Image</attribute>
<attribute name="action">win.copy-image</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Open Attachment</attribute>
<attribute name="action">win.open-attachment</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Save Attachment As…</attribute>
<attribute name="action">win.save-attachment</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Annotation _Properties</attribute>
<attribute name="action">win.annot-properties</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">R_emove Annotation</attribute>
<attribute name="action">win.remove-annot</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Highlight Selected Text</attribute>
<attribute name="action">win.highlight-annotation</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Open Containing _Folder</attribute>
<attribute name="action">win.open-containing-folder</attribute>
</item>
</section>
</menu>
<menu id="navigation-menu">
<section>
<attribute name="label" translatable="yes">Navigation</attribute>
<item>
<attribute name="label" translatable="yes">First Page</attribute>
<attribute name="action">win.go-first-page</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Previous Page</attribute>
<attribute name="action">win.go-previous-page</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Next Page</attribute>
<attribute name="action">win.go-next-page</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Last Page</attribute>
<attribute name="action">win.go-last-page</attribute>
</item>
</section>
<section>
<attribute name="label" translatable="yes">History</attribute>
<item>
<attribute name="label" translatable="yes">Back</attribute>
<attribute name="action">win.go-back-history</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Forward</attribute>
<attribute name="action">win.go-forward-history</attribute>
</item>
</section>
</menu>
<menu id="attachments-popup">
<section>
<item>
<attribute name="label" translatable="yes">_Open Attachment</attribute>
<attribute name="action">win.open-attachment</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Save Attachment As…</attribute>
<attribute name="action">win.save-attachment</attribute>
</item>
</section>
</menu>
<menu id="annotation-popup">
<section>
<item>
<attribute name="label" translatable="yes">Annotation Properties</attribute>
<attribute name="action">win.annot-properties</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Remove Annotation</attribute>
<attribute name="action">win.remove-annot</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Open Attachment</attribute>
<attribute name="action">win.open-attachment</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Save Attachment As…</attribute>
<attribute name="action">win.save-attachment</attribute>
<attribute name='hidden-when'>action-disabled</attribute>
</item>
</section>
</menu>
<menu id="bookmarks-popup">
<section>
<item>
<attribute name="label" translatable="yes">_Open Bookmark</attribute>
<attribute name="action">bookmarks.open-bookmark</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Rename Bookmark</attribute>
<attribute name="action">bookmarks.rename-bookmark</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Delete Bookmark</attribute>
<attribute name="action">bookmarks.delete-bookmark</attribute>
</item>
</section>
</menu>
<menu id="links-popup">
<section>
<item>
<attribute name="label" translatable="yes">Search in the outline…</attribute>
<attribute name="action">links.search-outline</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Print this section…</attribute>
<attribute name="action">links.print-section</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Collapse all tree</attribute>
<attribute name="action">links.collapse-all</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Expand all tree</attribute>
<attribute name="action">links.expand-all</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Expand all under this element</attribute>
<attribute name="action">links.expand-element</attribute>
</item>
</section>
</menu>
</interface>