summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-file-private.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-05-23 01:04:57 +0000
committerDarin Adler <darin@src.gnome.org>2000-05-23 01:04:57 +0000
commit503b5255e160e85b4949e876589c444ce0d0ced4 (patch)
tree214c474c8a89ab9bf5048b338d1414c6989a4d47 /libnautilus-private/nautilus-file-private.h
parent31652a340e8fcba156c098e0798c8e2a654340e6 (diff)
downloadnautilus-503b5255e160e85b4949e876589c444ce0d0ced4.tar.gz
Implemented Reload for directory views.
* libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal), (dequeue_pending_idle_callback), (cancel_directory_load), (directory_load_done), (nautilus_directory_monitor_remove_internal), (nautilus_directory_call_when_ready_internal), (mark_all_files_unconfirmed), (start_monitoring_file_list), (nautilus_directory_stop_monitoring_file_list), (nautilus_directory_force_reload): * libnautilus-extensions/nautilus-directory.c: (call_files_changed_unref_free_list), (nautilus_directory_notify_files_removed), (nautilus_directory_notify_files_moved), (nautilus_directory_file_monitor_add): * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_get), (destroy), (nautilus_file_monitor_remove), (nautilus_file_delete), (nautilus_file_mark_gone), (nautilus_file_changed), (nautilus_file_emit_changed): Added the necessary tweaks to the async. I/O so we can handle a reload, not just the initial load. * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_add): Changed API so it will detect if you try to add the same item twice and indicate it with a return value; needed so we can handle reload. * libnautilus-extensions/nautilus-list.c: (set_single_click_mode), (update_single_click_mode_from_preferences), (nautilus_list_initialize), (click_policy_changed_callback): Fixed bug where a change in single click mode would chang the appearance of the names in the list, but not cause a redraw when the setting was changed. * libnautilus/nautilus-undoable.c: (undo_atom_destroy_callback_data), (undo_atom_destroy), (undo_atom_destroy_callback_data_g_func_cover), (nautilus_undo_register_full): Fixed a bug where it would try to destroy the undo atom even when it didn't own it. * libnautilus/nautilus-undoable.h: Got rid of some cruft I left in here by accident. * src/file-manager/fm-icon-view.c: (fm_icon_view_add_file): * src/file-manager/fm-list-view.c: (fm_list_view_add_file): Only add the files if they are not already in the list. This is needed for reload. * src/ntl-main.c: (main): Tweaked this function to be easier to understand and better organized. Also added a "desktop" option as a start for my next task.
Diffstat (limited to 'libnautilus-private/nautilus-file-private.h')
-rw-r--r--libnautilus-private/nautilus-file-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file-private.h b/libnautilus-private/nautilus-file-private.h
index 5a5984151..bb83bafd1 100644
--- a/libnautilus-private/nautilus-file-private.h
+++ b/libnautilus-private/nautilus-file-private.h
@@ -28,6 +28,7 @@
struct NautilusFileDetails
{
NautilusDirectory *directory;
+ gboolean unconfirmed;
gboolean is_gone;
GnomeVFSFileInfo *info;