aboutsummaryrefslogtreecommitdiff
path: root/src/sound-menu.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound-menu.vala')
-rw-r--r--src/sound-menu.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound-menu.vala b/src/sound-menu.vala
index 376ef15..dd50f12 100644
--- a/src/sound-menu.vala
+++ b/src/sound-menu.vala
@@ -19,7 +19,7 @@
class SoundMenu: Object
{
- public SoundMenu () {
+ public SoundMenu (string settings_action) {
/* A sound menu always has at least two sections: the volume section (this.volume_section)
* at the start of the menu, and the settings section at the end. Between those two,
* it has a dynamic amount of player sections, one for each registered player.
@@ -33,7 +33,7 @@ class SoundMenu: Object
this.menu = new Menu ();
this.menu.append_section (null, volume_section);
- this.menu.append (_("Sound Settingsā€¦"), "indicator.settings");
+ this.menu.append (_("Sound Settingsā€¦"), settings_action);
var root_item = new MenuItem (null, "indicator.root");
root_item.set_attribute ("x-canonical-type", "s", "com.canonical.indicator.root");