diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-01-11 09:17:28 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-01-11 09:17:28 +0000 |
commit | 64e052d5b43bcb033187e46aaafea4f867e10a75 (patch) | |
tree | a9dd2fb52294968fe65b7c4f918895a0d220631c /common | |
parent | ed7cfa1b785fd70da0945518878197d61897e6b1 (diff) | |
download | gvfs-64e052d5b43bcb033187e46aaafea4f867e10a75.tar.gz |
Implement unmount_mountable and eject_mountable on client side.
2008-01-11 Alexander Larsson <alexl@redhat.com>
* client/gdaemonfile.c:
* common/gvfsdaemonprotocol.h:
Implement unmount_mountable and eject_mountable
on client side.
* common/gmountoperationdbus.c:
Fix warnings
* daemon/gvfsbackend.[ch]:
* daemon/gvfsjobunmountmountable.[ch]:
Add unmount_mountable and eject_mountable in daemon.
* daemon/gvfsbackendcomputer.c:
Implement unmount_mountable and eject_mountable
* daemon/gvfsbackendlocaltest.c:
Update to latest API
* daemon/gvfsbackendsftp.c:
Fix indentation
* daemon/gvfsjobunmount.c:
Always allow unmount if unmount is not
implemented.
svn path=/trunk/; revision=1093
Diffstat (limited to 'common')
-rw-r--r-- | common/gmountoperationdbus.c | 2 | ||||
-rw-r--r-- | common/gvfsdaemonprotocol.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/gmountoperationdbus.c b/common/gmountoperationdbus.c index ea44f534..f3f5cf5f 100644 --- a/common/gmountoperationdbus.c +++ b/common/gmountoperationdbus.c @@ -201,12 +201,10 @@ mount_op_ask_password (GMountOperationDBus *op_dbus, DBusMessage *message) { const char *message_string, *default_user, *default_domain; - dbus_bool_t handled = FALSE; guint32 flags; DBusMessageIter iter; DBusMessage *reply; DBusError error; - gboolean res; reply = NULL; diff --git a/common/gvfsdaemonprotocol.h b/common/gvfsdaemonprotocol.h index f47c9bb2..6769f8f0 100644 --- a/common/gvfsdaemonprotocol.h +++ b/common/gvfsdaemonprotocol.h @@ -33,6 +33,8 @@ G_BEGIN_DECLS #define G_VFS_DBUS_MOUNT_OP_CREATE_DIR_MONITOR "CreateDirectoryMonitor" #define G_VFS_DBUS_MOUNT_OP_CREATE_FILE_MONITOR "CreateFileMonitor" #define G_VFS_DBUS_MOUNT_OP_MOUNT_MOUNTABLE "MountMountable" +#define G_VFS_DBUS_MOUNT_OP_UNMOUNT_MOUNTABLE "UnountMountable" +#define G_VFS_DBUS_MOUNT_OP_EJECT_MOUNTABLE "EjectMountable" #define G_VFS_DBUS_MOUNT_OP_SET_DISPLAY_NAME "SetDisplayName" #define G_VFS_DBUS_MOUNT_OP_DELETE "Delete" #define G_VFS_DBUS_MOUNT_OP_TRASH "Trash" |