aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-13 12:18:08 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-13 12:18:08 +0100
commit4325e0092d77cc2d993c7305c49d0517f3defb0e (patch)
treec3ed0eba5a33b8e55b104f8eb9b25f868c9fe3b1 /src/title-menu-item.vala
parentf383ead1168dde3374dabc2040035907d4ab484d (diff)
downloadayatana-indicator-sound-4325e0092d77cc2d993c7305c49d0517f3defb0e.tar.gz
ayatana-indicator-sound-4325e0092d77cc2d993c7305c49d0517f3defb0e.tar.bz2
ayatana-indicator-sound-4325e0092d77cc2d993c7305c49d0517f3defb0e.zip
prep work done for scrub bar
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r--src/title-menu-item.vala8
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