[rygel/rygel-0-12] media-export: Fix regression in file monitor



commit 3765bad902d4ba0a5c83ad33624c6e5e7396a076
Author: Jens Georg <mail jensge org>
Date:   Thu Nov 24 08:38:45 2011 +0100

    media-export: Fix regression in file monitor
    
    Changeset 05024f6e4e688a40629573eb0401f83421d32209 accidently removed
    the support for _CREATED events.

 .../media-export/rygel-media-export-harvester.vala |    1 +
 1 files changed, 1 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 b86cd2a..68476b9 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -147,6 +147,7 @@ internal class Rygel.MediaExport.Harvester : GLib.Object {
                                   FileMonitorEvent event) {
         try {
             switch (event) {
+                case FileMonitorEvent.CREATED:
                 case FileMonitorEvent.CHANGES_DONE_HINT:
                     this.on_changes_done (file);
                     break;



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