aboutsummaryrefslogtreecommitdiff
path: root/src/scrub-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-14 18:03:32 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-14 18:03:32 +0100
commitbf4f73249f5b6bf4c9196f251382c5a6cec9634f (patch)
treebfb29b5498501f304cfb89d68aecde6b58e564b5 /src/scrub-menu-item.vala
parent07a314b698c43f47d706a1b87b8101a2f6edc4db (diff)
downloadayatana-indicator-sound-bf4f73249f5b6bf4c9196f251382c5a6cec9634f.tar.gz
ayatana-indicator-sound-bf4f73249f5b6bf4c9196f251382c5a6cec9634f.tar.bz2
ayatana-indicator-sound-bf4f73249f5b6bf4c9196f251382c5a6cec9634f.zip
scrub bar almost working - vala Glib value bugs again are biting me
Diffstat (limited to 'src/scrub-menu-item.vala')
-rw-r--r--src/scrub-menu-item.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scrub-menu-item.vala b/src/scrub-menu-item.vala
index 409494a..9988378 100644
--- a/src/scrub-menu-item.vala
+++ b/src/scrub-menu-item.vala
@@ -25,12 +25,14 @@ public class ScrubMenuitem : PlayerItem
{
public ScrubMenuitem(PlayerController parent)
{
- Object(item_type: MENUITEM_TYPE);
+ debug("Transport object constructor - service side");
+ Object(item_type: MENUITEM_TYPE, owner: parent);
}
public override void handle_event(string name, GLib.Value input_value, uint timestamp)
{
- debug("handle_event for owner %s with owner state = %i", this.owner.name, this.owner.current_state);
+ debug("handle_event for owner %s with value: %f", this.owner.name, input_value.get_double());
+ this.owner.mpris_adaptor.set_position(input_value.get_double());
}
public static HashSet<string> attributes_format()