aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/metadata-menu-item.vala2
-rw-r--r--src/player-controller.vala2
-rw-r--r--src/transport-menu-item.vala1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala
index 897a502..b2dd752 100644
--- a/src/metadata-menu-item.vala
+++ b/src/metadata-menu-item.vala
@@ -39,7 +39,7 @@ public class MetadataMenuitem : PlayerItem
MetadataMenuitem.clean_album_art_temp_dir();
this.previous_temp_album_art_path = null;
this.album_art_cache_dir = MetadataMenuitem.create_album_art_temp_dir();
- debug ("JUST ABOUT TO ATTEMPT PLAYER NAME SETTING %s", this.owner.app_info.get_name());
+ //debug ("JUST ABOUT TO ATTEMPT PLAYER NAME SETTING %s", this.owner.app_info.get_name());
this.property_set (MENUITEM_PLAYER_NAME, this.owner.app_info.get_name());
this.property_set (MENUITEM_PLAYER_ICON, this.owner.icon_name);
this.property_set_bool (MENUITEM_PLAYER_RUNNING, false);
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 8d3e6cc..80a48c3 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -174,7 +174,7 @@ public class PlayerController : GLib.Object
if(this.current_state != state.CONNECTED){
metadata_menuitem.should_collapse (true);
playlists_menuitem.root_item.property_set_bool (MENUITEM_PROP_VISIBLE,
- false );
+ false);
this.custom_items[widget_order.TRANSPORT].property_set_bool (MENUITEM_PROP_VISIBLE,
this.app_info.get_id() == "rhythmbox.desktop");
return;
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index ec41dd7..4ec7dad 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -38,6 +38,7 @@ public class TransportMenuitem : PlayerItem
}
construct{
this.property_set_int(MENUITEM_PLAY_STATE, (int)Transport.State.PAUSED);
+ this.property_set (MENUITEM_PROP_LABEL, this.owner.app_info.get_name());
this.cached_action = Transport.Action.NO_ACTION;
}