mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 06:41:03 +02:00
Revert "Fix Pango markup not escaped"
This commit is contained in:
parent
0085e51ff6
commit
a9a32817e0
14 changed files with 23 additions and 40 deletions
|
@ -432,7 +432,7 @@ impl Module<Button> for VolumeModule {
|
|||
}
|
||||
Event::UpdateInput(info) => {
|
||||
if let Some(ui) = inputs.get(&info.index) {
|
||||
ui.label.set_text(&info.name);
|
||||
ui.label.set_label(&info.name);
|
||||
ui.slider.set_value(info.volume);
|
||||
ui.slider.set_sensitive(info.can_set_volume);
|
||||
ui.btn_mute.set_label(if info.muted { &self.icons.muted } else { self.icons.volume_icon(info.volume) });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue