aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-06 18:55:05 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-06 18:55:05 +0100
commit7555ea6755750dd64a6c4652b852a0bdc0d0bfeb (patch)
treef636897b4b133057a06dcc60e650e0b8f95acd2d /src/transport-menu-item.vala
parentedac78eadc5ddceb17b93bffa101eeffbab4437c (diff)
downloadayatana-indicator-sound-7555ea6755750dd64a6c4652b852a0bdc0d0bfeb.tar.gz
ayatana-indicator-sound-7555ea6755750dd64a6c4652b852a0bdc0d0bfeb.tar.bz2
ayatana-indicator-sound-7555ea6755750dd64a6c4652b852a0bdc0d0bfeb.zip
whole new widget to house the customised title item
Diffstat (limited to 'src/transport-menu-item.vala')
-rw-r--r--src/transport-menu-item.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index e0d241e..af71df4 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -26,7 +26,7 @@ public class TransportMenuitem : PlayerItem
public TransportMenuitem()
{
- this.property_set(MENUITEM_PROP_TYPE, MENUITEM_TYPE);
+ Object(item_type: MENUITEM_TYPE);
}
public void change_play_state(int state)
@@ -37,7 +37,7 @@ public class TransportMenuitem : PlayerItem
public override void handle_event(string name, GLib.Value input_value, uint timestamp)
{
debug("handle_event with bool value %s", input_value.get_boolean().to_string());
- this.mpris_adaptor.toggle_playback(input_value.get_boolean());
+ this.mpris_adaptor.toggle_playback(input_value.get_boolean());
}
public override void check_layout(){