aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index e8215cd..002af65 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -154,9 +154,7 @@ public class PlayerController : GLib.Object
this.app_info.get_id() == "banshee.desktop");
return;
}
- metadata_menuitem.should_collapse (false);
- /*this.custom_items[widget_order.METADATA].property_set_bool (MENUITEM_PROP_VISIBLE,
- this.custom_items[widget_order.METADATA].populated(MetadataMenuitem.attributes_format()));*/
+ metadata_menuitem.should_collapse (!this.custom_items[widget_order.METADATA].populated (MetadataMenuitem.relevant_attributes_for_ui()) );
if (this.app_info.get_id() == "banshee.desktop"){
TransportMenuitem transport = this.custom_items[widget_order.TRANSPORT] as TransportMenuitem;
transport.handle_cached_action();