diff options
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r-- | src/metadata-menu-item.vala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala index 1d50d38..5d32314 100644 --- a/src/metadata-menu-item.vala +++ b/src/metadata-menu-item.vala @@ -182,6 +182,21 @@ public class MetadataMenuitem : PlayerItem this.property_set_bool (MENUITEM_PLAYER_RUNNING, update); } + public void collapse() + { + this.property_set_bool (MENUITEM_HIDE_TRACK_DETAILS, true); + } + + public void expand() + { + this.property_set_bool (MENUITEM_HIDE_TRACK_DETAILS, false); + } + + public void populated() + { + //this.property_get (MENUITEM_TITLE + } + public static HashSet<string> attributes_format() { HashSet<string> attrs = new HashSet<string>(); |