summaryrefslogtreecommitdiff
path: root/data/gl-eventtoolbar.ui
blob: 5fa54161d5ec85d31928368a5142e95427e495cd (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
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gnome-logs">
    <menu id='primary-menu'>
        <section>
            <item>
                <attribute name="accel">&lt;Primary&gt;n</attribute>
                <attribute name="label" translatable="yes">_New Window</attribute>
                <attribute name="action">app.new-window</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="accel">F1</attribute>
                <attribute name="label" translatable="yes">_Help</attribute>
                <attribute name="action">app.help</attribute>
            </item>
            <item>
                <attribute name="label" translatable="yes">_About Logs</attribute>
                <attribute name="action">app.about</attribute>
            </item>
        </section>
    </menu>
    <template class="GlEventToolbar">
        <child>
            <object class="AdwHeaderBar" id="headerbar">
                <property name="hexpand">True</property>
                <property name="visible">True</property>
                <child type="end">
                    <object class="GtkMenuButton" id="main_menu">
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="menu_model">primary-menu</property>
                        <property name="icon-name">open-menu-symbolic</property>
                    </object>
                </child>
                <child type="end">
                    <object class="GtkButton" id="output_button">
                        <property name="action-name">win.export</property>
                        <property name="tooltip-text" translatable="yes">Export logs to a file</property>
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="icon-name">document-save-symbolic</property>
                    </object>
                </child>
                <child type="title">
                    <object class="GtkMenuButton" id="menu_button">
                        <property name="direction">none</property>
                        <property name="tooltip-text" translatable="yes">Choose the boot from which to view logs</property>
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="relief">GTK_RELIEF_NONE</property>
                        <style>
                            <class name="title-menu-button"/>
                        </style>
                    </object>
                </child>
                <child type="end">
                    <object class="GtkToggleButton" id="search_button">
                        <property name="action-name">win.search</property>
                        <property name="tooltip-text" translatable="yes">Search all the logs of the current category</property>
                        <property name="valign">center</property>
                        <property name="visible">True</property>
                        <property name="icon-name">edit-find-symbolic</property>
                    </object>
                </child>
            </object>
        </child>
    </template>
</interface>