aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
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