[gnome-music/wip/merge: 327/343] window: Use the renamed methods of player
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 327/343] window: Use the renamed methods of player
- Date: Thu, 25 Jul 2013 11:39:56 +0000 (UTC)
commit 02eb6a65d61a35d2813c598ce1a37ba967706c2a
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Tue Jul 23 00:43:40 2013 +0800
window: Use the renamed methods of player
MPRIS removed and renamed some methods of player, breaking MediaKeys.
gnomemusic/window.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 1c2043d..ce8ff8b 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -45,13 +45,13 @@ class Window(Gtk.ApplicationWindow):
return
response = parameters.get_child_value(1).get_string()
if 'Play' in response:
- self.player.PlayPause()
+ self.player.play_pause()
elif 'Stop' in response:
self.player.Stop()
elif 'Next' in response:
- self.player.Next()
+ self.player.play_next()
elif 'Previous' in response:
- self.player.Previous()
+ self.player.play_previous()
def _setup_view(self):
self._box = Gtk.VBox()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]