diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-12-06 15:46:10 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-12-06 15:46:10 +0000 |
commit | 318b5a31671948668849e0b0c36bdb47f87bb7c1 (patch) | |
tree | a6bd612b02696a2928bde01da7c8fbd2af1f3768 /libnautilus-private/nautilus-file-operations.h | |
parent | e55bf2bfde8efc4a25fbdbfcdd581077538ebd21 (diff) | |
download | nautilus-318b5a31671948668849e0b0c36bdb47f87bb7c1.tar.gz |
Don't avoid adding existing files that are not is_added. Fixes a problem
2007-12-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory.c:
Don't avoid adding existing files that are not is_added.
Fixes a problem where new folder didn't display the new folder.
* libnautilus-private/nautilus-file-operations.[ch]:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-tree-view.c:
Implement new folder.
svn path=/trunk/; revision=13499
Diffstat (limited to 'libnautilus-private/nautilus-file-operations.h')
-rw-r--r-- | libnautilus-private/nautilus-file-operations.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libnautilus-private/nautilus-file-operations.h b/libnautilus-private/nautilus-file-operations.h index 4dde0df26..064685939 100644 --- a/libnautilus-private/nautilus-file-operations.h +++ b/libnautilus-private/nautilus-file-operations.h @@ -33,9 +33,7 @@ typedef void (* NautilusCopyCallback) (GHashTable *debuting_uris, gpointer callback_data); -typedef void (* NautilusNewFolderCallback) (const char *new_folder_uri, - gpointer callback_data); -typedef void (* NautilusNewFileCallback) (const char *new_file_uri, +typedef void (* NautilusCreateCallback) (GFile *new_file, gpointer callback_data); typedef void (* NautilusSetPermissionsCallback) (gpointer callback_data); typedef void (* NautilusDeleteCallback) (GHashTable *debuting_uris, @@ -56,20 +54,20 @@ void nautilus_file_operations_empty_trash (GtkWidget *parent_vie void nautilus_file_operations_new_folder (GtkWidget *parent_view, GdkPoint *target_point, const char *parent_dir_uri, - NautilusNewFolderCallback done_callback, + NautilusCreateCallback done_callback, gpointer done_callback_data); void nautilus_file_operations_new_file (GtkWidget *parent_view, GdkPoint *target_point, const char *parent_dir, const char *initial_contents, - NautilusNewFileCallback done_callback, + NautilusCreateCallback done_callback, gpointer data); void nautilus_file_operations_new_file_from_template (GtkWidget *parent_view, GdkPoint *target_point, const char *parent_dir, const char *target_filename, const char *template_uri, - NautilusNewFileCallback done_callback, + NautilusCreateCallback done_callback, gpointer data); void nautilus_file_operations_delete (GList *files, |