diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-06-10 11:38:54 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-06-10 11:38:54 +0200 |
commit | e0761ddf73f224b880adea3f226463eb7a996ec6 (patch) | |
tree | 4ed1cd077dcf92c5e1a246887e4ae603edeb8e0e /src/metadata-menu-item.vala | |
parent | a406685399b46b4b2a62b8e580ce7beec2f875f4 (diff) | |
download | ayatana-indicator-sound-e0761ddf73f224b880adea3f226463eb7a996ec6.tar.gz ayatana-indicator-sound-e0761ddf73f224b880adea3f226463eb7a996ec6.tar.bz2 ayatana-indicator-sound-e0761ddf73f224b880adea3f226463eb7a996ec6.zip |
label appearing dynamic resizing partially working
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>(); |