[rygel] tracker: Update container upon adding item
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Update container upon adding item
- Date: Tue, 26 Oct 2010 13:40:05 +0000 (UTC)
commit a120c1e3fbcf3c48c168c96addd2942e1c281424
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Oct 19 20:01:38 2010 +0300
tracker: Update container upon adding item
.../rygel-tracker-category-all-container.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-category-all-container.vala b/src/plugins/tracker/rygel-tracker-category-all-container.vala
index 3101390..a697380 100644
--- a/src/plugins/tracker/rygel-tracker-category-all-container.vala
+++ b/src/plugins/tracker/rygel-tracker-category-all-container.vala
@@ -68,6 +68,9 @@ public class Rygel.Tracker.CategoryAllContainer : SearchContainer {
item.id = this.create_child_id_for_urn (urn);
item.parent = this;
+
+ this.child_count++;
+ this.updated ();
}
private async string create_entry_in_store (MediaItem item) throws Error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]