summaryrefslogtreecommitdiffstats
path: root/panels/camera/cc-camera-panel.ui
blob: 8d87bbd61830078bd810a61cbd5e57496f2ae177 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
  <requires lib="gtk+" version="3.14"/>
  <template class="CcCameraPanel" parent="CcPanel">
    <property name="visible">True</property>
    <child>
      <object class="GtkStack" id="stack">
        <property name="visible">true</property>
        <child>
          <object class="GtkBox">
            <property name="visible">true</property>
            <property name="orientation">vertical</property>
            <property name="valign">center</property>
            <child>
              <object class="GtkImage">
                <property name="visible">true</property>
                <property name="valign">start</property>
                <property name="pixel-size">96</property>
                <property name="icon-name">camera-disabled-symbolic</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
              <packing>
                <property name="fill">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="visible">true</property>
                <property name="margin-top">20</property>
                <property name="margin-bottom">15</property>
                <property name="label" translatable="yes">Camera is turned off</property>
                <attributes>
                  <attribute name="scale" value="1.44"/>
                </attributes>
              </object>
            </child>
            <child>
              <object class="GtkLabel">
                <property name="visible">true</property>
                <property name="label" translatable="yes">No applications can capture photos or video.</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
          </object>
          <packing>
            <property name="name">empty</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow">
            <property name="visible">true</property>
            <property name="hscrollbar-policy">never</property>
            <child>
              <object class="HdyClamp">
                <property name="visible">True</property>
                <property name="margin_top">32</property>
                <property name="margin_bottom">32</property>
                <property name="margin_start">12</property>
                <property name="margin_end">12</property>

                <child>
                  <object class="GtkBox">
                    <property name="visible">true</property>
                    <property name="orientation">vertical</property>
                    <property name="hexpand">1</property>
                    <child>
                      <object class="GtkLabel">
                        <property name="visible">true</property>
                        <property name="margin-bottom">12</property>
                        <property name="label" translatable="yes">Use of the camera allows applications to capture photos and video. Disabling the camera may cause some applications to not function properly.</property>
                        <property name="wrap">1</property>
                        <property name="max-width-chars">50</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkLabel">
                        <property name="visible">true</property>
                        <property name="margin-bottom">12</property>
                        <property name="label" translatable="yes">Allow the applications below to use your camera.</property>
                        <property name="wrap">1</property>
                        <property name="max-width-chars">50</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkListBox" id="camera_apps_list_box">
                        <property name="visible">true</property>
                        <property name="can-focus">1</property>
                        <property name="selection-mode">none</property>
                        <style>
                          <class name="view"/>
                          <class name="frame"/>
                        </style>

                        <child type="placeholder">
                          <object class="GtkLabel">
                            <property name="visible">true</property>
                            <property name="margin">18</property>
                            <property name="label" translatable="yes">No Applications Have Asked for Camera Access</property>
                            <property name="wrap">true</property>
                            <property name="max-width-chars">50</property>
                            <style>
                              <class name="dim-label" />
                            </style>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>

              </object>
            </child>
          </object>
          <packing>
            <property name="name">content</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>