aboutsummaryrefslogtreecommitdiff
path: root/src/playlists-menu-item.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlists-menu-item.vala')
-rw-r--r--src/playlists-menu-item.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playlists-menu-item.vala b/src/playlists-menu-item.vala
index f9d681e..30ffdc7 100644
--- a/src/playlists-menu-item.vala
+++ b/src/playlists-menu-item.vala
@@ -49,6 +49,11 @@ public class PlaylistsMenuitem : PlayerItem
this.root_item.child_append( menuitem );
}
}
+
+ public void update_active_playlist(PlaylistDetails detail)
+ {
+ this.root_item.property_set ( MENUITEM_PROP_LABEL, detail.name );
+ }
private void submenu_item_activated (int menu_item_id)
{