diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 14:05:23 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 14:05:23 +0000 |
commit | fb8e885e030e4bebd27a864bc2eefc7aec643911 (patch) | |
tree | db3e562d5b1d783a0dd45fee372bfcfef1e34ab1 /daemon/gvfsbackend.c | |
parent | 8a0cfc2d443a6383511cd84a2661a6c7a5d8c1d5 (diff) |
Add move support to daemon
Original git commit by Alexander Larsson <alexl@redhat.com> at 1183552446 +0200
svn path=/trunk/; revision=625
Diffstat (limited to 'daemon/gvfsbackend.c')
-rw-r--r-- | daemon/gvfsbackend.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c index 44e926a6..49131e5d 100644 --- a/daemon/gvfsbackend.c +++ b/daemon/gvfsbackend.c @@ -23,6 +23,7 @@ #include <gvfsjobmountmountable.h> #include <gvfsjobmakedirectory.h> #include <gvfsjobcopy.h> +#include <gvfsjobmove.h> #include <gdbusutils.h> enum { @@ -306,6 +307,10 @@ backend_dbus_handler (DBusConnection *connection, G_VFS_DBUS_MOUNT_INTERFACE, G_VFS_DBUS_MOUNT_OP_COPY)) 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_MOVE)) + job = g_vfs_job_move_new (connection, message, backend); if (job) { |