diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-07-15 12:25:57 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-07-15 12:25:57 -0400 |
commit | 944907b441affebd907605ccd1f825e801650427 (patch) | |
tree | 6a97d672179c509aab579e39d9035928a7479aba /src/title-menu-item.vala | |
parent | f6ffb190261dfdbbf55e90b63c1cd06f03037e35 (diff) | |
download | ayatana-indicator-sound-944907b441affebd907605ccd1f825e801650427.tar.gz ayatana-indicator-sound-944907b441affebd907605ccd1f825e801650427.tar.bz2 ayatana-indicator-sound-944907b441affebd907605ccd1f825e801650427.zip |
Import upstream version 0.3.7
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 |