summaryrefslogtreecommitdiffstats
path: root/src/terminal-headerbar.ui
blob: 047cdfe250d043a74a67be6979bdcecdf7097a56 (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
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright © 2018 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, 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, see <http://www.gnu.org/licenses/>.
-->
<interface>
  <template class="TerminalHeaderbar" parent="GtkHeaderBar">
    <property name="can-focus">False</property>
    <property name="visible">True</property>
    <property name="show-close-button">True</property>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <style>
          <class name="linked"/>
        </style>
        <child>
          <object class="GtkButton">
            <property name="visible">True</property>
            <property name="focus_on_click">False</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <property name="action-name">win.new-terminal</property>
            <property name="action-target">('tab-default','current')</property>
            <style>
              <class name="image-button"/>
            </style>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="icon_name">tab-new-symbolic</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkMenuButton" id="profilebutton">
            <property name="visible">True</property>
            <property name="focus_on_click">False</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <property name="use-popover">False</property>
            <style>
              <class name="image-button"/>
              <class name="disclosure-button"/>
            </style>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="icon_name">pan-down-symbolic</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkMenuButton" id="menubutton">
        <property name="visible">True</property>
        <property name="focus_on_click">False</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action-name">win.header-menu</property>
        <style>
          <class name="image-button"/>
        </style>
        <child>
          <object class="GtkImage">
            <property name="visible">True</property>
            <property name="icon_name">open-menu-symbolic</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="pack_type">end</property>
      </packing>
    </child>
    <child>
      <object class="GtkButton">
        <property name="visible">True</property>
        <property name="focus_on_click">False</property>
        <property name="can_focus">True</property>
        <property name="receives_default">False</property>
        <property name="action-name">win.find</property>
        <style>
          <class name="image-button"/>
        </style>
        <child>
          <object class="GtkImage">
            <property name="visible">True</property>
            <property name="icon_name">edit-find-symbolic</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="pack_type">end</property>
      </packing>
    </child>
  </template>
</interface>