From b6ed93c633160468c4e8600c1e909d68f60d46d7 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 6 Oct 2022 02:29:54 +0200 Subject: src/sound-menu.vala: Do not force panel icons in the sound menu Panel icons are for the panel (mostly symbolic and monochromatic). Somewhere along the way, the Ayatana Sound Indicator menu was forced to use the same icons as those that were meant for the panel. This change makes the indicator menu use the same icons as any other menu or GUI element on the system. End result: makes any theme capable of becoming Ayatana-friendly without hacks. --- src/sound-menu.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/sound-menu.vala b/src/sound-menu.vala index 338f7c1..5cfc0a6 100644 --- a/src/sound-menu.vala +++ b/src/sound-menu.vala @@ -68,8 +68,8 @@ public class SoundMenu: Object } volume_section.append_item (this.create_slider_menu_item (_("Volume"), "indicator.volume(0)", 0.0, 1.0, 0.01, - "audio-volume-low-zero-panel", - "audio-volume-high-panel", true)); + "audio-volume-low-zero", + "audio-volume-high", true)); this.menu = new Menu (); this.menu.append_section (null, volume_section); @@ -134,8 +134,8 @@ public class SoundMenu: Object set { if (value && !this.mic_volume_shown) { var slider = this.create_slider_menu_item (_("Microphone Volume"), "indicator.mic-volume", 0.0, 1.0, 0.01, - "audio-input-microphone-low-zero-panel", - "audio-input-microphone-high-panel", false); + "audio-input-microphone-low-zero", + "audio-input-microphone-high", false); volume_section.append_item (slider); this.mic_volume_shown = true; } @@ -289,8 +289,8 @@ public class SoundMenu: Object } this.volume_section.remove (index); this.volume_section.insert_item (index, this.create_slider_menu_item (_(label), "indicator.volume(0)", 0.0, 1.0, 0.01, - "audio-volume-low-zero-panel", - "audio-volume-high-panel", true)); + "audio-volume-low-zero", + "audio-volume-high", true)); } } -- cgit v1.2.3