gnome-control-center/panels/sound/cc-volume-slider.ui
Lukáš Tyrychtr 92b0d54f11 sound: Fix accessibility issues for the mute button
This does the following:
* Replaces the a11y label by a tooltip
* Reflects what will happen when the button is pressed

Fixes #2750
2023-11-13 12:49:04 +00:00

27 lines
996 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcVolumeSlider" parent="GtkWidget">
<child>
<object class="GtkButton" id="mute_button">
<property name="icon_name">audio-volume-muted-symbolic</property>
<property name="action-name">volume-slider.mute</property>
<property name="tooltip-text" translatable="yes">Mute</property>
<style>
<class name="flat" />
</style>
</object>
</child>
<child>
<object class="GtkScale" id="volume_scale">
<property name="adjustment">volume_adjustment</property>
<property name="hexpand">True</property>
<accessibility>
<property name="label" translatable="yes">Volume</property>
</accessibility>
</object>
</child>
</template>
<object class="GtkAdjustment" id="volume_adjustment">
<signal name="value_changed" handler="volume_changed_cb" object="CcVolumeSlider" swapped="yes"/>
</object>
</interface>