diff options
author | Marcus Carlson <mdc@src.gnome.org> | 2012-07-30 16:07:59 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-30 16:07:59 +0200 |
commit | 1650ec9a0271e0527309e708f5cfe43756396248 (patch) | |
tree | c3f2056149ea0d14884a45681d753b632e8c1df9 | |
parent | ee29ebe3a7af92984ca395e8f1d110f5a52716a1 (diff) | |
download | gvfs-1650ec9a0271e0527309e708f5cfe43756396248.tar.gz |
computer: Mark items as not renamable
https://bugzilla.gnome.org/show_bug.cgi?id=617056
-rw-r--r-- | daemon/gvfsbackendcomputer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsbackendcomputer.c b/daemon/gvfsbackendcomputer.c index 93561713..9dce093d 100644 --- a/daemon/gvfsbackendcomputer.c +++ b/daemon/gvfsbackendcomputer.c @@ -688,6 +688,7 @@ file_info_from_file (ComputerFile *file, g_file_info_set_attribute_uint32 (info, G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE, file->start_stop_type); g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE, FALSE); + g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME, FALSE); g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE, FALSE); g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH, FALSE); } |