aboutsummaryrefslogtreecommitdiff
path: root/src/sound-menu.vala
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-07-25 16:38:15 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-07-25 16:38:15 +0200
commitce5583c3d5c8f4cf390936ef567c7088062675df (patch)
tree7fc36fabcf623a4a4c7946558dcb512790479f31 /src/sound-menu.vala
parent997864b9fc62596e8cc238f4c4b77d780651ffb4 (diff)
downloadayatana-indicator-sound-ce5583c3d5c8f4cf390936ef567c7088062675df.tar.gz
ayatana-indicator-sound-ce5583c3d5c8f4cf390936ef567c7088062675df.tar.bz2
ayatana-indicator-sound-ce5583c3d5c8f4cf390936ef567c7088062675df.zip
Export phone menu
For now, this does the same as the one on the desktop, except for starting the the phone's settings ui.
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");