aboutsummaryrefslogtreecommitdiff
path: root/src/sound-menu.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-01-29 17:31:03 +0000
committerCI Train Bot <ci-train-bot@canonical.com>2015-01-29 17:31:03 +0000
commitf393b1688218d1e773f235ca03d49735ed03ff5d (patch)
tree4c3772d0a865aea0fff222455dc705ef4c695569 /src/sound-menu.vala
parentee29d02586145ab9966ad81c62104588cc9e3606 (diff)
parent30e9118a70ef2ed337ae613b6af55245da5df4f5 (diff)
downloadayatana-indicator-sound-f393b1688218d1e773f235ca03d49735ed03ff5d.tar.gz
ayatana-indicator-sound-f393b1688218d1e773f235ca03d49735ed03ff5d.tar.bz2
ayatana-indicator-sound-f393b1688218d1e773f235ca03d49735ed03ff5d.zip
Move notification code out of volume control object
Approved by: Charles Kerr, Jussi Pakkanen, PS Jenkins bot
Diffstat (limited to 'src/sound-menu.vala')
-rw-r--r--src/sound-menu.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound-menu.vala b/src/sound-menu.vala
index 3881faf..96dd143 100644
--- a/src/sound-menu.vala
+++ b/src/sound-menu.vala
@@ -60,6 +60,7 @@ public class SoundMenu: Object
root_item.set_attribute ("x-canonical-type", "s", "com.canonical.indicator.root");
root_item.set_attribute ("x-canonical-scroll-action", "s", "indicator.scroll");
root_item.set_attribute ("x-canonical-secondary-action", "s", "indicator.mute");
+ root_item.set_attribute ("submenu-action", "s", "indicator.indicator-shown");
root_item.set_submenu (this.menu);
this.root = new Menu ();