media-export: notify about updates
authorJens Georg <mail@jensge.org>
Wed, 24 Jun 2009 23:00:28 +0000 (01:00 +0200)
committerJens Georg <mail@jensge.org>
Thu, 25 Jun 2009 12:44:45 +0000 (14:44 +0200)
notify about updated containers after harvesting
all files in this container

src/plugins/media-export/rygel-media-export-harvester.vala

index abb82c4..2390a97 100644 (file)
@@ -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);