1. 17 Mar, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 99d8949d
      Darin Adler authored
      	Fix bug 7778 (Trash directory state not saved properly).
      
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(is_delegated_attribute): Function that returns TRUE if it's passed
      	one of the attributes that needs to be delegated to the individual
      	directories that make up the trash.
      	(is_delegated_attribute_predicate): Cover to use partition call on.
      	(partition_attributes): Helper that partitions a list into a list
      	of the delegated and non-delegated attributes.
      	(real_monitor_add), (real_monitor_remove),
      	(real_call_when_ready), (real_cancel_call_when_ready),
      	(real_check_if_ready): Calls to be used for the trash itself for
      	the non-delegated attributes.
      	(trash_callback_destroy): Destroy both attribute lists.
      	(monitor_add_file): Only monitor delegated attributes here.
      	(trash_file_call_when_ready): Wait for the delegated attributes
      	on the other files, the non-delegated attributes on this file.
      	(trash_file_cancel_call_when_ready): Cancel the wait for both
      	the main file and the other files.
      	(trash_file_check_if_ready): Check for the delegated attributes
      	on the other files, the non-delegated attributes on this file.
      	(trash_file_monitor_add): Monitor the delegated attributes
      	on the other files, the non-delegated attributes on this file.
      	(trash_file_monitor_remove): Remove the monitor from both the
      	main file and the other files.
      
      	* libnautilus-extensions/nautilus-vfs-file.c: Formatting tweaks.
      99d8949d
  2. 07 Mar, 2001 1 commit
    • John Harper's avatar
      Merged change from `nautilus-1' branch: · e6fcffdb
      John Harper authored
      2001-03-06  John Harper  <jsh@eazel.com>
      
      	Merged change from `nautilus-1' branch:
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	Fix 7455 (Intermittent crash when opening trash folder):
      
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(trash_callback_check_done), (trash_file_call_when_ready):
      
      	Added an "initializing" field to TrashCallback object. This
      	is set while connecting the call_when_ready callbacks in
      	trash_file_call_when_ready (). trash_callback_check_done ()
      	checks this flag and only succeeds when it's false.
      e6fcffdb
  3. 23 Feb, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 764d936a
      Darin Adler authored
      	Fix bug 6859 (GTK signal macros don't work in non-GCC compilers
      	for void return types).
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Replaced old macros that accidentally relied on gccisms with
      	new ones that are portable to other compilers.
      
      		NAUTILUS_CALL_PARENT_CLASS is replaced by
      			NAUTILUS_CALL_PARENT
      		    and NAUTILUS_CALL_PARENT_WITH_RETURN_VALUE.
      
      		NAUTILUS_CALL_VIRTUAL is replaced by
      			NAUTILUS_CALL_METHOD
      		    and NAUTILUS_CALL_METHOD_WITH_RETURN_VALUE
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_destroy),
      	(nautilus_adapter_embed_strategy_get_widget),
      	(nautilus_adapter_embed_strategy_get_zoomable):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(nautilus_adapter_factory_server_destroy):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_destroy),
      	(nautilus_adapter_load_strategy_load_location),
      	(nautilus_adapter_load_strategy_stop_loading):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_destroy):
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy):
      	* components/history/nautilus-history-view.c:
      	(nautilus_history_view_destroy):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_destroy):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_destroy):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_destroy):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_destroy):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_destroy):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_destroy),
      	(nautilus_service_install_view_finalize):
      	* components/services/inventory-view/nautilus-inventory-config-page
      	.c: (nautilus_inventory_config_page_destroy):
      	* components/services/inventory-view/nautilus-inventory-view.c:
      	(nautilus_inventory_view_destroy):
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c: (nautilus_change_password_view_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c: (footer_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c: (header_destroy):
      	* components/services/summary/nautilus-summary-view.c:
      	(nautilus_summary_view_destroy):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.
      	c: (trilobite_eazel_time_view_destroy):
      	* components/text/nautilus-text-view.c:
      	(nautilus_text_view_destroy):
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_destroy), (nautilus_throbber_map),
      	(nautilus_throbber_size_allocate):
      	* components/tree/nautilus-tree-change-queue.c:
      	(nautilus_tree_change_queue_destroy):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_destroy):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_destroy):
      	* components/tree/nautilus-tree-node.c:
      	(nautilus_tree_node_destroy):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_destroy):
      	* help/nautilus-quick-reference/.cvsignore:
      	* help/nautilus-quick-reference/C/.cvsignore:
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	(nautilus_background_canvas_group_update),
      	(nautilus_background_canvas_group_draw),
      	(nautilus_background_canvas_group_render):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_destroy):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_destroy):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_destroy), (nautilus_font_picker_show_all):
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_destroy),
      	(nautilus_clickable_image_realize),
      	(nautilus_clickable_image_expose_event):
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(debug_pixbuf_viewer_destroy):
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	(destroy):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy),
      	(nautilus_directory_get_name_for_self_as_new_file),
      	(nautilus_directory_are_all_files_seen),
      	(nautilus_directory_contains_file),
      	(nautilus_directory_call_when_ready),
      	(nautilus_directory_cancel_callback),
      	(nautilus_directory_file_monitor_add),
      	(nautilus_directory_file_monitor_remove),
      	(nautilus_directory_force_reload),
      	(nautilus_directory_is_not_empty):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_destroy),
      	(nautilus_druid_page_eazel_finalize),
      	(nautilus_druid_page_eazel_size_allocate),
      	(nautilus_druid_page_eazel_size_request):
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	(real_size_request), (real_size_allocate), (real_style_set):
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_destroy), (nautilus_entry_key_press),
      	(nautilus_entry_motion_notify), (nautilus_entry_set_selection),
      	(nautilus_entry_insert_text), (nautilus_entry_delete_text),
      	(nautilus_entry_selection_clear):
      	* libnautilus-extensions/nautilus-file.c: (destroy),
      	(nautilus_file_monitor_add), (nautilus_file_monitor_remove),
      	(nautilus_file_get_date), (nautilus_file_get_where_string),
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts), (nautilus_file_get_file_type),
      	(nautilus_file_check_if_ready), (nautilus_file_call_when_ready),
      	(nautilus_file_cancel_call_when_ready):
      	* libnautilus-extensions/nautilus-font-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_destroy):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_destroy),
      	(nautilus_horizontal_splitter_button_press):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_destroy),
      	(nautilus_icon_canvas_item_update):
      	* libnautilus-extensions/nautilus-icon-container.c: (destroy),
      	(size_allocate), (realize), (unrealize), (button_press_event),
      	(button_release_event), (motion_notify_event), (key_press_event):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_destroy):
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_destroy),
      	(nautilus_image_table_expose_event),
      	(nautilus_image_table_realize), (nautilus_image_table_unrealize),
      	(nautilus_image_table_remove):
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_destroy):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_size_allocate):
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_destroy), (nautilus_label_size_request),
      	(nautilus_label_size_allocate), (label_paint_pixbuf_callback):
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	(nautilus_labeled_image_destroy):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_finalize):
      	* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy),
      	(nautilus_list_button_press), (nautilus_list_button_release),
      	(nautilus_list_key_press), (nautilus_list_style_set),
      	(nautilus_list_realize), (nautilus_list_unrealize), (draw_rows),
      	(draw_all), (nautilus_list_draw), (nautilus_list_expose),
      	(nautilus_list_resize_column), (nautilus_list_set_cell_contents),
      	(set_list_cell), (nautilus_list_track_new_column_width),
      	(nautilus_list_motion), (nautilus_list_clear), (insert_row):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_destroy):
      	* libnautilus-extensions/nautilus-metafile-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-metafile.c: (destroy):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_destroy):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_destroy):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_destroy):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_destroy):
      	* libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_destroy):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_destroy):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(trash_destroy):
      	* libnautilus-extensions/nautilus-trash-file.c: (trash_destroy):
      	* libnautilus-extensions/nautilus-undo-context.c: (destroy):
      	* libnautilus-extensions/nautilus-undo-manager.c: (destroy):
      	* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-vfs-file.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-viewport.c:
      	(nautilus_viewport_destroy), (nautilus_viewport_realize):
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_destroy):
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	(nautilus_wrap_table_destroy):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_destroy):
      	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_destroy), (real_update_menus),
      	(real_merge_menus):
      	* src/file-manager/fm-directory-view.c:
      	(text_attribute_names_changed_callback),
      	(image_display_policy_changed_callback),
      	(directory_view_font_family_changed_callback),
      	(click_policy_changed_callback),
      	(smooth_graphics_mode_changed_callback),
      	(fm_directory_view_destroy),
      	(fm_directory_view_file_limit_reached),
      	(fm_directory_view_bump_zoom_level),
      	(fm_directory_view_zoom_to_level),
      	(fm_directory_view_restore_default_zoom_level),
      	(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out),
      	(fm_directory_view_get_background_widget),
      	(fm_directory_view_get_selection), (reveal_newly_added_folder),
      	(fm_directory_view_get_emblem_names_to_exclude),
      	(fm_directory_view_merge_menus), (fm_directory_view_select_all),
      	(fm_directory_view_set_selection),
      	(fm_directory_get_selected_icon_locations),
      	(fm_directory_view_reveal_selection),
      	(fm_directory_view_is_read_only), (fm_directory_view_is_empty),
      	(fm_directory_view_supports_creating_files),
      	(fm_directory_view_accepts_dragged_files),
      	(fm_directory_view_supports_properties),
      	(fm_directory_view_supports_zooming),
      	(fm_directory_view_update_menus):
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      	(fm_icon_view_clean_up), (fm_icon_view_get_directory_sort_by),
      	(fm_icon_view_set_directory_sort_by),
      	(fm_icon_view_get_directory_sort_reversed),
      	(fm_icon_view_set_directory_sort_reversed),
      	(fm_icon_view_get_directory_auto_layout),
      	(fm_icon_view_set_directory_auto_layout),
      	(fm_icon_view_get_directory_tighter_layout),
      	(fm_icon_view_set_directory_tighter_layout),
      	(fm_icon_view_supports_auto_layout),
      	(fm_icon_view_start_renaming_item), (fm_icon_view_merge_menus),
      	(fm_icon_view_update_menus):
      	* src/file-manager/fm-list-view.c: (fm_list_view_adding_file),
      	(fm_list_view_removing_file), (fm_list_view_file_still_belongs),
      	(get_number_of_columns), (get_link_column),
      	(get_default_sort_attribute), (get_column_specification):
      	* src/file-manager/fm-properties-window.c: (real_shutdown),
      	(real_destroy), (real_finalize):
      	* src/file-manager/fm-search-list-view.c: (real_destroy),
      	(real_add_file), (real_adding_file), (real_removing_file),
      	(real_merge_menus), (real_update_menus):
      	* src/nautilus-about.c: (nautilus_about_destroy):
      	* src/nautilus-application.c: (nautilus_application_destroy),
      	(nautilus_application_startup):
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_destroy):
      	* src/nautilus-desktop-window.c: (destroy), (realize):
      	* src/nautilus-location-bar.c: (destroy):
      	* src/nautilus-navigation-bar.c:
      	(nautilus_navigation_bar_get_location),
      	(nautilus_navigation_bar_set_location):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_destroy):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy):
      	* src/nautilus-shell.c: (destroy):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_destroy),
      	(nautilus_sidebar_tabs_size_allocate):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_destroy),
      	(nautilus_sidebar_title_size_allocate):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_destroy),
      	(nautilus_sidebar_size_allocate), (nautilus_sidebar_realize):
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_destroy):
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_destroy):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_destroy):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
      	(nautilus_view_frame_finalize), (nautilus_view_frame_map):
      	* src/nautilus-window.c: (nautilus_window_destroy),
      	(nautilus_window_realize), (nautilus_window_size_request),
      	(nautilus_window_add_current_location_to_history_list),
      	(nautilus_window_show):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy),
      	(nautilus_zoom_control_size_allocate):
      	Use the macros by their new names.
      
      	* RENAMING: Updated for some name changes and name change ideas.
      
      	* user-guide/C/.cvsignore:
      	* user-guide/C/html/.cvsignore:
      	* user-guide/C/img/.cvsignore:
      	* user-guide/C/sgml/.cvsignore:
      	Added missing cvsignores.
      764d936a
  4. 08 Feb, 2001 1 commit
    • Pavel Cisler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 63f29381
      Pavel Cisler authored
      2001-02-07  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: John Sullivan  <sullivan@eazel.com>
      
      	Fix 6380 (** ERROR ** in trash_callback_destroy when
      	          navigating to trash)
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(trash_callback_destroy), (trash_file_call_when_ready):
      	Add a missing ref and unref.
      63f29381
  5. 19 Jan, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · d23bb1b5
      John Sullivan authored
      	Finished bug 2146 (Properties window for desktop Trash
      	should show Trash properties). The last two changes were
      	to remove the "accessed" field for all directories, since
      	it seems useless, and to fill in the "where" field with
      	"on the desktop".
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_where_string): New function, calls
      	virtual function so trash and normal files can report
      	different strings.
      	(nautilus_file_get_string_attribute): Changed "parent_uri"
      	string attribute to "where", since it is not the parent_uri
      	in the Trash case.
      	* libnautilus-extensions/nautilus-file.h: Virtual function
      	pointer for get_where_string.
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(trash_file_get_where_string),
      	(nautilus_trash_file_initialize_class): Supply get_where_string
      	function that returns "on the desktop".
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	(vfs_file_get_where_string), (nautilus_vfs_file_initialize_class):
      	Supply get_where_string function that returns parent_uri string.
      	* src/file-manager/fm-properties-window.c:
      	(should_show_accessed_date): New function, returns FALSE for
      	directories and TRUE for other files.
      	(create_basic_page): Honor should_show_accessed_date, and use
      	"where" instead of "parent_uri" string attribute.
      	* src/file-manager/fm-search-list-view.c:
      	(real_get_column_specification): Use "where" instead of "parent_uri"
      	string attribute.
      d23bb1b5
  6. 18 Jan, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · e82bab8c
      Darin Adler authored
      	Fixed bug 2147 (NautilusFile for trash needs non-empty values for
      	more properties), bug 5652 (MIME type field appears but shouldn't
      	in properties window for Trash), and bug 4620 (trash sidebar
      	should show number of items).
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri): Create trash file subclass
      	when appropriate.
      	(nautilus_file_info_missing): Rename so it can be used in other
      	source files.
      	(nautilus_file_get_date): New method that returns numeric dates.
      	(nautilus_file_get_date_as_string): Change to call
      	nautilus_file_get_date to get the numeric date.
      	(nautilus_file_get_file_type): Turn into a method.
      
      	* libnautilus-extensions/nautilus-merged-directory.h:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_call_when_ready): Rolled in the old
      	merged_callback_connect_directory function.
      	(merged_contains_file): Moved down to a more appropriate part of
      	the source file.
      	(nautilus_merged_directory_get_real_directories): New public
      	function for use by trash.
      
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(trash_callback_hash), (trash_callback_equal),
      	(trash_callback_destroy), (trash_callback_check_done),
      	(trash_callback_remove_file), (ready_callback),
      	(real_file_changed_callback), (monitor_add_file), (add_real_file),
      	(trash_callback_remove_file_cover), (monitor_remove_file),
      	(remove_real_file), (add_real_file_given_directory),
      	(add_directory_callback), (remove_directory_callback),
      	(trash_file_call_when_ready), (trash_file_cancel_call_when_ready),
      	(trash_file_check_if_ready), (trash_file_monitor_add),
      	(trash_file_monitor_remove), (trash_file_get_file_type),
      	(trash_file_get_item_count), (trash_file_get_deep_counts),
      	(trash_file_get_date), (remove_all_real_files),
      	(nautilus_trash_file_initialize), (trash_destroy),
      	(nautilus_trash_file_initialize_class):
      	New code. First implementation of getting some attributes for the
      	merged trash. Gets list of directories from the
      	NautilusTrashDirectory object. The code in here is similar to the
      	NautilusMergedDirectory class and at some point perhaps we can
      	make the two share more.
      
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	(vfs_file_get_file_type), (vfs_file_get_date),
      	(nautilus_vfs_file_initialize_class): Implement the two new
      	methods for the standard vfs case.
      
      	Fixed various things that affect the properties window for the
      	trash that showed up while I was testing the above work:
      
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_name_for_regular_file),
      	(nautilus_icon_factory_get_icon_name_for_file): Move trash special
      	case out so it doesn't matter what type the trash seems to be. The
      	old code relied on trash not being a directory.
      
      	* src/file-manager/fm-properties-window.c:
      	(create_properties_window), (create_properties_window_callback),
      	(cancel_create_properties_window_callback),
      	(directory_view_destroyed_callback), (remove_pending_file): Rework
      	code to fix problems where the timed wait or the signal handler
      	wasn't properly cleaned up.
      
      	Fixed remaining bit of bug 5631 (Tear-offs of right-click menus
      	don't work.):
      
      	* src/file-manager/nautilus-desktop-icon-view-ui.xml: Mark Disks
      	right-click submenu so it won't get a tear-off item.
      
      	Fixed bug 5650 (nautilus --quit fails to return to prompt
      	sometimes):
      
      	* src/nautilus-application.c: (nautilus_application_startup): Add
      	special case so "nautilus --quit" doesn't hang waiting for a
      	response from the (now quit) "server" instance of Nautilus.
      	* src/nautilus-shell-interface.idl: Had to make the quit call no
      	longer be "oneway" to get it to work right, otherwise the quit
      	message could be lost when the sending application exited too
      	fast.
      
      	Fix bug 5675 (Nitpicks in new "could not be moved to new special
      	location" dialog):
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(handle_transfer_overwrite): Updated message wording as Eli (and
      	Vera) suggest.
      
      	Other changes:
      
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(get_lang_list): Fix comment and a small storage leak in the case
      	where lang_with_locale is non-NULL but empty.
      
      	* po/POTFILES.ignore: Obsolete file, no longer used.
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(update_home_link_and_delete_copies): Update comment to help
      	translators understand better.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(directory_load_callback): Added a new assertion that could help
      	in future gnome-vfs debugging.
      
      	* libnautilus/nautilus-view-component.idl: Removed long-ago-fixed
      	FIXME comment.
      
      	* src/nautilus-window-manage-views.c: Tweak spacing.
      e82bab8c
  7. 15 Jan, 2001 1 commit
    • Darin Adler's avatar
      Fix bug 5557 (Intermittent crash in · daee7ca5
      Darin Adler authored
      	Nautilus_View_history_changed):
      
      	* src/nautilus-view-frame.c: (send_history): Added a check for
      	NULL so we don't try to send a NULL history list through the
      	history machinery.
      
      	Fix bug 5360 ("menthos's Home" string is hard to translate):
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(update_home_link_and_delete_copies): Added comment to help
      	translators understand what to do with "%s's Home".
      
      	Fix bug 5641 ("xfree" does not work with newer versions of RPM 4
      	headers):
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_packagedata_fill_from_header): Just
      	use "free" instead of "xfree".
      
      	Fix bug 5631 (Tear-offs of right-click menus don't work):
      
      	* src/nautilus-shell-ui.xml:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/file-manager/nautilus-icon-view-ui.xml:
      	Mark popups and submenus of the popups with tearoff="0" so they
      	don't have tear-off menu items.
      
      	More work on bug 2147 (NautilusFile for trash needs non-empty
      	values for more properties).
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri),
      	(nautilus_file_new_from_info), (nautilus_file_monitor_add),
      	(nautilus_file_monitor_remove),
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts), (nautilus_file_check_if_ready),
      	(nautilus_file_call_when_ready),
      	(nautilus_file_cancel_call_when_ready):
      	Put more of the machinery in place to make enough of NautilusFile
      	virtual so that we can implement the trash case.
      
      	* libnautilus-extensions/nautilus-merged-directory.h:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_add_real_directory),
      	(nautilus_merged_directory_add_real_directory),
      	(merged_remove_real_directory),
      	(nautilus_merged_directory_remove_real_directory),
      	(remove_all_real_directories),
      	(nautilus_merged_directory_initialize_class):
      	Make adding and removing directories use signals so we can share
      	this list with the NautilusTrashFile.
      
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(add_directory_callback), (remove_directory_callback),
      	(nautilus_trash_file_initialize), (trash_destroy):
      	Use a NautilusTrashDirectory object for the list of directories.
      
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	(vfs_file_monitor_add), (vfs_file_monitor_remove),
      	(vfs_file_call_when_ready), (vfs_file_cancel_call_when_ready),
      	(vfs_file_check_if_ready), (vfs_file_get_item_count),
      	(vfs_file_get_deep_counts), (nautilus_vfs_file_initialize_class):
      	Move the guts of these functions into the "VFS" subclass.
      
      	Other stuff:
      
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(find_directory_start), (find_directory_end),
      	(find_directory_callback), (add_volume), (remove_trash_volume):
      	Fix bug in the recently-added timed-wait, to handle the case where
      	the call is cancelled as well as the case where it succeeds or
      	fails.
      
      	* src/file-manager/fm-directory-view.c:
      	(zoomable_set_zoom_level_callback): Formatting tweak.
      
      	* src/nautilus-main.c: (main): Fix the FIXME.
      daee7ca5
  8. 09 Jan, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · b28b3cc1
      Darin Adler authored
      	A cut at an ability to build without Medusa, starting with a patch
      	that Eric Fischer wrote. This change is not fully tested.
      
      	Fixed bug 5513 ("nautilus --help" displays "Help options" twice).
      
      	* acconfig.h: Add HAVE_MEDUSA.
      	* configure.in: Add code to detect HAVE_MEDUSA.
      
      	* libnautilus-extensions/nautilus-customization-data.c:
      	(nautilus_customization_data_destroy), (load_name_map_hash_table):
      	Added a FIXME.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-trash-file.h:
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(nautilus_trash_file_initialize), (trash_destroy),
      	(nautilus_trash_file_initialize_class):
      	* libnautilus-extensions/nautilus-vfs-file.h:
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	(nautilus_vfs_file_initialize), (vfs_destroy),
      	(nautilus_vfs_file_initialize_class):
      	Initial cut at breaking out the special trash version of
      	NautilusFile. Sadly we need this as well as
      	NautilusTrashDirectory.
      
      	* src/file-manager/fm-search-list-view.c:
      	(load_location_callback): Add _() so things get localized and put
      	the code to compose the indexing message inside ifdef HAVE_MEDUSA.
      
      	* src/file-manager/nautilus-indexing-info.h:
      	* src/file-manager/nautilus-indexing-info.c:
      	Put HAVE_MEDUSA ifdefs around most of this file.
      	(get_text_for_progress_label): Mark string for translation.
      	(update_progress_display): Remove code to "handle" timeout left
      	around after dialog is destroyed.
      	(update_file_index_callback): Change error messages to be more
      	easily localizable. Use nautilus_error_dialog instead of
      	gnome_error_dialog.
      	(timeout_remove_callback): Get rid of the timeout when the object
      	is destroyed.
      	(show_index_progress_bar): Connect handler to get rid of the
      	timeout when the object is destroyed.
      	(show_indexing_info_dialog): Move code that puts up dialog into a
      	new function. Also use nautilus_gtk_window_present to put up a
      	window. Change the NautilusLabel to use line wrapping.
      	(show_search_service_not_available_dialog): Put this dialog in its
      	own function so you can use it multiple times.
      	(nautilus_indexing_info_request_reindex): Put HAVE_MEDUSA around
      	the content of this function.
      	(nautilus_indexing_info_get_last_index_time): Put HAVE_MEDUSA
      	around the function, with a small simple implementation for the
      	other case.
      	(nautilus_indexing_info_show_dialog): Put HAVE_MEDUSA around the
      	function, with a small invocation of the "not available" dialog.
      
      	* src/nautilus-main.c: (main): Remove redundant AUTOHELP.
      
      	* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
      	Fix emblem_name storage lifetime problem.
      
      	* src/file-manager/fm-icon-view.c: Whitespace tweak.
      b28b3cc1