[tomboy-list] WIP Note Directory Watcher Patch (was Watch for Changes Patch)
sanfordarmstrong at gmail.com
Sat May 2 17:33:08 PDT 2009
On Mon, Apr 27, 2009 at 10:19 AM, Michael Fletcher
<m.fletcher at theplanet.ca> wrote:>> * Shouldn't you filter on *.note?
Or are you watching all files
>> because of that tmp file stuff that happens when a note is saved?
> See above. If I filtered on "*.note" all I would see is an OnDeleted
> and OnRenamed event.
Okay, then is it alright to filter on *.note and *.note.tmp?
Technically, Tomboy should work fine with notes that have non-GUID
names, so I'd like to get rid of the "if (note_id.Length != 36)" check
and replace it with a file extension check.
Working on better not reloading with LoadForeignNoteXml right now. :-)
More information about the Tomboy-list