From f9afcd6bddae52bad5c5d8e7179fe360fcbf6de2 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Tue, 4 Jan 2011 15:16:04 +0000 Subject: removed the need for a name instance variable on the player controller obj, now always use the name set in app info --- src/title-menu-item.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/title-menu-item.vala') 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); } -- cgit v1.2.3