aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-01-29 12:16:34 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2016-01-29 12:16:34 +0100
commit12715ce7e03fec9544d7261c87aa9ddaa39b75ad (patch)
tree9704d6a09856ee745926ec36705738dda19d7cba /src
parentee2ba9c677721724c8385ff2c9f32f7a9f090f0d (diff)
downloadayatana-indicator-sound-12715ce7e03fec9544d7261c87aa9ddaa39b75ad.tar.gz
ayatana-indicator-sound-12715ce7e03fec9544d7261c87aa9ddaa39b75ad.tar.bz2
ayatana-indicator-sound-12715ce7e03fec9544d7261c87aa9ddaa39b75ad.zip
added integration tests for adding/removing players and playback controls
Diffstat (limited to 'src')
-rw-r--r--src/sound-menu.vala3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sound-menu.vala b/src/sound-menu.vala
index fde1a6c..d100be1 100644
--- a/src/sound-menu.vala
+++ b/src/sound-menu.vala
@@ -308,9 +308,6 @@ public class SoundMenu: Object
MenuItem create_playback_menu_item (MediaPlayer player) {
var playback_item = new MenuItem (null, null);
playback_item.set_attribute ("x-canonical-type", "s", "com.canonical.unity.playback-item");
- playback_item.set_attribute ("x-canonical-play-action", "s", "indicator.play." + player.id + ".disabled");
- playback_item.set_attribute ("x-canonical-next-action", "s", "indicator.next." + player.id + ".disabled");
- playback_item.set_attribute ("x-canonical-previous-action", "s", "indicator.previous." + player.id + ".disabled");
if (player.is_running) {
if (player.can_do_play) {
playback_item.set_attribute ("x-canonical-play-action", "s", "indicator.play." + player.id);