localfile: add support for monitoring on NFS
authorRyan Lortie <desrt@desrt.ca>
Fri, 18 Jan 2013 23:44:11 +0000 (18:44 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 19 Jan 2013 19:04:49 +0000 (14:04 -0500)
commit6be54e9f56e9344ecd55a8952dff957573a136b7
tree075594cfd2c3bd2c9dcc96dd73ca46caf66fab72
parentc83600e8ae419df7c30b16d267d71d706a29936f
localfile: add support for monitoring on NFS

Add a pair of new extension points: 'gio-nfs-file-monitor' and
'gio-nfs-directory-monitor'.

Add a check to GLocalFile when creating a file monitor.  If the
requested file is in the user's home directory and the user has an NFS
home directory then attempt to use an implementation of one of the new
extension points.  If we don't have any implementations then fall back
to the normal "local" monitors.

https://bugzilla.gnome.org/show_bug.cgi?id=592211
gio/giomodule.c
gio/glocaldirectorymonitor.c
gio/glocaldirectorymonitor.h
gio/glocalfile.c
gio/glocalfilemonitor.c
gio/glocalfilemonitor.h