diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-28 14:53:42 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-28 14:53:42 +0200 |
commit | 95e94f9fe48164a1f74407130584744513bf83b7 (patch) | |
tree | 71a3206b19d3850bf933a33a9b6877a4d5265626 | |
parent | c258047f9704b1baafc4bf25e92cba66101d8744 (diff) | |
download | ayatana-indicator-sound-95e94f9fe48164a1f74407130584744513bf83b7.tar.gz ayatana-indicator-sound-95e94f9fe48164a1f74407130584744513bf83b7.tar.bz2 ayatana-indicator-sound-95e94f9fe48164a1f74407130584744513bf83b7.zip |
Fixed property name when checking if CanGoPrevious changed
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | src/media-player-mpris.vala | 2 |
2 files changed, 8 insertions, 1 deletions
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 <seb128@ubuntu.com> 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 (); } |