summaryrefslogtreecommitdiffstats
path: root/src/terminal-headermenu.ui
blob: 42d5296993f0e3a2576d2dd269a4c9b60015a278 (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
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright © 2012 Christian Persch

  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 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>.
-->
<interface>
  <menu id="headermenu">
    <section>
      <attribute name="display-hint">horizontal-buttons</attribute>
      <item>
        <attribute name="label" translatable="yes">Zoom _Out</attribute>
        <attribute name="verb-icon">zoom-out-symbolic</attribute>
        <attribute name="action">win.zoom-out</attribute>
      </item>
      <item>
        <attribute name="label">100%</attribute>
        <attribute name="action">win.zoom-normal</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Zoom _In</attribute>
        <attribute name="verb-icon">zoom-in-symbolic</attribute>
        <attribute name="action">win.zoom-in</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">New _Window</attribute>
        <attribute name="action">win.new-terminal</attribute>
        <attribute name="target" type="(ss)">('window', 'current')</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Full Screen</attribute>
        <attribute name="action">win.enter-fullscreen</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Read-_Only</attribute>
        <attribute name="action">win.read-only</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Set _Title…</attribute>
        <attribute name="action">win.set-title</attribute>
        <attribute name="hidden-when">action-missing</attribute>
      </item>
      <section id="set-profile-section" />
      <submenu>
        <attribute name="label" translatable="yes">_Advanced</attribute>
        <section>
          <item>
            <attribute name="label" translatable="yes">_Reset</attribute>
            <attribute name="action">win.reset</attribute>
            <attribute name="target" type="b">false</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">Reset and C_lear</attribute>
            <attribute name="action">win.reset</attribute>
            <attribute name="target" type="b">true</attribute>
          </item>
        </section>
        <section>
          <item>
            <attribute name="label" translatable="yes">_1. 80×24</attribute>
            <attribute name="action">win.size-to</attribute>
            <attribute name="target" type="(uu)">(80, 24)</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_2. 80×43</attribute>
            <attribute name="action">win.size-to</attribute>
            <attribute name="target" type="(uu)">(80, 43)</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_3. 132×24</attribute>
            <attribute name="action">win.size-to</attribute>
            <attribute name="target" type="(uu)">(132, 24)</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_4. 132×43</attribute>
            <attribute name="action">win.size-to</attribute>
            <attribute name="target" type="(uu)">(132, 43)</attribute>
          </item>
        </section>
        <section>
          <item>
            <attribute name="label" translatable="yes">_Inspector</attribute>
            <attribute name="action">win.inspector</attribute>
            <attribute name="hidden-when">action-disabled</attribute>
          </item>
        </section>
      </submenu>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Preferences</attribute>
        <attribute name="action">app.preferences</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Help</attribute>
        <attribute name="action">app.help</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_About</attribute>
        <attribute name="action">app.about</attribute>
      </item>
    </section>
  </menu>
</interface>