diff options
author | Darin Adler <darin@src.gnome.org> | 2000-06-02 23:33:02 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-06-02 23:33:02 +0000 |
commit | 58b235f00658dbe892b001e0c14b8af1596d966e (patch) | |
tree | 6b0d2e1656c6076dafcb1635fda103a0d3ef3405 /libnautilus-private/nautilus-file-changes-queue.h | |
parent | c846f9825892eb126ee85c3cd97137f2d3067d54 (diff) | |
download | nautilus-58b235f00658dbe892b001e0c14b8af1596d966e.tar.gz |
Need to unencode the name here because it's used to compare with file
* libnautilus-extensions/nautilus-directory.c: (uri_get_basename):
Need to unencode the name here because it's used to compare with
file names that come from get_file_info.
* src/file-manager/dfos-xfer.c: (get_parent_make_name_list):
Unescape the result of get_basename to convert it to a plain old
file name, since that's why gnome_vfs_xfer wants in its file name
lists (for now, see bug 1107).
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file-changes-queue-private.h:
Removed the private header since it's so private it can be in the
.c file :-)
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_new),
(nautilus_file_changes_queue_get), (nautilus_file_change_free),
(nautilus_file_changes_queue_free),
(nautilus_file_changes_queue_add_common),
(nautilus_file_changes_queue_get_change):
A little simplification and reformatting. Got rid of the details
indirection since the entire data structure is private.
Diffstat (limited to 'libnautilus-private/nautilus-file-changes-queue.h')
-rw-r--r-- | libnautilus-private/nautilus-file-changes-queue.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/libnautilus-private/nautilus-file-changes-queue.h b/libnautilus-private/nautilus-file-changes-queue.h index 3cedb1c09..084dac0e6 100644 --- a/libnautilus-private/nautilus-file-changes-queue.h +++ b/libnautilus-private/nautilus-file-changes-queue.h @@ -24,20 +24,13 @@ #ifndef NAUTILUS_FILE_CHANGES_QUEUE_H #define NAUTILUS_FILE_CHANGES_QUEUE_H -typedef struct NautilusFileChangesQueue NautilusFileChangesQueue; -typedef struct NautilusFileChangesQueueDetails NautilusFileChangesQueueDetails; +#include <glib.h> -void nautilus_file_changes_queue_free (NautilusFileChangesQueue *queue); +void nautilus_file_changes_queue_file_added (const char *uri); +void nautilus_file_changes_queue_file_removed (const char *uri); +void nautilus_file_changes_queue_file_moved (const char *from_uri, + const char *to_uri); -void nautilus_file_changes_queue_file_added (const char *uri); -void nautilus_file_changes_queue_file_removed (const char *uri); -void nautilus_file_changes_queue_file_moved (const char *from_uri, - const char *to_uri); +void nautilus_file_changes_consume_changes (gboolean consume_all); -void nautilus_file_changes_consume_changes (gboolean consume_all); - -struct NautilusFileChangesQueue { - NautilusFileChangesQueueDetails *details; -}; - -#endif +#endif /* NAUTILUS_FILE_CHANGES_QUEUE_H */ |