diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-06-14 13:17:25 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-06-14 13:17:25 +0200 |
commit | 95fdfeacc7b13034ca71aac2fe2e42fef17de253 (patch) | |
tree | cb365993f05155623f8b85e620b2373ef7bd0811 /src/player-controller.vala | |
parent | 1f5e377b627ba6d170f0cf5fa30d4d1c5b502609 (diff) | |
download | ayatana-indicator-sound-95fdfeacc7b13034ca71aac2fe2e42fef17de253.tar.gz ayatana-indicator-sound-95fdfeacc7b13034ca71aac2fe2e42fef17de253.tar.bz2 ayatana-indicator-sound-95fdfeacc7b13034ca71aac2fe2e42fef17de253.zip |
spacing fixed
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r-- | src/player-controller.vala | 4 |
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(); |