summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:02:37 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:02:37 +0000
commit1473b28f830800f87f2e5e47eb65decfc02a73ea (patch)
tree3394a7a4e672c0c6de4ea6f1788b27d6dbc8ccb0 /daemon/gvfsbackend.c
parent6f3f945edad47f046c50cfd484fc9e99c8f86979 (diff)
Implement MakeDirectory job and SMB implementation.
Original git commit by Hans Petter Jansson <hpj@cl.no> at 1183541263 +0200 svn path=/trunk/; revision=617
Diffstat (limited to 'daemon/gvfsbackend.c')
-rw-r--r--daemon/gvfsbackend.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c
index 1802077d..52a1df14 100644
--- a/daemon/gvfsbackend.c
+++ b/daemon/gvfsbackend.c
@@ -21,6 +21,7 @@
#include <gvfsjobdelete.h>
#include <gvfsjobtrash.h>
#include <gvfsjobmountmountable.h>
+#include <gvfsjobmakedirectory.h>
#include <gdbusutils.h>
enum {
@@ -292,6 +293,10 @@ backend_dbus_handler (DBusConnection *connection,
G_VFS_DBUS_MOUNT_INTERFACE,
G_VFS_DBUS_MOUNT_OP_TRASH))
job = g_vfs_job_trash_new (connection, message, backend);
+ else if (dbus_message_is_method_call (message,
+ G_VFS_DBUS_MOUNT_INTERFACE,
+ G_VFS_DBUS_MOUNT_OP_MAKE_DIRECTORY))
+ job = g_vfs_job_make_directory_new (connection, message, backend);
if (job)
{