diff options
author | Mathieu Lacage <mathieu@eazel.com> | 2000-08-29 03:12:36 +0000 |
---|---|---|
committer | Mathieu Lacage <mathieu@src.gnome.org> | 2000-08-29 03:12:36 +0000 |
commit | 62fdbe1fb754031e4ce1ba4db29a5c4039d94d79 (patch) | |
tree | a44eea931020b0d5654ef73b117dfddff37a434f /libnautilus-extensions/nautilus-file-operations.h | |
parent | f1451cc17c5d55de06a3fb31b65715f114600073 (diff) | |
download | nautilus-62fdbe1fb754031e4ce1ba4db29a5c4039d94d79.tar.gz |
add news from latest PR1 release. make dnd do real file operations from
2000-08-28 Mathieu Lacage <mathieu@eazel.com>
* NEWS: add news from latest PR1 release.
* components/tree/nautilus-tree-view.c: make dnd do real file operations
from tree view to other views. Dnd to tree view depends on the views code
which needs to be fixed (related to bug 2353).
* libnautilus-extensions/Makefile.am: add nautilus-fils-operations.
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update),
(nautilus_file_operations_progress_close),
(nautilus_file_operations_progress_destroy),
(nautilus_file_operations_progress_initialize),
(nautilus_file_operations_progress_initialize_class),
(nautilus_file_operations_progress_new),
(nautilus_file_operations_progress_set_total),
(nautilus_file_operations_progress_set_operation_string),
(nautilus_file_operations_progress_new_file),
(nautilus_file_operations_progress_clear),
(nautilus_file_operations_progress_update_sizes),
(nautilus_file_operations_progress_freeze),
(nautilus_file_operations_progress_thaw): modify API name.
* libnautilus-extensions/nautilus-file-operations-progress.h: idem
* libnautilus-extensions/nautilus-file-operations.c: idem
(xfer_dialog_clicked_callback), (create_xfer_dialog),
(progress_dialog_set_files_remaining_text),
(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
(handle_xfer_vfs_error), (nautilus_file_operations_copy_move),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete),
(nautilus_file_operations_empty_trash):
* libnautilus-extensions/nautilus-file-operations.h: idem.
* src/file-manager/Makefile.am: remove dfos* from compilation.
* src/file-manager/fm-directory-view.c:
(bonobo_menu_empty_trash_callback),
(fm_directory_view_create_links_for_files),
(fm_directory_view_duplicate_selection),
(fm_directory_view_trash_or_delete_selection),
(fm_directory_view_new_folder),
(fm_directory_view_move_copy_items): make it call nautilus-file-operations
functions.
Diffstat (limited to 'libnautilus-extensions/nautilus-file-operations.h')
-rw-r--r-- | libnautilus-extensions/nautilus-file-operations.h | 52 |
1 files changed, 22 insertions, 30 deletions
diff --git a/libnautilus-extensions/nautilus-file-operations.h b/libnautilus-extensions/nautilus-file-operations.h index d9b207d95..33bdbf36f 100644 --- a/libnautilus-extensions/nautilus-file-operations.h +++ b/libnautilus-extensions/nautilus-file-operations.h @@ -1,5 +1,5 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ -/* xfer.h - Bonobo::Desktop::FileOperationService transfer service. +/* nautilus-file-operatoins: execute file operations. Copyright (C) 1999, 2000 Free Software Foundation @@ -21,40 +21,32 @@ Author: Ettore Perazzoli <ettore@gnu.org> */ -#ifndef DFOS_XFER_H -#define DFOS_XFER_H +#ifndef _NAUTILUS_FILE_OPERATIONS_H +#define _NAUTILUS_FILE_OPERATIONS_H #include <libgnomevfs/gnome-vfs.h> -#include "dfos.h" - -void dfos_xfer (DFOS *dfos, - const gchar *source_directory_uri, - GList *source_file_name_list, - const gchar *target_directory_uri, - GList *target_file_name_list, - GnomeVFSXferOptions options, - GnomeVFSXferErrorMode error_mode, - GnomeVFSXferOverwriteMode overwrite_mode); - -void fs_xfer (const GList *item_uris, - const GdkPoint *target_item_points, - const char *target_dir, - int copy_action, - GtkWidget *parent_view); - -void fs_move_to_trash (const GList *item_uris, - GtkWidget *parent_view); - -void fs_empty_trash (GtkWidget *parent_view); -void fs_new_folder (GtkWidget *parent_view, - const char *parent_dir, - void (*done_callback)(const char *new_folder_uri, gpointer data), - gpointer data); -void fs_delete (const GList *item_uris, GtkWidget *parent_view); + +void nautilus_file_operations_copy_move (const GList *item_uris, + const GdkPoint *target_item_points, + const char *target_dir, + int copy_action, + GtkWidget *parent_view); + +void nautilus_file_operations_move_to_trash (const GList *item_uris, + GtkWidget *parent_view); + +void nautilus_file_operations_empty_trash (GtkWidget *parent_view); +void nautilus_file_operations_new_folder (GtkWidget *parent_view, + const char *parent_dir, + void (*done_callback)(const char *new_folder_uri, gpointer data), + gpointer data); +void nautilus_file_operations_delete (const GList *item_uris, GtkWidget *parent_view); /* Prepare an escaped string for display. Unescapes a string in place. * Frees the original string. */ char *nautilus_convert_to_unescaped_string_for_display (char *escaped); -#endif /* DFOS_XFER_H */ +#endif /* _NAUTILUS_FILE_OPERATIONS_H */ + + |