summaryrefslogtreecommitdiff
path: root/ui/menus.ui
blob: d89f8349effb62e01cf645a96be5fe0c9d87a7a9 (plain)
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
<interface>
  <menu id="app-menu-small">
    <section>
      <attribute name="display-hint">horizontal-buttons</attribute>
      <item>
        <attribute name="action">win.tab-new</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Open a new tab</attribute>
        <attribute name="verb-icon">tab-new-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.panel</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Sidepanel</attribute>
        <attribute name="verb-icon">view-grid-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.show-downloads</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">View downloaded files</attribute>
        <attribute name="verb-icon">folder-download-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.fullscreen</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Toggle fullscreen view</attribute>
        <attribute name="verb-icon">view-fullscreen-symbolic</attribute>
      </item>
    </section>
  </menu>
  <menu id="window-menu">
    <section>
      <item>
        <attribute name="action">app.win-new</attribute>
        <attribute name="target"></attribute>
        <attribute name="label" translatable="yes">New _Window</attribute>
        <attribute name="accel">&lt;Primary&gt;n</attribute>
      </item>
      <item>
        <attribute name="action">app.win-incognito-new</attribute>
        <attribute name="label" translatable="yes">New P_rivate Browsing Window</attribute>
        <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;p</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="action">win.clear-private-data</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">_Clear private data</attribute>
        <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;Delete</attribute>
      </item>
    </section>
  </menu>
  <menu id="app-menu">
    <section>
      <item>
        <attribute name="action">win.preferences</attribute>
        <attribute name="label" translatable="yes">Preferences</attribute>
        <attribute name="accel">&lt;Primary&gt;&lt;Alt&gt;p</attribute>
      </item>
      <item>
        <attribute name="action">win.show-help-overlay</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Shortcuts</attribute>
      </item>
      <item>
        <attribute name="action">win.about</attribute>
        <attribute name="label" translatable="yes">_About</attribute>
      </item>
      <item>
        <attribute name="action">app.quit</attribute>
        <attribute name="label" translatable="yes">Close a_ll Windows</attribute>
        <attribute name="accel">&lt;Primary&gt;q</attribute>
      </item>
    </section>
  </menu>
  <menu id="page-menu-small">
    <section>
      <attribute name="display-hint">horizontal-buttons</attribute>
      <item>
        <attribute name="action">win.go-back</attribute>
        <attribute name="label" translatable="yes">Go back to the previous page</attribute>
        <attribute name="verb-icon">go-previous-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.go-forward</attribute>
        <attribute name="label" translatable="yes">Go forward to the next page</attribute>
        <attribute name="verb-icon">go-next-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.tab-reload</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Reload the current page</attribute>
        <attribute name="verb-icon">view-refresh-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.tab-stop-loading</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Stop loading the current page</attribute>
        <attribute name="verb-icon">process-stop-symbolic</attribute>
      </item>
      <item>
        <attribute name="action">win.homepage</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Go to your homepage</attribute>
        <attribute name="verb-icon">user-home-symbolic</attribute>
      </item>
    </section>
  </menu>
  <menu id="page-menu">
    <section>
      <item>
        <attribute name="action">win.find</attribute>
        <attribute name="label" translatable="yes">_Find…</attribute>
        <attribute name="accel">&lt;Primary&gt;f</attribute>
      </item>
      <item>
        <attribute name="action">win.view-source</attribute>
        <attribute name="label" translatable="yes">View So_urce</attribute>
        <attribute name="accel">&lt;Primary&gt;u</attribute>
      </item>
      <item>
        <attribute name="action">win.print</attribute>
        <attribute name="label" translatable="yes">Print the current page</attribute>
        <attribute name="accel">&lt;Primary&gt;p</attribute>
      </item>
    </section>
  </menu>
  <menu id="tally-menu">
    <section>
      <item>
        <attribute name="action">tally.pin</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Show Tab _Icon Only</attribute>
      </item>
      <item>
        <attribute name="action">tally.unpin</attribute>
        <attribute name="hidden-when">action-disabled</attribute>
        <attribute name="label" translatable="yes">Show Tab _Label</attribute>
      </item>
      <item>
        <attribute name="action">tally.duplicate</attribute>
        <attribute name="label" translatable="yes">_Duplicate Current Tab</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="action">tally.close-other</attribute>
        <attribute name="label" translatable="yes">Close Ot_her Tabs</attribute>
      </item>
      <item>
        <attribute name="action">tally.close-tab</attribute>
        <attribute name="label" translatable="yes">_Close Tab</attribute>
      </item>
    </section>
  </menu>
</interface>