diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-11-18 11:11:14 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-11-18 11:11:14 -0500 |
commit | 2133a62fd09fc431c146c74b4ca13e89d610c1c9 (patch) | |
tree | c4d27e2357498eba9fde88e64e53e2afe926d981 /src/title-menu-item.vala | |
parent | fb9140db72f565fa6180a55da02302844e21c05c (diff) | |
parent | 908222c0681fba3c6e1265d0f85a0b667927c169 (diff) | |
download | ayatana-indicator-sound-2133a62fd09fc431c146c74b4ca13e89d610c1c9.tar.gz ayatana-indicator-sound-2133a62fd09fc431c146c74b4ca13e89d610c1c9.tar.bz2 ayatana-indicator-sound-2133a62fd09fc431c146c74b4ca13e89d610c1c9.zip |
releasing version 0.5.1-0ubuntu1
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r-- | src/title-menu-item.vala | 8 |
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 |