From 8854678dce25170b7f6c1b6881b63f1faa148c3c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 29 Dec 2013 05:50:22 +0800 Subject: [PATCH] Monitor.vala --- Monitor.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; -- 2.39.2