[rhythmbox] podcast: include hidden (deleted) entries when searching for posts



commit 100aa428126d8a9580f8961ca4515f5b6822d9dd
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Mar 24 22:51:41 2010 +1000

    podcast: include hidden (deleted) entries when searching for posts

 podcast/rb-podcast-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/podcast/rb-podcast-manager.c b/podcast/rb-podcast-manager.c
index d40efc7..67269c7 100644
--- a/podcast/rb-podcast-manager.c
+++ b/podcast/rb-podcast-manager.c
@@ -1119,6 +1119,7 @@ rb_podcast_manager_add_post (RhythmDB *db,
 	 * re-added to the db.
 	 */
 	mountpoint_entries = rhythmdb_query_model_new_empty (db);
+	g_object_set (mountpoint_entries, "show-hidden", TRUE, NULL);
 	rhythmdb_do_full_query (db, RHYTHMDB_QUERY_RESULTS (mountpoint_entries),
 		RHYTHMDB_QUERY_PROP_EQUALS,
 		RHYTHMDB_PROP_TYPE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]