[grilo-plugins] bookmarks: Fix content-added signal for new items



commit 55f47f456e31c336b4a8d607e5ab0cc08f67f108
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 17 15:06:57 2014 +0100

    bookmarks: Fix content-added signal for new items
    
    We want to tell the front-end about the newly added item, not that
    we added the parent container.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724548

 src/bookmarks/grl-bookmarks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/bookmarks/grl-bookmarks.c b/src/bookmarks/grl-bookmarks.c
index bef3f32..c9c414f 100644
--- a/src/bookmarks/grl-bookmarks.c
+++ b/src/bookmarks/grl-bookmarks.c
@@ -738,7 +738,7 @@ store_bookmark (GrlBookmarksSource *bookmarks_source,
 
   if (bookmarks_source->priv->notify_changes) {
     grl_source_notify_change (GRL_SOURCE (bookmarks_source),
-                              GRL_MEDIA (parent),
+                              bookmark,
                               GRL_CONTENT_ADDED,
                               FALSE);
   }


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