You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
20 years ago
|
--- gnome-vfs-2.0.2/modules/vfolder-desktop-method.c.read-only 2002-08-23 11:45:03.000000000 -0400
|
||
|
+++ gnome-vfs-2.0.2/modules/vfolder-desktop-method.c 2002-08-23 12:09:27.000000000 -0400
|
||
|
@@ -1162,7 +1162,8 @@
|
||
|
folder->entry.type = ENTRY_FOLDER;
|
||
|
folder->entry.name = g_strdup (name);
|
||
|
folder->entry.refcount = 1;
|
||
|
-
|
||
|
+ folder->read_only = TRUE;
|
||
|
+
|
||
|
return folder;
|
||
|
}
|
||
|
|
||
|
@@ -6084,28 +6085,28 @@
|
||
|
static GnomeVFSMethod method = {
|
||
|
sizeof (GnomeVFSMethod),
|
||
|
do_open,
|
||
|
- do_create,
|
||
|
+ NULL, /* do_create, */
|
||
|
do_close,
|
||
|
do_read,
|
||
|
- do_write,
|
||
|
+ NULL, /* do_write, */
|
||
|
do_seek,
|
||
|
do_tell,
|
||
|
- do_truncate_handle,
|
||
|
+ NULL, /* do_truncate_handle, */
|
||
|
do_open_directory,
|
||
|
do_close_directory,
|
||
|
do_read_directory,
|
||
|
do_get_file_info,
|
||
|
do_get_file_info_from_handle,
|
||
|
do_is_local,
|
||
|
- do_make_directory,
|
||
|
- do_remove_directory,
|
||
|
- do_move,
|
||
|
- do_unlink,
|
||
|
+ NULL, /* do_make_directory, */
|
||
|
+ NULL, /* do_remove_directory, */
|
||
|
+ NULL, /* do_move, */
|
||
|
+ NULL, /* do_unlink, */
|
||
|
do_check_same_fs,
|
||
|
- do_set_file_info,
|
||
|
- do_truncate,
|
||
|
- NULL /* find_directory */,
|
||
|
- NULL /* create_symbolic_link */,
|
||
|
+ NULL, /* do_set_file_info, */
|
||
|
+ NULL, /* do_truncate, */
|
||
|
+ NULL /* find_directory */,
|
||
|
+ NULL /* create_symbolic_link */,
|
||
|
do_monitor_add,
|
||
|
do_monitor_cancel
|
||
|
};
|