summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-mixer-dialog.c
diff options
context:
space:
mode:
authorvvillenave <[email protected]>2021-11-10 20:33:53 +0000
committerGitHub <[email protected]>2021-11-10 21:33:53 +0100
commit5fd5b5a23011ed536472ea724153216c21515f39 (patch)
tree4f5f46f0ef37dfe0a5f7854c29b11ce8e9bed5d3 /mate-volume-control/gvc-mixer-dialog.c
parent0d07e873ee10228a7d79221f42713a61e68b40b0 (diff)
downloadmate-media-5fd5b5a23011ed536472ea724153216c21515f39.tar.bz2
mate-media-5fd5b5a23011ed536472ea724153216c21515f39.tar.xz
Accessibility improvements
- Make the speaker test dialog accessible - Add an accessible object for the Input level custom widget Co-authored-by: Valentin Villenave <[email protected]>
Diffstat (limited to 'mate-volume-control/gvc-mixer-dialog.c')
-rw-r--r--mate-volume-control/gvc-mixer-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-volume-control/gvc-mixer-dialog.c b/mate-volume-control/gvc-mixer-dialog.c
index 1567eaa..ed0e40b 100644
--- a/mate-volume-control/gvc-mixer-dialog.c
+++ b/mate-volume-control/gvc-mixer-dialog.c
@@ -2108,6 +2108,9 @@ gvc_mixer_dialog_constructor (GType type,
GTK_ORIENTATION_HORIZONTAL);
gvc_level_bar_set_scale (GVC_LEVEL_BAR (self->priv->input_level_bar),
GVC_LEVEL_SCALE_LINEAR);
+ gtk_label_set_mnemonic_widget (GTK_LABEL (label),
+ self->priv->input_level_bar);
+ gtk_widget_set_can_focus (self->priv->input_level_bar, TRUE);
gtk_box_pack_start (GTK_BOX (box),
self->priv->input_level_bar,
TRUE, TRUE, 6);