aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-21 23:28:31 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-21 23:28:31 +0100
commit3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba (patch)
treeab04e6c242c3dfd34b835c9a798d22efcaf33a57 /src/transport-menu-item.vala
parent39e811f976a80011703e7b0c04b891a1f1abdd68 (diff)
downloadayatana-indicator-sound-3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba.tar.gz
ayatana-indicator-sound-3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba.tar.bz2
ayatana-indicator-sound-3c42ee89d903f2bd1a239f2e3e8c236bfe2ef2ba.zip
trying for support
Diffstat (limited to 'src/transport-menu-item.vala')
-rw-r--r--src/transport-menu-item.vala7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index 3c49e1c..aae07cc 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -36,5 +36,12 @@ public class TransportMenuitem : PlayerItem
{
debug("handle_event with bool value %s", input_value.get_boolean().to_string());
this.mpris_adaptor.toggle_playback(input_value.get_boolean());
+ }
+
+ public static HashSet<string> attributes_format()
+ {
+ HashSet<string> attrs = new HashSet<string>();
+ attrs.add(MENUITEM_STATE);
+ return attrs;
}
} \ No newline at end of file