gnome-control-center/panels/camera/cc-camera-panel.ui
Alessandro Bono 3f84e2d9b4 camera: Remove empty status page
We are going to move the main switch from the header bar to the panel.
There is no more need for an empty page.

Helps: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2191
2023-02-07 10:14:40 +00:00

47 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcCameraPanel" parent="CcPanel">
<child type="titlebar-end">
<object class="GtkSwitch" id="main_switch">
<accessibility>
<property name="label" translatable="yes">Enable</property>
</accessibility>
<property name="valign">center</property>
</object>
</child>
<child type="content">
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<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>
<style>
<class name="boxed-list"/>
</style>
<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>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>