File: HeaderBar.ui

package info (click to toggle)
gnome-music 49.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,144 kB
  • sloc: python: 7,973; xml: 102; sh: 42; makefile: 17
file content (48 lines) | stat: -rw-r--r-- 1,866 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="HeaderBar" parent="AdwBin">
    <child>
      <object class="AdwHeaderBar" id="_headerbar">
        <property name="vexpand">False</property>
        <child type="end">
          <object class="GtkMenuButton" id="_menu_button">
            <property name="valign">center</property>
            <property name="sensitive">True</property>
            <property name="icon-name">open-menu-symbolic</property>
            <property name="menu-model">_primary_menu</property>
            <property name="primary">True</property>
            <property name="tooltip_text" translatable="yes">Menu</property>
          </object>
        </child>
        <child type="start">
          <object class="GtkToggleButton" id="_search_button">
            <property name="valign">center</property>
            <property name="sensitive">True</property>
            <property name="icon-name">edit-find-symbolic</property>
            <property name="tooltip_text" translatable="yes">Search</property>
          </object>
        </child>
      </object>
    </child>
  </template>
  <menu id="_primary_menu">
    <section>
      <item>
        <attribute name="label" translatable="true">Preferences</attribute>
        <attribute name="action">app.preferences</attribute>
      </item>
      <item>
        <attribute name="label" translatable="true">Keyboard Shortcuts</attribute>
        <attribute name="action">win.show-help-overlay</attribute>
      </item>
      <item>
        <attribute name="label" translatable="true">Help</attribute>
        <attribute name="action">app.help</attribute>
      </item>
      <item>
        <attribute name="label" translatable="true">About Music</attribute>
        <attribute name="action">app.about</attribute>
      </item>
    </section>
  </menu>
</interface>