From: Alan Knowles Date: Sat, 28 Dec 2013 21:50:22 +0000 (+0800) Subject: Monitor.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=8854678dce25170b7f6c1b6881b63f1faa148c3c Monitor.vala --- diff --git a/Monitor.vala b/Monitor.vala index f1c067c4..518f2472 100644 --- a/Monitor.vala +++ b/Monitor.vala @@ -257,27 +257,27 @@ public class Monitor : Object try { switch(event_type) { - case Gio.FileMonitorEvent.CHANGED: + case FileMonitorEvent.CHANGED: this.onChanged(src); return; // ingore thise?? -wait for changes_done_htin? - case Gio.FileMonitorEvent.CHANGES_DONE_HINT: + case FileMonitorEvent.CHANGES_DONE_HINT: this.onChangesDoneHint(src); return; - case Gio.FileMonitorEvent.DELETED: + case FileMonitorEvent.DELETED: this.onDeleted(src); return; - case Gio.FileMonitorEvent.CREATED: + case FileMonitorEvent.CREATED: this.onCreated(src); return; - case Gio.FileMonitorEvent.ATTRIBUTE_CHANGED: // eg. chmod/chatt + case FileMonitorEvent.ATTRIBUTE_CHANGED: // eg. chmod/chatt this.onAttributeChanged(src); return; - case Gio.FileMonitorEvent.MOVED: // eg. chmod/chatt + case FileMonitorEvent.MOVED: // eg. chmod/chatt this.onMoved(src,dest); return;