gnome-control-center/panels/microphone/cc-microphone-panel.ui
2022-02-12 11:51:21 +00:00

99 lines
4.4 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>
</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 applications can record sound.</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="hscrollbar-policy">never</property>
<child>
<object class="AdwClamp">
<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="orientation">vertical</property>
<property name="hexpand">1</property>
<child>
<object class="GtkLabel">
<property name="margin-bottom">12</property>
<property name="label" translatable="yes">Use of the microphone allows applications to record and listen to audio. Disabling the microphone may cause some applications to not function properly.</property>
<property name="wrap">true</property>
<property name="max-width-chars">50</property>
<property name="xalign">0</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="margin-bottom">12</property>
<property name="label" translatable="yes">Allow the applications below to use your microphone.</property>
<property name="wrap">true</property>
<property name="max-width-chars">50</property>
<property name="xalign">0</property>
</object>
</child>
<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 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>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
</template>
</interface>