aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-11-05 18:15:22 +0000
committerConor Curran <conor.curran@canonical.com>2010-11-05 18:15:22 +0000
commit0c9af5cd3155b11816d0ecf9ff6f48f4ecc4b940 (patch)
tree4f2fb85e858b0e57613149ee01f1f47f3ea97107 /src/title-menu-item.vala
parenta01af1b6d6f42775e9e436d802913c061b51278e (diff)
parentdd80c00e460cf1857eb8a76b62e2058b49f62d88 (diff)
downloadayatana-indicator-sound-0c9af5cd3155b11816d0ecf9ff6f48f4ecc4b940.tar.gz
ayatana-indicator-sound-0c9af5cd3155b11816d0ecf9ff6f48f4ecc4b940.tar.bz2
ayatana-indicator-sound-0c9af5cd3155b11816d0ecf9ff6f48f4ecc4b940.zip
merged the initial UI work for nattyA
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r--src/title-menu-item.vala8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/title-menu-item.vala b/src/title-menu-item.vala
index bb3d103..64ddebf 100644
--- a/src/title-menu-item.vala
+++ b/src/title-menu-item.vala
@@ -27,7 +27,9 @@ public class TitleMenuitem : PlayerItem
{
Object(item_type: MENUITEM_TYPE, owner: parent);
this.property_set(MENUITEM_NAME, parent.name);
- this.property_set_bool(MENUITEM_RUNNING, false);
+ debug("title init - icon name = %s", parent.icon_name);
+ this.property_set(MENUITEM_ICON, parent.icon_name);
+ this.property_set_bool(MENUITEM_RUNNING, false);
}
public override void handle_event(string name, GLib.Value input_value, uint timestamp)
@@ -50,6 +52,8 @@ public class TitleMenuitem : PlayerItem
{
HashSet<string> attrs = new HashSet<string>();
attrs.add(MENUITEM_NAME);
- return attrs;
+ attrs.add(MENUITEM_RUNNING);
+ attrs.add(MENUITEM_ICON);
+ return attrs;
}
} \ No newline at end of file