diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-01-17 11:02:17 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-01-17 11:02:17 +0000 |
commit | 96903014118b6ccb178b04c33f49110351cc2275 (patch) | |
tree | 172881a5aadd65a3e65e2ecc7bf02aed9df61792 /daemon/gvfsbackend.c | |
parent | c1001646fe55ba4478ac502902f3bdc913015036 (diff) |
Add upload operation (requires latest glib)
2008-01-17 Alexander Larsson <alexl@redhat.com>
* common/gvfsdaemonprotocol.h:
* client/gdaemonfile.c:
Add upload operation (requires latest glib)
* daemon/gvfsbackend.[ch]:
* daemon/gvfsjobupload.[ch]: Added.
Implement upload in daemon
* daemon/Makefile.am:
* daemon/burn.mount.in: Added.
* daemon/gvfsbackendburn.[ch]: Added.
Added initial burn:/// implementation.
Not fully implemented, but read works.
* daemon/gvfsbackendcomputer.c:
Ensure we set right mimetype for dirs
svn path=/trunk/; revision=1143
Diffstat (limited to 'daemon/gvfsbackend.c')
-rw-r--r-- | daemon/gvfsbackend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c index f1ddf787..b3494bb8 100644 --- a/daemon/gvfsbackend.c +++ b/daemon/gvfsbackend.c @@ -440,6 +440,10 @@ backend_dbus_handler (DBusConnection *connection, job = g_vfs_job_copy_new (connection, message, backend); else if (dbus_message_is_method_call (message, G_VFS_DBUS_MOUNT_INTERFACE, + G_VFS_DBUS_MOUNT_OP_UPLOAD)) + job = g_vfs_job_upload_new (connection, message, backend); + else if (dbus_message_is_method_call (message, + G_VFS_DBUS_MOUNT_INTERFACE, G_VFS_DBUS_MOUNT_OP_MOVE)) job = g_vfs_job_move_new (connection, message, backend); else if (dbus_message_is_method_call (message, |