From: Alan Knowles Date: Sat, 28 Dec 2013 22:22:53 +0000 (+0800) Subject: Monitor.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=51336eabdc04d22d2a60c3b9f7f014584e02001c Monitor.vala --- diff --git a/Monitor.vala b/Monitor.vala index 4499fc02..a3ddcf60 100644 --- a/Monitor.vala +++ b/Monitor.vala @@ -143,11 +143,11 @@ public class Monitor : Object var fm = f.monitor(FileMonitorFlags.SEND_MOVED,null); //Gio.FileMonitorFlags.SEND_MOVED fm.changed.connect( ( fm, f_orig, of_orig, event_type) => { - if (fn) { + //if (fn) { fn (fm, f_orig, of_orig, event_type ) ; return; - } - this.onEvent (fm, f_orig, of_orig, event_type ) ; + //} + //this.onEvent (fm, f_orig, of_orig, event_type ) ; }); this.monitors.add(fm); // print("ADD path " + depth + ' ' + path);