summaryrefslogtreecommitdiffstats
path: root/panels/common/cc-permission-infobar.ui
blob: a2830b98fcc6191912755dd207d7a9ede63149a3 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="CcPermissionInfobar" parent="AdwBin">
    <property name="valign">start</property>
    <child>
      <object class="GtkRevealer" id="revealer">
        <property name="hexpand">True</property>
        <property name="reveal-child">True</property>
        <child>
          <object class="GtkInfoBar">
            <child>
              <object class="GtkBox">
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <property name="spacing">10</property>
                <child>
                  <object class="GtkImage">
                    <property name="icon-name">system-lock-screen-symbolic</property>
                  </object>
                </child>
                <child>
                  <object class="GtkBox">
                    <property name="hexpand">True</property>
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel" id="title">
                        <property name="halign">start</property>
                        <property name="wrap">True</property>
                        <!-- Actual string set in code -->
                        <property name="label"></property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="halign">start</property>
                        <property name="wrap">True</property>
                        <property name="label" translatable="yes">Some settings must be unlocked before they can be changed.</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>

            <child>
              <object class="GtkCenterBox">
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <property name="margin-start">10</property>
                <property name="margin-end">10</property>
                <child type="end">
                  <object class="GtkLockButton" id="lock_button">
                    <property name="receives-default">True</property>
                    <property name="label" translatable="yes">Unlock…</property>
                    <property name="valign">GTK_ALIGN_CENTER</property>
                  </object>
                </child>
              </object>
            </child>

          </object>
        </child>
      </object>
    </child>
  </template>
</interface>