aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-10-06 02:29:54 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-10-25 09:38:17 +0200
commitb6ed93c633160468c4e8600c1e909d68f60d46d7 (patch)
tree729ef84b58ce0e26a82e4870c3743bc21c08ac5a
parent74fa8dde71ff20d4d55deefcbdcd6ae102ec555a (diff)
downloadayatana-indicator-sound-b6ed93c633160468c4e8600c1e909d68f60d46d7.tar.gz
ayatana-indicator-sound-b6ed93c633160468c4e8600c1e909d68f60d46d7.tar.bz2
ayatana-indicator-sound-b6ed93c633160468c4e8600c1e909d68f60d46d7.zip
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.
-rw-r--r--src/sound-menu.vala12
1 files changed, 6 insertions, 6 deletions
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));
}
}