aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-13 12:04:15 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-13 12:04:15 +0200
commitec14b8310dd5b02ed749c2cfade5c1a45ef00bac (patch)
treebf9c38d689580d1a7911b0c6b7042d33e99b379d /src/player-controller.vala
parentedd58e6f87bd80a4e37eac90b42b03528aba44ee (diff)
downloadayatana-indicator-sound-ec14b8310dd5b02ed749c2cfade5c1a45ef00bac.tar.gz
ayatana-indicator-sound-ec14b8310dd5b02ed749c2cfade5c1a45ef00bac.tar.bz2
ayatana-indicator-sound-ec14b8310dd5b02ed749c2cfade5c1a45ef00bac.zip
number of bugs fixed, more to come
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 3722fff..7e35d63 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -147,14 +147,14 @@ public class PlayerController : GLib.Object
MetadataMenuitem metadata_menuitem = this.custom_items[widget_order.METADATA] as MetadataMenuitem;
if(this.current_state != state.CONNECTED){
// TODO
- metadata_menuitem.collapse ();
+ metadata_menuitem.should_collapse (true);
playlists_menuitem.root_item.property_set_bool (MENUITEM_PROP_VISIBLE,
false );
this.custom_items[widget_order.TRANSPORT].property_set_bool (MENUITEM_PROP_VISIBLE,
this.app_info.get_id() == "banshee.desktop");
return;
}
- metadata_menuitem.expand ();
+ 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()));*/
if (this.app_info.get_id() == "banshee.desktop"){