diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-08-18 12:04:59 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-08-18 12:04:59 +0100 |
commit | 88c0ff52c479c7ec7a70448fe17946ee5ff68d3d (patch) | |
tree | 5aa8c8001b5ea2f7417dd2bf962347e527581425 /src/mpris-controller.vala | |
parent | 44d47d0c4d334ba3cd2b8d9bd34893ba8c3dedf9 (diff) | |
parent | 4897f3ce524e6d91ecd0c70142556be0f29367b7 (diff) | |
download | ayatana-indicator-sound-88c0ff52c479c7ec7a70448fe17946ee5ff68d3d.tar.gz ayatana-indicator-sound-88c0ff52c479c7ec7a70448fe17946ee5ff68d3d.tar.bz2 ayatana-indicator-sound-88c0ff52c479c7ec7a70448fe17946ee5ff68d3d.zip |
merge the mpris2 operational branch
Diffstat (limited to 'src/mpris-controller.vala')
-rw-r--r-- | src/mpris-controller.vala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mpris-controller.vala b/src/mpris-controller.vala index c70c6d5..1e1e00a 100644 --- a/src/mpris-controller.vala +++ b/src/mpris-controller.vala @@ -63,7 +63,6 @@ public class MprisController : GLib.Object MetadataMenuitem.attributes_format()); this.owner.custom_items[PlayerController.widget_order.SCRUB].update(this.mpris_player.GetMetadata(), ScrubMenuitem.attributes_format()); - // temporary fix ScrubMenuitem scrub = this.owner.custom_items[PlayerController.widget_order.SCRUB] as ScrubMenuitem; scrub.update_position(this.mpris_player.PositionGet()); } @@ -127,7 +126,7 @@ public class MprisController : GLib.Object this.owner.custom_items[PlayerController.widget_order.METADATA].reset(MetadataMenuitem.attributes_format()); this.owner.custom_items[PlayerController.widget_order.SCRUB].reset(ScrubMenuitem.attributes_format()); - HashTable<string, Value?> status_hash = new HashTable<string, Value?>(str_hash, str_equal); + //HashTable<string, Value?> status_hash = new HashTable<string, Value?>(str_hash, str_equal); status st = this.mpris_player.GetStatus(); int play_state = st.playback; |