X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Monitor.vala;h=d86d99d71fe4379529c4005368b28b4666fa1551;hb=48b3d2b4281bfa78ae11b4dfb5f91d5475aefd90;hp=2d049ca5abb4944352a49d0faacd60edb46bd05d;hpb=25dfbfbe1f981f5eee6b5f4c65131310c9eadca1;p=gitlive diff --git a/Monitor.vala b/Monitor.vala index 2d049ca5..d86d99d7 100644 --- a/Monitor.vala +++ b/Monitor.vala @@ -139,7 +139,7 @@ public class Monitor : Object public void monitor(string path, int depth = 0) { - stdout.printf("ADD: (%d): %s\n", depth, path); + //GLib.debug("ADD: (%d): %s\n", depth, path); //depth = typeof(depth) == 'number' ? depth *1 : 0; depth = depth > 0 ? depth *1 : 0; @@ -328,12 +328,12 @@ public class Monitor : Object case FileMonitorEvent.MOVED_OUT: // eg. chmod/chatt case FileMonitorEvent.RENAMED: // eg. chmod/chatt - var of = this.realpath(of_orig); - var dest = new MonitorNamePathDir( - of.get_basename(), - of.get_path(), - Path.get_dirname(of.get_path()) - ); + var of = this.realpath(of_orig); + var dest = new MonitorNamePathDir( + of.get_basename(), + of.get_path(), + Path.get_dirname(of.get_path()) + ); src.action = "moved"; dest.action = "moved";