[gnome-music] playlists: Fix typo
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] playlists: Fix typo
- Date: Mon, 12 Jan 2015 10:33:14 +0000 (UTC)
commit 6573333daae13c1dba9555f3420a222d3b02522b
Author: Sagar Ghuge <ghugesss gmail com>
Date: Mon Jan 12 15:56:03 2015 +0530
playlists: Fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=742800
gnomemusic/playlists.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index 29f2592..7907bd6 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -82,12 +82,12 @@ class Playlists(GObject.GObject):
def update_callback(conn, res, data):
playlist_urn = conn.update_blank_finish(res)[0][0]['playlist']
- self.trackerquery_async(
+ self.tracker.query_async(
Query.get_playlist_with_urn(playlist_urn),
None, query_callback, None
)
- self.trackerupdate_blank_async(
+ self.tracker.update_blank_async(
Query.create_playlist(name), GLib.PRIORITY_DEFAULT,
None, update_callback, None
)
@@ -98,7 +98,7 @@ class Playlists(GObject.GObject):
conn.update_finish(res)
self.emit('playlist-deleted', item)
- self.trackerupdate_async(
+ self.tracker.update_async(
Query.delete_playlist(item.get_id()), GLib.PRIORITY_DEFAULT,
None, update_callback, None
)
@@ -120,7 +120,7 @@ class Playlists(GObject.GObject):
def update_callback(conn, res, data):
entry_urn = conn.update_blank_finish(res)[0][0]['entry']
- self.trackerquery_async(
+ self.tracker.query_async(
Query.get_playlist_song_with_urn(entry_urn),
None, query_callback, None
)
@@ -129,7 +129,7 @@ class Playlists(GObject.GObject):
uri = item.get_url()
if not uri:
continue
- self.trackerupdate_blank_async(
+ self.tracker.update_blank_async(
Query.add_song_to_playlist(playlist.get_id(), uri),
GLib.PRIORITY_DEFAULT,
None, update_callback, None
@@ -142,7 +142,7 @@ class Playlists(GObject.GObject):
self.emit('song-removed-from-playlist', playlist, data)
for item in items:
- self.trackerupdate_async(
+ self.tracker.update_async(
Query.remove_song_from_playlist(
playlist.get_id(), item.get_id()
),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]