gnome-control-center/panels/microphone/cc-microphone-panel.ui
Felipe Borges 9285b0deb5 privacy: Update empty-state pages for more accurate permissions
To indicate that the permissions only apply to sandboxed applications.

See #741 (comment 1457422)
2022-12-01 09:59:21 +00:00

72 lines
3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcMicrophonePanel" parent="CcPanel">
<child type="titlebar-end">
<object class="GtkSwitch" id="main_switch">
<property name="valign">center</property>
<accessibility>
<property name="label" translatable="yes">Enable</property>
</accessibility>
</object>
</child>
<child type="content">
<object class="GtkStack" id="stack">
<child>
<object class="GtkStackPage">
<property name="name">empty</property>
<property name="child">
<object class="AdwStatusPage">
<property name="icon-name">microphone-disabled-symbolic</property>
<property name="title" translatable="yes">Microphone Turned Off</property>
<property name="description" translatable="yes">No sandboxed applications can record sound.</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<property name="description" translatable="yes">The following sandboxed applications have been given permission to use microphones. Applications that are not sandboxed can use microphones without asking for permission.</property>
<child>
<object class="GtkListBox" id="microphone_apps_list_box">
<property name="can-focus">true</property>
<property name="selection-mode">none</property>
<style>
<class name="boxed-list"/>
</style>
<child type="placeholder">
<object class="GtkLabel">
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="label" translatable="yes">No sandboxed applications have asked for microphone 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>
</property>
</object>
</child>
</object>
</child>
</template>
</interface>