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;
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";