summaryrefslogtreecommitdiffstats
path: root/src/gs-info-bar.ui
blob: 70e6332894217a39c891fee4edf69504f930023c (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GsInfoBar" parent="GtkWidget">
    <child>
      <object class="GtkInfoBar" id="info_bar">
        <property name="message_type">info</property>
        <style>
          <class name="application-details-infobar"/>
        </style>
        <child>
          <object class="GtkBox" id="content_area">
            <property name="spacing">0</property>
            <property name="halign">fill</property>
            <property name="hexpand">True</property>
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkLabel" id="label_title">
                <property name="justify">center</property>
                <property name="wrap">True</property>
                <property name="max_width_chars">30</property>
                <property name="visible">False</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label_body">
                <property name="justify">center</property>
                <property name="wrap">True</property>
                <property name="max_width_chars">30</property>
                <property name="visible">False</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="label_warning">
                <property name="justify">center</property>
                <property name="wrap">True</property>
                <property name="max_width_chars">30</property>
                <property name="visible">False</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>