[rhythmbox] podcast: use sort keys when sorting by episode title and feed name
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] podcast: use sort keys when sorting by episode title and feed name
- Date: Fri, 9 Apr 2010 12:56:04 +0000 (UTC)
commit 8495be9abb8030a6e543d19dc6b688bdbb15dcdf
Author: Jonathan Matthew <jonathan d14n org>
Date: Fri Apr 9 22:53:21 2010 +1000
podcast: use sort keys when sorting by episode title and feed name
sources/rb-podcast-source.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/sources/rb-podcast-source.c b/sources/rb-podcast-source.c
index 9de2a66..19cb870 100644
--- a/sources/rb-podcast-source.c
+++ b/sources/rb-podcast-source.c
@@ -1839,8 +1839,8 @@ rb_podcast_source_post_feed_cell_sort_func (RhythmDBEntry *a,
gint ret;
/* feeds */
- a_str = rhythmdb_entry_get_string (a, RHYTHMDB_PROP_ALBUM);
- b_str = rhythmdb_entry_get_string (b, RHYTHMDB_PROP_ALBUM);
+ a_str = rhythmdb_entry_get_string (a, RHYTHMDB_PROP_ALBUM_SORT_KEY);
+ b_str = rhythmdb_entry_get_string (b, RHYTHMDB_PROP_ALBUM_SORT_KEY);
ret = strcmp (a_str, b_str);
if (ret != 0)
@@ -1853,8 +1853,8 @@ rb_podcast_source_post_feed_cell_sort_func (RhythmDBEntry *a,
return (a_val > b_val) ? 1 : -1;
/* titles */
- a_str = rhythmdb_entry_get_string (a, RHYTHMDB_PROP_TITLE);
- b_str = rhythmdb_entry_get_string (b, RHYTHMDB_PROP_TITLE);
+ a_str = rhythmdb_entry_get_string (a, RHYTHMDB_PROP_TITLE_SORT_KEY);
+ b_str = rhythmdb_entry_get_string (b, RHYTHMDB_PROP_TITLE_SORT_KEY);
ret = strcmp (a_str, b_str);
if (ret != 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]