summaryrefslogtreecommitdiffstats
path: root/src/gs-info-bar.ui
blob: 8977442dba224ece0e56d6db616be691c062f75d (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GsInfoBar" parent="GtkInfoBar">
    <property name="app_paintable">True</property>
    <property name="message_type">info</property>
    <style>
      <class name="application-details-infobar"/>
    </style>
    <child internal-child="content_area">
      <object class="GtkBox" id="content_area">
        <property name="spacing">0</property>
        <property name="halign">fill</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>
  </template>
</interface>