2018-12-11 14:18:16 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2023-06-04 10:31:11 +02:00
<template class="CcCameraPage" parent="AdwNavigationPage">
<property name="title" translatable="yes">Cameras</property>
<property name="tag">camera-page</property>
<property name="child">
<object class="AdwToolbarView">
<property name="top-bar-style">raised</property>
<child type="top">
<object class="AdwHeaderBar"/>
</child>
<property name="content">
2023-06-30 22:53:16 +02:00
<object class="AdwPreferencesPage">
2023-01-21 17:27:29 +01:00
<child>
2023-06-30 22:53:16 +02:00
<object class="AdwPreferencesGroup">
<child>
<object class="AdwSwitchRow" id="camera_row">
<property name="title" translatable="yes">_Camera Access</property>
<property name="subtitle" translatable="yes">Allow permitted apps to use cameras</property>
<property name="use-underline">True</property>
</object>
</child>
2023-01-21 17:27:29 +01:00
</object>
</child>
2023-01-21 17:27:26 +01:00
<child>
2023-06-30 22:53:16 +02:00
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Permitted Apps</property>
<property name="description" translatable="yes">The following sandboxed apps have been given permission to use cameras. Apps that are not sandboxed can use cameras without asking for permission.</property>
<child>
<object class="GtkListBox" id="camera_apps_list_box">
<property name="selection-mode">none</property>
2023-01-21 17:27:26 +01:00
<style>
2023-06-30 22:53:16 +02:00
<class name="boxed-list"/>
2023-01-21 17:27:26 +01:00
</style>
2023-06-30 22:53:16 +02:00
<child type="placeholder">
<object class="GtkLabel">
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="label" translatable="yes">No sandboxed apps 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>
2018-12-11 14:18:16 -05:00
</object>
</child>
</object>
2023-01-21 17:27:26 +01:00
</child>
2018-12-11 14:18:16 -05:00
</object>
2023-06-04 10:31:11 +02:00
</property>
</object>
</property>
2018-12-11 14:18:16 -05:00
</template>
</interface>