aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-09 17:39:03 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-09 17:39:03 +0200
commita406685399b46b4b2a62b8e580ce7beec2f875f4 (patch)
tree2cd89a60466abc22a1eaa75417074a112eaf9702 /src/player-controller.vala
parent58627767fbd151587a843fd2397f1c293533664a (diff)
downloadayatana-indicator-sound-a406685399b46b4b2a62b8e580ce7beec2f875f4.tar.gz
ayatana-indicator-sound-a406685399b46b4b2a62b8e580ce7beec2f875f4.tar.bz2
ayatana-indicator-sound-a406685399b46b4b2a62b8e580ce7beec2f875f4.zip
image is appearing inthe gutter hurray
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 1ff8b08..a7c1424 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -70,6 +70,7 @@ public class PlayerController : GLib.Object
this.construct_widgets();
this.establish_mpris_connection();
this.update_layout();
+ debug ("New player controller for %s with icon name %s", this.app_info.get_name(), this.icon_name);
}
public void update_state(state new_state)
@@ -144,8 +145,10 @@ public class PlayerController : GLib.Object
{
PlaylistsMenuitem playlists_menuitem = this.custom_items[widget_order.PLAYLISTS] as PlaylistsMenuitem;
if(this.current_state != state.CONNECTED){
+ // TODO
+ // For now just set the visibility to true so that I can figure out what todo here.
this.custom_items[widget_order.METADATA].property_set_bool (MENUITEM_PROP_VISIBLE,
- false);
+ true);
playlists_menuitem.root_item.property_set_bool (MENUITEM_PROP_VISIBLE,
false );
this.custom_items[widget_order.TRANSPORT].property_set_bool (MENUITEM_PROP_VISIBLE,