diff options
| author | Ken VanDine <ken.vandine@canonical.com> | 2010-07-15 12:46:32 -0400 |
|---|---|---|
| committer | Ken VanDine <ken.vandine@canonical.com> | 2010-07-15 12:46:32 -0400 |
| commit | 6eb78b27491908994a51017edcabedf560651e05 (patch) | |
| tree | 9d612f431701bb5690957b8cebebbb35c4a9b396 /src/title-menu-item.vala | |
| parent | df2aaa5b8d38ec4385f5be6bedfd143317d9e015 (diff) | |
| parent | 944907b441affebd907605ccd1f825e801650427 (diff) | |
| download | ayatana-indicator-sound-6eb78b27491908994a51017edcabedf560651e05.tar.gz ayatana-indicator-sound-6eb78b27491908994a51017edcabedf560651e05.tar.bz2 ayatana-indicator-sound-6eb78b27491908994a51017edcabedf560651e05.zip | |
releasing version 0.3.7-0ubuntu1
Diffstat (limited to 'src/title-menu-item.vala')
| -rw-r--r-- | src/title-menu-item.vala | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/title-menu-item.vala b/src/title-menu-item.vala index 8183821..d7e16df 100644 --- a/src/title-menu-item.vala +++ b/src/title-menu-item.vala @@ -26,13 +26,11 @@ public class TitleMenuitem : PlayerItem public TitleMenuitem(PlayerController parent) { Object(item_type: MENUITEM_TYPE, owner: parent); - this.property_set(MENUITEM_TEXT_NAME, parent.name); + this.property_set(MENUITEM_NAME, parent.name); } public override void handle_event(string name, GLib.Value input_value, uint timestamp) - { - debug("handle_event for owner %s with owner state = %i and title menu name %s", this.owner.name, this.owner.current_state, property_get(MENUITEM_TEXT_NAME)); - + { if(this.owner.current_state == PlayerController.state.OFFLINE) { this.owner.instantiate(); @@ -43,7 +41,7 @@ public class TitleMenuitem : PlayerItem public static HashSet<string> attributes_format() { HashSet<string> attrs = new HashSet<string>(); - attrs.add(MENUITEM_TEXT_NAME); + attrs.add(MENUITEM_NAME); return attrs; } }
\ No newline at end of file |
