2018-12-11 14:18:16 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcCameraPanel" parent="CcPanel">
2022-01-19 18:38:32 -03:00
<child type="titlebar-end">
<object class="GtkSwitch" id="main_switch">
2022-05-04 08:44:39 +02:00
<accessibility>
<property name="label" translatable="yes">Enable</property>
</accessibility>
2022-01-19 18:38:32 -03:00
<property name="valign">center</property>
</object>
</child>
2022-01-19 13:15:26 -03:00
<child type="content">
2018-12-11 14:18:16 -05:00
<object class="GtkStack" id="stack">
2021-10-19 23:11:47 -03:00
<!-- Empty page -->
2018-12-11 14:18:16 -05:00
<child>
2021-10-19 23:11:47 -03:00
<object class="GtkStackPage">
<property name="name">empty</property>
<property name="child">
2022-01-14 18:08:44 -08:00
<object class="AdwStatusPage">
<property name="icon-name">camera-disabled-symbolic</property>
<property name="title" translatable="yes">Camera is Turned Off</property>
2022-11-23 13:35:48 +01:00
<property name="description" translatable="yes">No sandboxed applications can capture photos or video.</property>
2018-12-11 14:18:16 -05:00
</object>
2021-10-19 23:11:47 -03:00
</property>
2018-12-11 14:18:16 -05:00
</object>
</child>
2021-10-19 23:11:47 -03:00
<!-- Cameras -->
<child>
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
2022-01-14 19:53:18 -08:00
<object class="AdwPreferencesPage">
2018-12-11 14:18:16 -05:00
<child>
2022-01-14 19:53:18 -08:00
<object class="AdwPreferencesGroup">
2022-11-22 14:41:50 +00:00
<property name="description" translatable="yes">The following sandboxed applications have been given permission to use cameras. Applications that are not sandboxed can use cameras without asking for permission.</property>
2021-10-19 23:11:47 -03:00
<child>
2022-01-14 19:53:18 -08:00
<object class="GtkListBox" id="camera_apps_list_box">
<property name="selection-mode">none</property>
<style>
<class name="boxed-list"/>
</style>
<child type="placeholder">
2018-12-11 14:18:16 -05:00
<object class="GtkLabel">
2022-01-14 19:53:18 -08:00
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
2022-11-22 14:41:50 +00:00
<property name="label" translatable="yes">No sandboxed applications have asked for camera access</property>
2022-01-14 19:53:18 -08:00
<property name="wrap">true</property>
2018-12-11 14:18:16 -05:00
<property name="max-width-chars">50</property>
<style>
2022-01-14 19:53:18 -08:00
<class name="dim-label" />
2018-12-11 14:18:16 -05:00
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
2021-10-19 23:11:47 -03:00
</property>
2018-12-11 14:18:16 -05:00
</object>
</child>
2021-10-19 23:11:47 -03:00
2018-12-11 14:18:16 -05:00
</object>
</child>
</template>
</interface>