diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/microphone/cc-microphone-panel.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.tar.xz gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/microphone/cc-microphone-panel.ui')
-rw-r--r-- | panels/microphone/cc-microphone-panel.ui | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/panels/microphone/cc-microphone-panel.ui b/panels/microphone/cc-microphone-panel.ui new file mode 100644 index 0000000..96695f1 --- /dev/null +++ b/panels/microphone/cc-microphone-panel.ui @@ -0,0 +1,74 @@ +<?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 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">Use of the microphone allows applications to record and listen to audio. Disabling the microphone may cause some applications to not function properly. + +Allow the applications below to use your microphone.</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 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> |