summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-directory.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-08-17 21:57:13 +0000
committerDarin Adler <darin@src.gnome.org>2000-08-17 21:57:13 +0000
commit56d7a0273d5dc121cbb752e5fe82bdd9a85a4039 (patch)
tree9a43d101f4019e71dd773c46117aeb94aa036094 /libnautilus-private/nautilus-directory.h
parent7c94dde4e4e348b0b4fcea4954fe2c2dda4e0542 (diff)
downloadnautilus-56d7a0273d5dc121cbb752e5fe82bdd9a85a4039.tar.gz
Remove extra parameters now that the initial files callback is gone. It
* components/tree/nautilus-tree-model.c: (nautilus_tree_model_monitor_node): * libnautilus-extensions/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal): * libnautilus-extensions/nautilus-directory-background.c: (nautilus_connect_background_to_directory_metadata): * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_file_monitor_add), (nautilus_self_check_directory): * libnautilus-extensions/nautilus-directory.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_monitor_add): * libnautilus-extensions/nautilus-trash-directory.c: (trash_file_monitor_add): * libnautilus-extensions/nautilus-vfs-directory.c: (vfs_file_monitor_add): * src/file-manager/fm-directory-view.c: (finish_loading_uri): * src/file-manager/nautilus-trash-monitor.c: (nautilus_trash_metadata_ready_callback): Remove extra parameters now that the initial files callback is gone. It turns out emitting another files_added signal works just fine. If it wasn't for the search list view, I could also merge the "file_added" and "files_changed" signals easily. Both of these changes would simplify the work on the virtual trash directory. * libnautilus-extensions/nautilus-link.h: * libnautilus-extensions/nautilus-link.c: Get rid of NAUTILUS_LINK constant, which looked like a link type, but was really an unrelated implementation detail. * libnautilus-extensions/nautilus-icon-container.c: (sort_icons), (resort), (lay_down_icons_tblr), (finish_adding_new_icons): Removed the file-manager-specific stuff Gene added for the desktop. I fight the continuing battle to keep NautilusIconContainer a general icon container, and not just for the Nautilus icon view. The drag code is still an exception to this that needs to be fixed some day (for NautilusList too). * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_initialize), (get_local_path), (get_sort_category), (desktop_icons_compare_callback): Rewrote sorting code from NautilusIconContainer and moved it here where it belongs.
Diffstat (limited to 'libnautilus-private/nautilus-directory.h')
-rw-r--r--libnautilus-private/nautilus-directory.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libnautilus-private/nautilus-directory.h b/libnautilus-private/nautilus-directory.h
index 95fb68589..03c2dabd7 100644
--- a/libnautilus-private/nautilus-directory.h
+++ b/libnautilus-private/nautilus-directory.h
@@ -122,9 +122,7 @@ typedef struct
gconstpointer client,
GList *monitor_attributes,
gboolean monitor_metadata,
- gboolean force_reload,
- NautilusDirectoryCallback initial_files_callback,
- gpointer callback_data);
+ gboolean force_reload);
void (* file_monitor_remove) (NautilusDirectory *directory,
gconstpointer client);
gboolean (* are_all_files_seen) (NautilusDirectory *directory);
@@ -206,9 +204,7 @@ void nautilus_directory_file_monitor_add (NautilusDirectory
gconstpointer client,
GList *monitor_attributes,
gboolean monitor_metadata,
- gboolean force_reload,
- NautilusDirectoryCallback initial_files_callback,
- gpointer callback_data);
+ gboolean force_reload);
void nautilus_directory_file_monitor_remove (NautilusDirectory *directory,
gconstpointer client);