summaryrefslogtreecommitdiff
path: root/libnautilus
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2002-03-08 09:29:57 +0000
committerDarin Adler <darin@src.gnome.org>2002-03-08 09:29:57 +0000
commit76c700136247c1463d16e51d2b4de6cafc247106 (patch)
tree4dcef86fe1bcc98f508c45b53880df71c6cf4977 /libnautilus
parent71c2d7efb3355dca7eb3165007c55250aacbdd8b (diff)
downloadnautilus-76c700136247c1463d16e51d2b4de6cafc247106.tar.gz
Rename old stop_monitoring_directory function.
* components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: (stop_monitoring_directory_without_reporting): Rename old stop_monitoring_directory function. (stop_monitoring_directory): New function that handles changes caused by stopping monitoring. (destroy_children_by_function): New. (destroy_by_function): New. (should_show_file): New. (update_node): Call should_show_file instead of nautilus_file_is_gone to decide whether a given file should show up. (process_file_change): Ditto. (start_monitoring_directory): Pass through flags for whether to monitor invisible or backup files, rather than just TRUE, TRUE. (nautilus_tree_model_get_value): Use PANGO_STYLE_ITALIC instead of PANGO_STYLE_OBLIQUE. Both will fall back to the other if not available, but if we have both, we'd prefer italic. (stop_monitoring_directory_and_children): New. (stop_monitoring): New. (nautilus_tree_model_set_show_hidden_files): New. (nautilus_tree_model_set_show_backup_files): New. (file_is_not_directory): New. (nautilus_tree_model_set_show_only_directories): New. * components/tree/nautilus-tree-view.c: (update_filtering_from_preferences): Call functions to change settings on model rather than storing these settings here. (tree_activate_callback), (filtering_changed_callback): Call update_filtering_from_preferences to set filtering for the newly created tree. (nautilus_tree_view_instance_init): Don't call update_filtering_from_preferences here, because we don't have a tree model yet. * libnautilus-private/nautilus-theme.c: Formatting tweaks. * libnautilus/nautilus-view-standard-main.c: Formatting tweak. * src/nautilus-window-toolbars.c: Formatting tweaks, and remove some unnecessary localized strings. * src/nautilus-zoom-control.h: Remove extern "C" stuff. If we need this, we'll do G_BEGIN_DECLS, and it's silly to use it for private headers that are never going to be used from C++. * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_activation_register_for_display): Temporarily re-disable per-display registration since it doesn't work at all on my machine. I'll turn it back on after talking to Michael Meeks.
Diffstat (limited to 'libnautilus')
-rw-r--r--libnautilus/nautilus-view-standard-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus/nautilus-view-standard-main.c b/libnautilus/nautilus-view-standard-main.c
index 157e15eea..352e54dd5 100644
--- a/libnautilus/nautilus-view-standard-main.c
+++ b/libnautilus/nautilus-view-standard-main.c
@@ -215,8 +215,8 @@ nautilus_view_standard_main_multi (const char *executable_name,
callback_data.delayed_quit_timeout_id = 0;
/* Create the factory. */
- registration_id = bonobo_activation_make_registration_id (
- factory_iid, gdk_get_display ());
+ registration_id = bonobo_activation_make_registration_id
+ (factory_iid, gdk_get_display ());
factory = bonobo_generic_factory_new (registration_id,
make_object,
&callback_data);