1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="EvToolbar" parent="AdwBin">
<child>
<object class="AdwHeaderBar" id="header_bar">
<child type="title">
<object class="AdwWindowTitle">
</object>
</child>
<child type="start">
<object class="GtkButton" id="open_button">
<property name="action-name">win.open</property>
<property name="label" translatable="yes">Open…</property>
<property name="tooltip-text" translatable="yes">Open an existing document</property>
<style>
<class name="suggested-action" />
</style>
</object>
</child>
<child type="start">
<object class="GtkToggleButton" id="sidebar_button">
<property name="icon-name">sidebar-show-symbolic</property>
<property name="action-name">win.show-side-pane</property>
<property name="tooltip-text" translatable="yes">Side pane</property>
</object>
</child>
<child type="start">
<object class="EvPageActionWidget" id="page_selector">
<property name="tooltip-text" translatable="yes">Select page or search in the outline</property>
<accessibility>
<property name="label" translatable="yes">Select page</property>
</accessibility>
</object>
</child>
<child type="start">
<object class="GtkToggleButton" id="annots_button">
<property name="icon-name">document-edit-symbolic</property>
<property name="action-name">win.toggle-edit-annots</property>
<property name="tooltip-text" translatable="yes">Annotate the document</property>
<accessibility>
<property name="label" translatable="yes">Annotate document</property>
</accessibility>
</object>
</child>
<child type="end">
<object class="GtkMenuButton" id="action_menu_button">
<property name="icon-name">open-menu-symbolic</property>
<property name="tooltip-text" translatable="yes">File options</property>
<property name="menu-model">action-menu</property>
<accessibility>
<property name="label" translatable="yes">File options</property>
</accessibility>
</object>
</child>
<child type="end">
<object class="GtkToggleButton" id="find_button">
<property name="icon-name">edit-find-symbolic</property>
<property name="action-name">win.toggle-find</property>
<signal name="notify::sensitive" handler="ev_toolbar_find_button_sensitive_changed" />
</object>
</child>
<child type="end">
<object class="EvZoomAction" id="zoom_action">
<signal name="activated" handler="ev_toolbar_zoom_selector_activated" />
<accessibility>
<property name="label" translatable="yes">Set zoom level</property>
</accessibility>
</object>
</child>
</object>
</child>
</template>
<menu id="action-menu">
<section>
<attribute name="display-hint">horizontal-buttons</attribute>
<item>
<attribute name="label" translatable="yes">Print…</attribute>
<attribute name="action">win.print</attribute>
<attribute name="verb-icon">printer-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Fullscreen</attribute>
<attribute name="action">win.fullscreen</attribute>
<attribute name="verb-icon">view-fullscreen-symbolic</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Send To…</attribute>
<attribute name="action">win.send-to</attribute>
<attribute name="verb-icon">send-to-symbolic</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">New _Window</attribute>
<attribute name="action">win.new</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Open a C_opy</attribute>
<attribute name="action">win.open-copy</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Open Containing _Folder</attribute>
<attribute name="action">win.open-containing-folder</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Save As…</attribute>
<attribute name="action">win.save-as</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Present as _Slideshow</attribute>
<attribute name="action">win.presentation</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Continuous</attribute>
<attribute name="action">win.continuous</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Dual</attribute>
<attribute name="action">win.dual-page</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Odd Pages Left</attribute>
<attribute name="action">win.dual-odd-left</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Right to Left Document</attribute>
<attribute name="action">win.rtl</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Ro_tate ⤵</attribute>
<attribute name="action">win.rotate-right</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Ni_ght Mode</attribute>
<attribute name="action">win.inverted-colors</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Prop_erties</attribute>
<attribute name="action">win.show-properties</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action">win.help</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_About Document Viewer</attribute>
<attribute name="action">win.about</attribute>
</item>
</section>
</menu>
</interface>
|