[rygel] media-export: notify about updates



commit bf62dc318c22fad611b6c8bbf7dbbd1995c38e97
Author: Jens Georg <mail jensge org>
Date:   Thu Jun 25 01:00:28 2009 +0200

    media-export: notify about updates
    
    notify about updated containers after harvesting
    all files in this container

 .../media-export/rygel-media-export-harvester.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvester.vala b/src/plugins/media-export/rygel-media-export-harvester.vala
index abb82c4..2390a97 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -221,6 +221,7 @@ public class Rygel.MediaExportHarvester : GLib.Object {
             this.files.pop_head ();
             if (this.files.get_length () == 0 &&
                 this.containers.get_length () != 0) {
+                this.containers.peek_head ().updated ();
                 this.containers.pop_head ();
             }
             Idle.add(this.on_idle);
@@ -234,6 +235,7 @@ public class Rygel.MediaExportHarvester : GLib.Object {
             this.files.pop_head ();
             if (this.files.get_length () == 0 &&
                 this.containers.get_length () != 0) {
+                this.containers.peek_head ().updated ();
                 this.containers.pop_head ();
             }
             Idle.add(this.on_idle);



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