From 95e94f9fe48164a1f74407130584744513bf83b7 Mon Sep 17 00:00:00 2001 From: Xavi Garcia Mena Date: Mon, 28 Sep 2015 14:53:42 +0200 Subject: Fixed property name when checking if CanGoPrevious changed --- debian/changelog | 7 +++++++ src/media-player-mpris.vala | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 21290c7..0c1f8ca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-sound (12.10.2+15.10.20150917-0ubuntu1) vivid; urgency=medium + + [ Xavi Garcia Mena ] + * Merged lp:~xavi-garcia-mena/indicator-sound/icon-volume-zero + + -- Sebastien Bacher Tue, 15 Sep 2015 08:19:51 +0000 + indicator-sound (12.10.2+15.10.20150915-0ubuntu1) wily; urgency=medium [ Sebastien Bacher ] diff --git a/src/media-player-mpris.vala b/src/media-player-mpris.vala index 8bc2884..b9961f5 100644 --- a/src/media-player-mpris.vala +++ b/src/media-player-mpris.vala @@ -290,7 +290,7 @@ public class MediaPlayerMpris: MediaPlayer { if (changed_properties.lookup ("PlaybackStatus", "s", null)) { this.state = this.proxy.PlaybackStatus != null ? this.proxy.PlaybackStatus : "Unknown"; } - if (changed_properties.lookup ("CanGoNext", "b", null) || changed_properties.lookup ("CanGoPrev", "b", null)) { + if (changed_properties.lookup ("CanGoNext", "b", null) || changed_properties.lookup ("CanGoPrevious", "b", null)) { this.playbackstatus_changed (); } -- cgit v1.2.3