summaryrefslogtreecommitdiff
path: root/ui/download-button.ui
blob: 0958ed2f078ad3312e687755b14fcdc679cc60d5 (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
<interface>
  <object class="GtkPopover" id="popover">
    <property name="modal">yes</property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">12</property>
        <property name="margin">12</property>
        <property name="visible">yes</property>
        <child>
          <object class="GtkBox">
            <property name="orientation">horizontal</property>
            <property name="spacing">12</property>
            <property name="margin">12</property>
            <property name="visible">yes</property>
            <child>
              <object class="GtkLabel">
                <property name="label" translatable="yes">Downloads</property>
                <property name="hexpand">yes</property>
                <property name="width-chars">33</property>
                <property name="visible">yes</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="clear">
                <property name="focus-on-click">no</property>
                <property name="relief">half</property>
                <property name="label" translatable="yes" context="downloads">_Clear</property>
                <property name="use-underline">yes</property>
                <property name="visible">yes</property>
              </object>
              <packing>
                <property name="pack-type">end</property>
              </packing>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkListBox" id="listbox">
            <property name="selection-mode">none</property>
            <property name="visible">yes</property>
          </object>
        </child>
      </object>
    </child>
  </object>
  <template class="MidoriDownloadButton" parent="GtkButton">
    <property name="focus-on-click">no</property>
    <property name="action-name">win.show-downloads</property>
    <property name="tooltip-text" translatable="yes">View downloaded files</property>
    <child>
      <object class="GtkImage">
        <property name="icon-name">folder-download-symbolic</property>
        <property name="use-fallback">yes</property>
        <property name="visible">yes</property>
      </object>
    </child>
  </template>
</interface>