[PATCH 3/3] jamendo: Sort top-level categories
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 3/3] jamendo: Sort top-level categories
- Date: Thu, 8 Jul 2010 18:15:49 +0200
"albums" categories is sent before "artists" one.
---
src/jamendo/grl-jamendo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/jamendo/grl-jamendo.c b/src/jamendo/grl-jamendo.c
index edf279f..5f3a407 100644
--- a/src/jamendo/grl-jamendo.c
+++ b/src/jamendo/grl-jamendo.c
@@ -762,14 +762,14 @@ send_toplevel_categories (GrlMediaSourceBrowseSpec *bs)
if (bs->skip == 0) {
media = grl_media_box_new ();
- update_media_from_artists (media);
+ update_media_from_albums (media);
remaining--;
bs->callback (bs->source, bs->browse_id, media, remaining, bs->user_data, NULL);
}
if (remaining) {
media = grl_media_box_new ();
- update_media_from_albums (media);
+ update_media_from_artists (media);
bs->callback (bs->source, bs->browse_id, media, 0, bs->user_data, NULL);
}
}
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]