diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-11-05 17:30:19 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-11-05 17:30:19 +0000 |
commit | 1196f5060e633fac46b724844e1b6817c889145a (patch) | |
tree | a05786721729c1148566a896c6f642f176675f3a /src/title-menu-item.vala | |
parent | a01af1b6d6f42775e9e436d802913c061b51278e (diff) | |
parent | 2f409b95c5c1c0c7107f4503c01687b3a913780f (diff) | |
download | ayatana-indicator-sound-1196f5060e633fac46b724844e1b6817c889145a.tar.gz ayatana-indicator-sound-1196f5060e633fac46b724844e1b6817c889145a.tar.bz2 ayatana-indicator-sound-1196f5060e633fac46b724844e1b6817c889145a.zip |
Initial UI tweaks for natty
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 |