aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-mpris.vala
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-28 14:53:42 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-28 14:53:42 +0200
commit95e94f9fe48164a1f74407130584744513bf83b7 (patch)
tree71a3206b19d3850bf933a33a9b6877a4d5265626 /src/media-player-mpris.vala
parentc258047f9704b1baafc4bf25e92cba66101d8744 (diff)
downloadayatana-indicator-sound-95e94f9fe48164a1f74407130584744513bf83b7.tar.gz
ayatana-indicator-sound-95e94f9fe48164a1f74407130584744513bf83b7.tar.bz2
ayatana-indicator-sound-95e94f9fe48164a1f74407130584744513bf83b7.zip
Fixed property name when checking if CanGoPrevious changed
Diffstat (limited to 'src/media-player-mpris.vala')
-rw-r--r--src/media-player-mpris.vala2
1 files changed, 1 insertions, 1 deletions
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 ();
}