aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-04 15:16:04 +0000
committerConor Curran <conor.curran@canonical.com>2011-01-04 15:16:04 +0000
commitf9afcd6bddae52bad5c5d8e7179fe360fcbf6de2 (patch)
treef2de192d974a10bcf9e553aeb634eb4a62ba593f /src/title-menu-item.vala
parent1949869da278d3df26bb1a5866a9e70069189188 (diff)
downloadayatana-indicator-sound-f9afcd6bddae52bad5c5d8e7179fe360fcbf6de2.tar.gz
ayatana-indicator-sound-f9afcd6bddae52bad5c5d8e7179fe360fcbf6de2.tar.bz2
ayatana-indicator-sound-f9afcd6bddae52bad5c5d8e7179fe360fcbf6de2.zip
removed the need for a name instance variable on the player controller obj, now always use the name set in app info
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r--src/title-menu-item.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/title-menu-item.vala b/src/title-menu-item.vala
index d782e84..0b99ae3 100644
--- a/src/title-menu-item.vala
+++ b/src/title-menu-item.vala
@@ -26,8 +26,7 @@ public class TitleMenuitem : PlayerItem
public TitleMenuitem(PlayerController parent)
{
Object(item_type: MENUITEM_TYPE, owner: parent);
- this.property_set(MENUITEM_NAME, parent.name);
- debug("title init - icon name = %s", parent.icon_name);
+ this.property_set(MENUITEM_NAME, parent.app_info.get_name());
this.property_set(MENUITEM_ICON, parent.icon_name);
this.property_set_bool(MENUITEM_RUNNING, false);
}