1. 05 Jul, 2000 2 commits
    • Ramiro Estrugo's avatar
      Change file utilities special directory access functions to always return · 5ed6ea8a
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-directory.c:
      (construct_alternate_metafile_uri):
      * libnautilus-extensions/nautilus-file-utilities.c:
      (nautilus_make_path), (nautilus_get_user_directory),
      (nautilus_get_desktop_directory),
      (nautilus_get_user_main_directory),
      (nautilus_get_pixmap_directory):
      * libnautilus-extensions/nautilus-file-utilities.h:
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_register_for_ui):
      * libnautilus-extensions/nautilus-icon-factory.c:
      (get_themed_icon_file_path):
      * libnautilus-extensions/nautilus-preferences-item.c:
      (add_icon_themes):
      * src/file-manager/fm-properties-window.c: (get_property_names):
      * src/nautilus-application.c:
      (nautilus_application_check_user_directories):
      * src/nautilus-bookmark-list.c:
      (nautilus_bookmark_list_get_file_path):
      * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      * src/nautilus-first-time-druid.c: (druid_finished):
      * src/nautilus-property-browser.c:
      (nautilus_property_browser_drag_data_get), (make_drag_image),
      (remove_color), (remove_background), (remove_emblem),
      (get_xml_path), (add_background_to_browser), (add_color_to_file),
      (emblem_dialog_clicked), (make_properties_from_directory):
      Change file utilities special directory access functions to always
      return allocated strings.  Change all callers to match the new
      functions and free the results.
      
      Also change the file utilities functions to always create the
      special directories if needed.
      5ed6ea8a
    • Andy Hertzfeld's avatar
      first cut at the first-time preferences druid. It's still not hooked-up · eec7aa25
      Andy Hertzfeld authored
      
      	first cut at the first-time preferences druid.  It's still not
      	hooked-up yet and it's appearance needs some work.
      eec7aa25
  2. 01 Jul, 2000 1 commit
  3. 28 Jun, 2000 1 commit
    • Darin Adler's avatar
      Changed to use new call that's for receiving dropped images. · 711e7694
      Darin Adler authored
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_drag_data_received):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(receive_dropped_tile_image):
      	* src/nautilus-sidebar.c: (receive_dropped_uri_list):
      	Changed to use new call that's for receiving dropped images.
      
      	* src/nautilus-sidebar.c: (background_settings_changed_callback),
      	(background_appearance_changed_callback),
      	(background_reset_callback), (nautilus_sidebar_update_info):
      	Changed signal handlers to use the normal form instead of
      	connect_object. Changed the reset callback to stop the reset
      	signal from going any further now that there's a default handler
      	for reset.
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(background_reset_callback): Add a call to stop the reset signal
      	from going any further now that there's a default handler for
      	reset.
      
      	* libnautilus-extensions/nautilus-background.h:
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_initialize_class),
      	(nautilus_background_receive_dropped_background_image),
      	(nautilus_background_set_tile_image_uri),
      	(nautilus_background_reset), (nautilus_background_real_reset):
      	Made nautilus_background_reset set the color and image to NULL by
      	default instead of doing nothing. Also added a new call to receive
      	a dropped background image and only pay attention to the special
      	"reset" image name there instead of hacking it into
      	_set_tile_image_uri itself.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(find_message_label), (find_message_label_callback),
      	(show_message_box), (show_ok_box), (nautilus_info_dialog),
      	(nautilus_warning_dialog), (nautilus_error_dialog),
      	(clicked_callback), (nautilus_error_dialog_with_details),
      	(nautilus_yes_no_dialog): Change the API for stock dialogs
      	to be a little simpler, getting rid of the separate parented
      	variant. Also added a new dialog for errors that have a second
      	more detailed error message.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_show_no_choices_message):
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application_parented):
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_renaming_file), (fm_report_error_setting_group),
      	(fm_report_error_setting_owner),
      	(fm_report_error_setting_permissions):
      	* src/nautilus-property-browser.c: (emblem_image_file_changed),
      	(add_background_to_browser):
      	* src/nautilus-window-manage-views.c:
      	(handle_unreadable_location),
      	(nautilus_window_end_location_change_callback),
      	(report_content_view_failure_to_user):
      	* src/nautilus-window-menus.c: (show_bogus_bookmark_window):
      	Change to use new API for stock dialogs.
      
      	* src/nautilus-application.c: (create_factory),
      	(nautilus_application_initialize),
      	(nautilus_application_check_user_directories),
      	(nautilus_application_startup):
      	Moved OAF registration to application_startup and added some
      	error handling for the case where we have two copies of Nautilus.
      
      	* libnautilus-extensions/nautilus-file.h: Move get_mapped_uri
      	out of the "good part" of the header and add a FIXME.
      
      	* components/services/install/lib/.cvsignore:
      	Ignore some new generated files. Maybe some day I can get Eskil to
      	make these himself as he adds new things.
      711e7694
  4. 26 Jun, 2000 1 commit
    • Darin Adler's avatar
      Ignore some additional generated files. · 63bc589b
      Darin Adler authored
      	* components/services/install/command-line/.cvsignore:
      	* components/services/install/lib/.cvsignore:
      	Ignore some additional generated files.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	Moved stock dialog functions to nautilus-stock-dialogs.[ch].
      	(nautilus_gnome_canvas_item_request_update_deep),
      	(nautilus_gnome_canvas_request_update_all),
      	(nautilus_gnome_canvas_set_scroll_region),
      	(nautilus_gnome_canvas_set_scroll_region_left_justify):
      	Added a bunch of functions that were previously private inside
      	NautilusIconContainer.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_adjustment_set_value),
      	(nautilus_gtk_adjustment_clamp_value):
      	Added functions that treat the value range in a GtkAdjustment the
      	same way scroll bars do, taking the page size into account.
      
      	* libnautilus-extensions/nautilus-horizontal-splitter.h:
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_initialize),
      	(toggle_splitter_position),
      	(nautilus_horizontal_splitter_button_press),
      	(nautilus_horizontal_splitter_button_release):
      	Fixed logic so that splitter will only open or close if you both
      	click and release within the splitter itself.
      
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(icon_toggle_selected): Move icons to front when they are selected.
      	(set_scroll_region): Moved workaround that sets scroll region to
      	be large enough to fill the widget allocation into a function in
      	nautilus-gnome-extensions.h. In the process, I fixed the problem
      	where it would do the job wrong when the view was zoomed.
      	(lay_down_icons), (relayout), (reload_icon_positions):
      	Started work on sharing code between automatic layout of the entire
      	container and layout of new icons as the arrive.
      	(nautilus_icon_container_clear), (nautilus_icon_container_add):
      	Got started on the mechanism for laying out new icons as they arrive
      	in bunches instead of one at a time.
      
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	* src/file-manager/dfos-xfer.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-error-reporting.c:
      	* src/nautilus-application.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	Added includes to source files that use the stock dialogs.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(nautilus_timed_wait_stop), (convert_varargs_to_name_array),
      	(nautilus_simple_dialog), (turn_on_line_wrap_flag),
      	(turn_on_line_wrap_flag_callback), (show_ok_box),
      	(show_yes_no_box), (nautilus_info_dialog),
      	(nautilus_info_dialog_parented), (nautilus_warning_dialog),
      	(nautilus_warning_dialog_parented), (nautilus_error_dialog),
      	(nautilus_error_dialog_parented), (nautilus_yes_no_dialog),
      	(nautilus_yes_no_dialog_parented):
      	Moved all the stock dialog code in here.
      
      	* src/nautilus-sidebar-title.c: (update_icon): Only display the
      	icon when it's ready, instead of showing generic document icon
      	before that time.
      	(update_title), (update_more_info), (update_emblems),
      	(update_notes): Added FIXMEs about doing the same with other info.
      	(nautilus_sidebar_title_button_press_event): Added a FIXME to the
      	half-baked code in here.
      63bc589b
  5. 13 Jun, 2000 2 commits
    • Darin Adler's avatar
      Some build fixes. · 6efd7c1b
      Darin Adler authored
      	* acconfig.h:
      	* configure.in:
      	Removed the NAUTILUS_PREFIX that I added. I did it wrong.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_pixmap_file):
      	* components/hardware/nautilus-hardware-view.c:
      	(setup_overview_form):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(setup_form_title), (setup_signup_form), (setup_config_form):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(make_full_icon_path):
      	* src/nautilus-application.c: (display_caveat):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_initialize),
      	(nautilus_emblem_dialog_new), (make_category_link):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
      	Replaced most uses of gnome_pixmap_file on "nautilus/"
      	with a call to a new nautilus_pixmap_file in an attempt to
      	make installations where nautilus has a different prefix
      	from gnome-libs work. I now think this is a waste of time,
      	but Mathieu Lacage says this is still an improvement.
      
      	* components/help/Makefile.am:
      	* components/help/hyperbola-filefmt.c: (fmt_map_entry):
      	Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
      
      	* components/websearch/ntl-web-search.c:
      	(web_search_populate_engines):
      	Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_content_view_set_busy_cursor),
      	(mozilla_content_view_request_progress_change),
      	(mozilla_content_view_clear_busy_cursor),
      	(mozilla_load_location_callback), (bonobo_mozilla_callback),
      	(mozilla_merge_bonobo_items_callback),
      	(mozilla_title_changed_callback),
      	(mozilla_location_changed_callback), (mozilla_net_status_callback),
      	(mozilla_link_message_callback), (mozilla_progress_callback),
      	(mozilla_open_uri_callback):
      	Took a cut at fixing the Mozilla component for the new API.
      	Ramiro will have to take care of the rest.
      
      	* components/services/install/lib/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* libnautilus/Makefile.am:
      	Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
      	in the form of a patch by Martijn van Beers.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_user_main_directory),
      	(nautilus_get_pixmap_directory):
      	* libnautilus-extensions/nautilus-link-set.c:
      	(get_link_set_document):
      	* src/Makefile.am:
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_data_get), (make_drag_image),
      	(get_xml_path), (make_properties_from_directory):
      	* src/nautilus-link-set-window.c: (get_link_set_names):
      	* src/file-manager/Makefile.am:
      	* src/file-manager/fm-properties-window.c: (get_property_names):
      	Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_uri_from_local_path): Added a new helper function for
      	use when you have a path and need a URI. This does a better job
      	than just adding a "file://" on the front.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(get_first_callback), (nautilus_gtk_container_get_first_child):
      	* src/nautilus-window-toolbars.c: (setup_button):
      	* src/nautilus-window.c:
      	(replace_special_current_view_in_content_view_menu):
      	Implemented the first_child function and used it where appropriate.
      
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(add_icon_themes): Use nautilus_get_pixmap_directory intead of
      	misusing gnome_pixmap_file by calling it on a directory name.
      
      	* nautilus-installer/src/support.c: (create_pixmap),
      	(create_image): Added FIXMEs since it isn't clear if this code
      	will work with a Nautilus prefix that's not the same as the
      	gnome-libs prefix.
      
      	* Makefile.am: Tweaked white space.
      6efd7c1b
    • Darin Adler's avatar
      Renamed and changed around parameters for the basic operations on · 14aba5ce
      Darin Adler authored
      	views to simplify and clarify Nautilus. Later we will be able to
      	clean up the state machine.
      
      	Some "theoretical" stuff may be lost in this process, but we can
      	easily re-add what we really need. The old stuff had many
      	unimplemented placeholders and half-baked ideas.
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level):
      	* src/nautilus-applicable-views.c: (got_file_info_callback),
      	(got_metadata_callback), (nautilus_navigation_info_new),
      	(nautilus_navigation_info_free):
      	* src/nautilus-applicable-views.h:
      	* src/nautilus-view-frame-bonobo-control.c:
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client), (bonobo_control_load_location):
      	* src/nautilus-view-frame-bonobo-embeddable.c:
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_open_location),
      	(impl_Nautilus_ViewFrame_open_location_in_new_window),
      	(impl_Nautilus_ViewFrame_report_location_change),
      	(impl_Nautilus_ViewFrame_report_selection_change),
      	(impl_Nautilus_ViewFrame_report_status),
      	(impl_Nautilus_ViewFrame_report_load_underway),
      	(impl_Nautilus_ViewFrame_report_load_progress),
      	(impl_Nautilus_ViewFrame_report_load_complete),
      	(impl_Nautilus_ViewFrame_report_load_failed),
      	(impl_Nautilus_ViewFrame_set_title):
      	* src/nautilus-view-frame-nautilus-view.c:
      	(nautilus_view_try_load_client), (load_location), (stop_loading),
      	(selection_changed):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_new), (nautilus_view_frame_load_client),
      	(nautilus_view_frame_load_location),
      	(nautilus_view_frame_stop_loading),
      	(nautilus_view_frame_selection_changed),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_open_location),
      	(nautilus_view_frame_open_location_in_new_window),
      	(nautilus_view_frame_report_location_change),
      	(nautilus_view_frame_report_selection_change),
      	(nautilus_view_frame_report_status),
      	(nautilus_view_frame_report_load_underway),
      	(nautilus_view_frame_report_load_progress),
      	(nautilus_view_frame_report_load_complete),
      	(nautilus_view_frame_report_load_failed),
      	(nautilus_view_frame_set_title),
      	(nautilus_view_frame_zoom_level_changed):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-zoomable-frame-corba.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_zoom_level_changed):
      	Changed the API and added a ton of comments.
      
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(hardware_view_load_location_callback):
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_load_location),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/nautilus-history-view.c:
      	(hyperbola_navigation_history_load_location),
      	(hyperbola_navigation_history_select_row), (make_obj):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(loser_load_location_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_load_location_callback):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize),
      	(music_view_load_location_callback):
      	* components/notes/nautilus-notes.c: (notes_load_location),
      	(make_notes_view):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (go_to_button_callback),
      	(rpm_view_load_location_callback):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(sample_load_location_callback):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(service_load_location_callback):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
      	(trilobite_eazel_time_view_initialize), (load_location_callback):
      	* components/websearch/ntl-web-search.c: (do_search), (make_obj):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_switch_location),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(load_location_callback), (selection_changed_callback),
      	(stop_loading_callback), (done_loading), (finish_loading_uri):
      	Switch components to use the new API.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	Added a placeholder for a new operation to get the first child of a
      	container. This will be way more efficient than all the code that
      	gets a list of all the children and then looks at the first one.
      
      	* src/nautilus-application.c: (manufactures), (create_object),
      	(create_factory), (nautilus_application_initialize_class),
      	(nautilus_application_initialize), (nautilus_application_new),
      	(nautilus_application_destroy),
      	(nautilus_application_check_user_directories),
      	(nautilus_application_startup),
      	(nautilus_application_destroy_window), (nautilus_application_quit),
      	(nautilus_application_create_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-main.c: (main):
      	Renamed NautilusApp -> NautilusApplication while changing it around.
      
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	Add a blank line.
      
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c: (compare_strings),
      	(nautilus_window_report_selection_change): Changed code so that it
      	won't report the same selection change twice.
      	(nautilus_window_report_status),
      	(nautilus_window_report_load_underway),
      	(nautilus_window_report_load_progress),
      	(nautilus_window_report_load_complete),
      	(nautilus_window_report_load_failed), (compute_default_title),
      	(nautilus_window_set_title), (handle_go_back), (handle_go_forward),
      	(handle_go_elsewhere), (update_up_button),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed),
      	(nautilus_window_has_really_changed),
      	(nautilus_window_load_sidebar_panel), (open_location),
      	(nautilus_window_open_location),
      	(nautilus_window_open_location_in_new_window),
      	(nautilus_window_report_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state),
      	(nautilus_window_end_location_change_callback),
      	(nautilus_window_begin_location_change): Updated everything for the
      	new API.
      
      	* src/nautilus-window-menus.c: (file_menu_new_window_callback),
      	(edit_menu_undo_callback), (edit_menu_cut_callback),
      	(edit_menu_copy_callback), (edit_menu_paste_callback),
      	(edit_menu_clear_callback), (append_bookmark_to_menu),
      	(clear_appended_bookmark_items),
      	(nautilus_window_add_bookmark_for_current_location),
      	(append_separator), (new_top_level_menu),
      	(nautilus_window_initialize_menus), (update_user_level_menu_items):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-toolbars.c: (setup_button),
      	(nautilus_window_initialize_toolbars),
      	(nautilus_window_toolbar_remove_theme_callback):
      	* src/nautilus-window.c: (nautilus_window_class_init),
      	(nautilus_window_goto_uri), (nautilus_window_constructed),
      	(nautilus_window_set_arg), (nautilus_window_get_arg),
      	(nautilus_window_destroy), (nautilus_window_switch_views),
      	(view_menu_choose_view_callback),
      	(nautilus_window_load_content_view_menu),
      	(nautilus_window_back_or_forward), (nautilus_window_go_up),
      	(nautilus_window_allow_back), (nautilus_window_allow_forward),
      	(nautilus_window_allow_up),
      	(nautilus_window_open_location_callback),
      	(nautilus_window_open_location_in_new_window_callback),
      	(nautilus_window_report_location_change_callback),
      	(nautilus_window_report_selection_change_callback),
      	(nautilus_window_report_status_callback),
      	(nautilus_window_report_load_underway_callback),
      	(nautilus_window_report_load_progress_callback),
      	(nautilus_window_report_load_complete_callback),
      	(nautilus_window_report_load_failed_callback),
      	(nautilus_window_set_title_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view), (nautilus_window_reload),
      	(window_update_sidebar_panels_from_preferences):
      	* src/nautilus-window.h:
      	Other changes related to the API switchover.
      
      	* src/nautilus.oafinfo: Changed the ntl-xx iids to use the work
      	nautilus instead.
      14aba5ce
  6. 08 Jun, 2000 1 commit
    • Darin Adler's avatar
      Leak-checking-related fixes. · f94c3b49
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c: (destroy):
      	Fixed a storage leak (we weren't freeing file->details).
      	* libnautilus-extensions/nautilus-self-checks.c:
      	(nautilus_check_string_result): Fixed a storage leak.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_done), (metafile_read_failed),
      	(metafile_read_complete): Added some asserts.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_self_check_directory): Added one more "assert".
      
      	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
      	(nautilus_run_lib_self_checks): Formatting tweaks.
      	* nautilus-widgets/nautilus-widgets-self-check-functions.c:
      	(nautilus_widgets_run_self_checks): Formatting tweaks.
      
      	* nautilus-widgets/nautilus-preference.c:
      	(nautilus_widgets_self_check_preference): Made the test
      	not repeat things so many times. It doesn't help find the
      	leaks, it actually hurts :-)
      
      	* src/nautilus-application.c: (nautilus_app_quit):
      	* src/nautilus-main.c: (main):
      	Moved the gnome_vfs_shutdown out to the main loop instead of
      	putting it inside nautilus-application.c since that matches
      	how we do the initializing.
      f94c3b49
  7. 07 Jun, 2000 1 commit
    • Darin Adler's avatar
      The main change here is revamping the undo manager. · 62ae0377
      Darin Adler authored
      	To get a complete check-out you might have to delete
      	the file named libnautilus/nautilus-undo.h that used
      	to be a generated file and is now checked-in.
      
      	* components/help/help-method.c: (vfs_module_transform):
      	Removed a bogus extraneous FIXME.
      
      	* libnautilus-extensions/Makefile.am:
      	Moved the undo manager into libnautilus-extensions
      	since it's not needed by Nautilus components.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* libnautilus/nautilus-view.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c:
      	Updated includes and a few small function name changes.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(alive_disconnecter),
      	(nautilus_gtk_signal_connect_full_while_alive):
      	Added a new function that combines the features of
      	gtk_signal_connect_full with gtk_signal_connect_while_alive.
      
      	* libnautilus/nautilus-undo-context.h: [removed]
      	* libnautilus/nautilus-undo-context.c: [removed]
      	* libnautilus-extensions/nautilus-undo-context.h:
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__destroy),
      	(impl_Nautilus_Undo_Context__create),
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (destroy),
      	(nautilus_undo_context_initialize_class):
      	Rewrote this class to simplify it (after moving it here).
      
      	* libnautilus/nautilus-undo-manager.h: [removed]
      	* libnautilus/nautilus-undo-manager.c: [removed]
      	* libnautilus/nautilus-undo-manager-private.h: [removed]
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__destroy),
      	(impl_Nautilus_Undo_Manager__create),
      	(impl_Nautilus_Undo_Manager__append),
      	(impl_Nautilus_Undo_Manager__forget),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_undo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_forget_transaction),
      	(nautilus_undo_manager_set_queue_depth),
      	(nautilus_undo_manager_attach),
      	(nautilus_undo_manager_add_interface), (update_undo_menu_item),
      	(undo_menu_handler_connection_free),
      	(undo_menu_handler_connection_free_cover),
      	(nautilus_undo_manager_set_up_bonobo_ui_handler_undo_item):
      	Rewrote this class to simplify it. Got rid of many old
      	interfaces and added some new ones.
      
      	* libnautilus/.cvsignore:
      	* libnautilus/Makefile.am:
      	Renamed the old nautilus-undo.idl to
      	nautilus-distributed-undo.idl.  The IDL is only about the internal
      	part of the undo framework.  Clients use calls that are in
      	nautilus-undo.h. The part that's public needs the prettier name.
      
      	* libnautilus/nautilus-undo.idl: [removed]
      	* libnautilus/nautilus-distributed-undo.idl:
      	Updated the names of menu-item-related things to better match the
      	standard terminology.
      
      	* libnautilus/nautilus-undo-private.h:
      	Added this new header for things needed by the undo manager that
      	are in libnautilus. Maybe we can eliminate this later.
      
      	* libnautilus/nautilus-undo-transaction.h:
      	* libnautilus/nautilus-undo-transaction.c:
      	(impl_Nautilus_Undo_Transaction__destroy),
      	(impl_Nautilus_Undo_Transaction__create),
      	(impl_Nautilus_Undo_Transaction__get_undo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_redo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_operation_name),
      	(impl_Nautilus_Undo_Transaction__undo),
      	(nautilus_undo_transaction_new),
      	(nautilus_undo_transaction_initialize),
      	(remove_transaction_from_object),
      	(nautilus_undo_transaction_destroy),
      	(nautilus_undo_transaction_initialize_class),
      	(nautilus_undo_transaction_add_atom),
      	(nautilus_undo_transaction_undo),
      	(nautilus_undo_transaction_add_to_undo_manager), (remove_atoms),
      	(remove_atoms_cover),
      	(nautilus_undo_transaction_unregister_object), (undo_atom_free),
      	(undo_atom_undo_and_free), (undo_atom_free_cover),
      	(undo_atom_undo_and_free_cover), (undo_atom_list_free),
      	(undo_atom_list_undo_and_free):
      	Rewrote and simplified this class and got rid of all uses of
      	NautilusUndoable.
      
      	* libnautilus/nautilus-undoable.h: [removed]
      	* libnautilus/nautilus-undoable.c: [removed]
      	* libnautilus/nautilus-undo.h:
      	* libnautilus/nautilus-undo.c: (nautilus_undo_register),
      	(nautilus_undo_register_full), (nautilus_undo_unregister),
      	(nautilus_undo), (nautilus_undo_get_undo_manager),
      	(undo_manager_ref), (undo_manager_unref),
      	(undo_manager_unref_cover), (nautilus_undo_attach_undo_manager),
      	(nautilus_undo_share_undo_manager), (set_up_bonobo_control),
      	(nautilus_undo_set_up_bonobo_control):
      	Added this new file with the public interface of the undo code and
      	most of the basic implementation. Most of this was previously in
      	nautilus-undoable.c.
      
      	* nautilus-widgets/nautilus-preferences.c:
      	(preferences_hash_node_free), (preferences_hash_node_add_callback),
      	(preferences_hash_node_remove_callback),
      	(preferences_hash_node_check_changes_func),
      	(preferences_callback_node_alloc),
      	(preferences_callback_node_free),
      	(preferences_callback_node_free_func),
      	(preferences_callback_node_invoke_func),
      	(preferences_gconf_callback):
      	Fixed a repeated spelling error in this file.
      
      	* src/nautilus-application.c: (nautilus_app_init):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus):
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Changed to use public parts of the undo API instead of the old
      	stuff that used private secret stuff. Many places use nice new
      	convenient calls that do a lot of the work for you.
      62ae0377
  8. 06 Jun, 2000 1 commit
    • John Sullivan's avatar
      Added bug numbers to FIXMEs. · 4d83a5d8
      John Sullivan authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_type_as_string):
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_control_activate_callback), (new_folder_done),
      	(fm_directory_view_real_create_background_context_menu_items):
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
      	* src/nautilus-application.c: (nautilus_app_startup):
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new), (realize):
      	* src/nautilus-property-browser.c: (remove_background),
      	(remove_emblem), (add_background_to_browser):
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame-bonobo-embeddable.c:
      	(bonobo_subdoc_notify_location_change):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Added bug numbers to FIXMEs.
      4d83a5d8
  9. 05 Jun, 2000 1 commit
    • Ramiro Estrugo's avatar
      Bug 647. Should report missing special directories to user. · 5aef445a
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-file-utilities.c:
      (nautilus_get_user_directory), (nautilus_get_desktop_directory),
      (nautilus_get_user_main_directory):
      Fixed uninitialized static pointers.  Remove FIXME blurbs are
      error checking happens "above" in nautilus-application now.
      
      * src/nautilus-application.c:
      (nautilus_app_check_user_directories), (nautilus_app_startup):
      Add error checking for missing user directories with appropiate
      FIXME for current bad names for these dirs.
      5aef445a
  10. 31 May, 2000 3 commits
    • Darin Adler's avatar
      Make a new window even when you say --manage-desktop for now, because · 3daa4850
      Darin Adler authored
      	* src/nautilus-application.c: (nautilus_app_startup):
      	Make a new window even when you say --manage-desktop for now,
      	because closing the last window or Quit is the only way to get
      	rid of the desktop until we do some more work on it.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Always open in a new window when starting with the desktop.
      
      	* src/nautilus-window.c: (nautilus_window_goto_uri_callback),
      	(nautilus_window_constructed): Tiny formatting tweak.
      3daa4850
    • Darin Adler's avatar
      Another cut on the desktop. Way closer. · 91fc8d21
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-generous-bin.h:
      	* libnautilus-extensions/nautilus-generous-bin.c:
      	Added a new class NautilusGenerousBin. This is a GtkBin
      	subclass that gives its entire allocation to its child.
      	Used both in the widgetry for desktop windows and as a
      	base class for NautilusViewFrame for now.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(turn_on_line_wrap_flag), (turn_on_line_wrap_flag_callback):
      	Changed to use gtk_container_foreach instead of the old
      	gtk_container_children, since I now understand that the
      	latter is just a convenience cover for the former.
      
      	* src/Makefile.am:
      	* src/nautilus-window-state.c: [removed]
      	* src/nautilus-window-state.h: [removed]
      	The only function in here was a wonky one that did goto_uri
      	of go_home depending on the parameter. Changed the callers
      	and things got clearer anyway.
      
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (display_caveat),
      	(nautilus_app_startup):
      	* src/nautilus-main.c: (main):
      	Changed rules about which windows are created on startup. This
      	puts us into a slightly bad state because it's now easy to
      	create a desktop window with no way to get rid of it.
      
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize), (destroy), (realize):
      	A better cut at the desktop window creation that now mostly works.
      
      	* src/nautilus-main.c: (main):
      	Changed the "--desktop" option's name to "--manage-desktop".
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_initialize),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy),
      	(nautilus_view_frame_construct_arg_set):
      	Changed to use NautilusGenerousBin as base class. Also use the
      	Nautilus boilerplate macros.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Use goto_uri instead of set_initial_state.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_go_home):
      	Make go_home public and move the actual code needed to go to the
      	home package into the function.
      
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Reduced the amount of hackery on behalf of the desktop window and
      	used the NautilusGenerousBin class.
      91fc8d21
    • Darin Adler's avatar
      Small updates. · a0095deb
      Darin Adler authored
      	* RENAMING: Small updates.
      
      	* components/help/converters/gnome-info2html2/main.c: (main):
      	* components/html/glibwww-init.c: (glibwww_parse_proxy_env):
      	* components/html/ntl-web-browser.c: (main):
      	* components/loser/content/nautilus-content-loser.c:
      	(ensure_fail_env):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(ensure_fail_env):
      	* components/notes/nautilus-notes.c: (main):
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(get_lang_list):
      	* src/nautilus-application.c: (nautilus_app_startup):
      	* src/nautilus-main.c: (main):
      	Changed from getenv to g_getenv, even though it makes no
      	difference right now, because it's "the right thing to do (tm)".
      
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
      	Fixed include (the build was broken for me or anyone who doesn't
      	have old .h files sitting around in their install directory).
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(construct_alternate_metafile_uri):
      	Use nautilus_get_user_directory instead of hard-coding the name
      	of the user directory.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_user_directory), (nautilus_get_user_main_directory):
      	Use #defines instead of global constants since these are things
      	that do not change and this is not C++ :-) Added "get_" to the
      	names of these functions so they would be verbs instead of nouns.
      	(nautilus_get_desktop_directory): Added this new function for use
      	by the desktop code.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      	(nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers),
      	(global_preferences_register_sidebar_panels_preferences_for_ui):
      	* libnautilus-extensions/nautilus-view-identifier.h:
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_list_free):
      	* src/nautilus-applicable-views.c: (nautilus_navigation_info_free):
      	Changed nautilus_view_identifier_free_list to *_list_free to match
      	other calls with similar names.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(user_level_changed_callback):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_themed_icon_file_path):
      	* src/file-manager/fm-properties-window.c: (get_property_names):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_get_file_path):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_data_get), (make_drag_image),
      	(remove_color), (remove_background), (remove_emblem),
      	(get_xml_path), (add_background_to_browser), (add_color_to_file),
      	(emblem_dialog_clicked), (make_properties_from_directory):
      	Change to use directory calls by new "get_" names.
      
      	* src/Makefile.am: Removed nautilus.h since it is long gone,
      	and fixed spelling of nautlus-window-state.h.
      
      	* src/file-manager/.cvsignore: Stop ignoring things that we
      	no longer generated.
      
      	* src/file-manager/desktop-item.c: [removed]
      	* src/file-manager/desktop-item.h: [removed]
      	* src/file-manager/desktop-layout.c: [removed]
      	* src/file-manager/desktop-layout.h: [removed]
      	* src/file-manager/desktop-window.c: [removed]
      	* src/file-manager/desktop-window.h: [removed]
      	The rest of the code has been harvested from the desktop
      	implementation. As I said before we can always recover it if we
      	decide we want to reuse it.
      
      	* src/file-manager/fm-main.c: [removed]
      	This was no longer used and was getting out of date. The file manager
      	is now compiled in rather than being a separate process.
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new), (realize):
      	Another cut at the desktop code. Still not working too well,
      	but way further along.
      
      	* src/nautilus-sidebar.h:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_handle_client_destroy_2):
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c:
      	* src/nautilus-window-private.h:
      	Changed the names to use Sidebar instead of IndexPanel.
      	Also changed to say sidebar panel instead of meta view in many
      	places.
      a0095deb
  11. 30 May, 2000 1 commit
    • Ramiro Estrugo's avatar
      Change preferences startup code to occur in only one place. · 9a05e06f
      Ramiro Estrugo authored
      * components/history/nautilus-history-view.c: (main):
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_startup):
      * libnautilus-extensions/nautilus-global-preferences.h:
      * src/nautilus-application.c: (nautilus_app_class_init):
      * src/nautilus-main.c: (main):
      
      Change preferences startup code to occur in only one place.
      9a05e06f
  12. 28 May, 2000 1 commit
    • Pavel Cisler's avatar
      Used the fixed-up gnome_vfs_shutdown to properly synchronize with GnomeVFS · 3bc14c44
      Pavel Cisler authored
      2000-05-27  Pavel Cisler  <pavel@eazel.com>
      
      	* src/nautilus-application.c: (nautilus_app_quit):
      	Used the fixed-up gnome_vfs_shutdown to properly synchronize
      	with GnomeVFS threads that are still finishing up. Got rid of
      	nautilus_app_real_quit and the other hacky code that I used
      	to do this before gnome_vfs_shutdown was working properly.
      	Got rid of a bunch of FIXMEs that are now take care of.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(cancel_directory_counts), (top_left_read_close),
      	(cancel_top_left_read), (nautilus_metafile_read_cancel),
      	(start_getting_directory_counts), (start_getting_top_lefts):
      	Added cancel calls to the different GnomeVFS async tasks that
      	can be running when opening a Nautilus window, called them
      	from the NautilusDirectory destroy call.
      
      	Nautilus now shuts down GnomeVFS jobs cleanly during a quit.
      	There is still a problem where in some cases it will take a
      	while before the async jobs go away. This seems to be because
      	the corresponding NautilusDirectory doesn't get destroyed right
      	away when a window is closed. I need to get Darin to help me fix
      	this.
      3bc14c44
  13. 27 May, 2000 2 commits
    • Maciej Stachowiak's avatar
      components/history/ntl-history-view.c -> · a15fd9f8
      Maciej Stachowiak authored
      	* Renamed files as follows, as per RENAMING:
      	components/history/ntl-history-view.c -> components/history/nautilus-history-view.c
      	components/history/ntl-history-view.oafinfo -> components/history/nautilus-history-view.oafinfo
      	components/notes/ntl-notes.c -> components/notes/nautilus-notes.c
      	components/notes/ntl-notes.oafinfo -> components/notes/nautilus-notes.oafinfo
      	libnautilus-extensions/gtkscrollframe.c -> libnautilus-extensions/nautilus-scroll-frame.c
      	libnautilus-extensions/gtkscrollframe.h -> libnautilus-extensions/nautilus-scroll-frame.h
      	libnautilus/nautilus-view-frame.c -> libnautilus/nautilus-view.c
      	libnautilus/nautilus-view-frame.h -> libnautilus/nautilus-view.h
      	src/nautilus-index-tabs.c -> src/nautilus-sidebar-tabs.c
      	src/nautilus-index-tabs.h -> src/nautilus-sidebar-tabs.h
      	src/nautilus-index-title.c -> src/nautilus-sidebar-title.c
      	src/nautilus-index-title.h -> src/nautilus-sidebar-title.h
      	src/nautilus-zoomable-frame-svr.c -> src/nautilus-zoomable-frame-corba.c
      	src/ntl-app.c -> src/nautilus-application.c
      	src/ntl-app.h -> src/nautilus-application.h
      	src/ntl-index-panel.c -> src/nautilus-sidebar.c
      	src/ntl-index-panel.h -> src/nautilus-sidebar.h
      	src/ntl-main.c -> src/nautilus-main.c
      	src/ntl-miniicon.c -> libnautilus-extensions/nautilus-mini-icon.c
      	src/ntl-miniicon.h -> libnautilus-extensions/nautilus-mini-icon.h
      	src/ntl-uri-map.c -> src/nautilus-applicable-views.c
      	src/ntl-uri-map.h -> src/nautilus-applicable-views.h
      	src/ntl-view-bonobo-control.c -> src/nautilus-view-frame-bonobo-control.c
      	src/ntl-view-bonobo-subdoc.c -> src/nautilus-view-frame-bonobo-embeddable.c
      	src/ntl-view-frame-svr.c -> src/nautilus-view-frame-corba.c
      	src/ntl-view-nautilus.c -> src/nautilus-view-frame-nautilus-view.c
      	src/ntl-view-private.h -> src/nautilus-view-frame-private.h
      	src/ntl-view.c -> src/nautilus-view-frame.c
      	src/ntl-view.h -> src/nautilus-view-frame.h
      	src/ntl-window-msgs.c -> src/nautilus-window-manage-views.c
      	src/ntl-window-msgs.h -> src/nautilus-window-manage-views.h
      	src/ntl-window-private.h -> src/nautilus-window-private.h
      	src/ntl-window-state.c -> src/nautilus-window-state.c
      	src/ntl-window-state.h -> src/nautilus-window-state.h
      	src/ntl-window.c -> src/nautilus-window.c
      	src/ntl-window.h -> src/nautilus-window.h
      
      	* components/history/Makefile.am, components/notes/Makefile.am,
      	libnautilus-extensions/Makefile.am, libnautilus/Makefile.am,
      	po/POTFILES.in, src/Makefile.am,
      	components/hardware/nautilus-hardware-view.h,
      	components/loser/content/nautilus-content-loser.h,
      	components/loser/sidebar/nautilus-sidebar-loser.h,
      	components/mozilla/nautilus-mozilla-content-view.h,
      	components/music/nautilus-music-view.h,
      	components/rpmview/nautilus-rpm-view.h,
      	components/sample/nautilus-sample-content-view.h,
      	components/services/startup/nautilus-view/nautilus-service-startup-view.h,
      	libnautilus/libnautilus.h, src/nautilus-desktop-window.h,
      	src/nautilus-window-menus.c, src/nautilus-window-toolbars.c,
      	src/file-manager/fm-directory-view.h : Updated for renamings.
      
      	* RENAMING: removed old renamings
      a15fd9f8
    • Darin Adler's avatar
      A little more desktop window work. · 63d4a318
      Darin Adler authored
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new):
      	* src/nautilus-desktop-window.h:
      	* src/ntl-app.c: (nautilus_app_startup), (nautilus_app_quit),
      	(nautilus_app_create_window):
      	* src/ntl-app.h:
      	* src/ntl-main.c: (main):
      	Made a desktop window that's created when you start the program
      	if you pass the --desktop option. At the moment it's a normal
      	window and not set up to take over the desktop.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_self_check_glib_extensions): Fixed some broken self-
      	checks. Now we have one really broken self-check in the
      	nautilus-directory.c file. I might turn that one off soon so we
      	can at least run the others.
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Changed how some of the macros work. Few of these macros were used
      	in Nautilus. I hope they aren't used in the Mozilla component,
      	because then I broke it.
      
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_motion),
      	(nautilus_list_column_title_button_press),
      	(nautilus_list_column_title_button_release):
      	Updated to use NAUTILUS_INVOKE_METHOD instead of NAUTILUS_KLASS,
      	because I renamed it to NAUTILUS_CLASS and had to change these
      	anyway.
      
      	A little sweep for code that should be using
      	CORBA_Object_is_nil instead of direct compares with
      	CORBA_OBJECT_NIL.
      
      	* components/html/main.c: (url_requested_cb):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_create):
      	* libnautilus/nautilus-undo-manager.c:
      	(set_up_bonobo_control):
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
      	(nautilus_undo_unregister), (nautilus_undo):
      	* src/file-manager/dfos.c: (dfos_new):
      	Switch to use CORBA_Object_is_nil.
      
      	* libnautilus/nautilus-undo-manager.c: (undo_manager_unref),
      	(nautilus_attach_undo_manager), (nautilus_share_undo_manager),
      	(set_up_bonobo_control):
      	Do some missing duplicate and release calls.
      
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_unregister):
      	Fix a place where we'd keep a reference to a freed list.
      	Change O(n^2) walk of list by index to O(n) walk by pointer.
      
      	* src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
      	Changed g_warning to a g_return_if_fail, which was designed for
      	cases just like this one.
      
      	* src/ntl-view-bonobo-subdoc.c:
      	(bonobo_subdoc_notify_location_change):
      	Put in a better version of the FIXME.
      
      	* RENAMING: More updates.
      63d4a318
  14. 26 May, 2000 3 commits
    • John Sullivan's avatar
      Added a missing space. · e52cc990
      John Sullivan authored
      2000-05-25  John Sullivan  <sullivan@eazel.com>
      
      	* src/ntl-app.c: (display_caveat): Added a missing space.
      
      
      	More work on the "Open with Other" dialogs. Most of
      	the UI features are present now, but they don't do
      	anything since there's no API to call yet.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h,
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_clist_get_first_selected_row),
      	(nautilus_gtk_clist_get_last_selected_row):
      	Moved these functions to here from NautilusList, since
      	they only require a GtkCList and I needed to use one
      	of them outside of NautilusList.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_get_first_selected_row),
      	(nautilus_list_get_last_selected_row),
      	(nautilus_list_keyboard_navigation_key_press),
      	(nautilus_list_new_with_titles):
      	Removed get_first and get_last_selected_row, and updated
      	callers to call new nautilus_gtk_clist versions.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list), (nautilus_program_chooser_get_file),
      	(nautilus_program_chooser_get_clist),
      	(nautilus_program_chooser_get_frame),
      	(nautilus_program_chooser_get_status_label),
      	(nautilus_program_chooser_set_file),
      	(nautilus_program_chooser_set_clist),
      	(nautilus_program_chooser_set_frame),
      	(nautilus_program_chooser_set_status_label), (is_in_short_list),
      	(is_in_metadata_list), (update_selected_item_details),
      	(program_list_selection_changed_callback), (pack_radio_button),
      	(run_program_configurator_callback),
      	(nautilus_program_chooser_new):
      	Whole bunch of changes to push the "Open with Other" dialogs
      	closer to reality.
      
      	* src/ntl-window.c:
      	(view_menu_choose_view_callback): Comment changes only.
      	(nautilus_window_load_content_view_menu): Changed menu item
      	text from "View as ..." to "View as Other..."
      e52cc990
    • Darin Adler's avatar
      I am getting a little careless. This must end. · 082b0a23
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission): Fixed some checks
      	that I had reversed.
      
      	* src/ntl-app.c: (display_caveat): Took out some test code I
      	checked in.
      082b0a23
    • Darin Adler's avatar
      Made the permission check match the Unix access model. Maciej points out · 0e9ba92d
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission),
      	(nautilus_file_can_set_permissions): Made the permission check
      	match the Unix access model. Maciej points out that this is
      	still not good enough, and Pavel points out that bug 458 is
      	about just this problem.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(turn_on_line_wrap_flag): Got rid of a bad g_free that was
      	trashing memory when locating the label for line wrapping.
      
      	* src/ntl-app.c: (display_caveat): Used line wrapping, now that
      	I know wrapping wasn't the cause of the bug before.
      0e9ba92d
  15. 25 May, 2000 2 commits
    • Darin Adler's avatar
      [removed] [removed] · 346de152
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/loser/content/nautilus-content-loser.h:
      	* components/loser/sidebar/main.c: (loser_make_object):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/mozilla/main.c: (mozilla_make_object):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_content_view_request_progress_change),
      	(mozilla_content_view_request_location_change),
      	(mozilla_notify_location_change_callback),
      	(mozilla_title_changed_callback), (mozilla_link_message_callback):
      	* components/mozilla/nautilus-mozilla-content-view.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (click_column_callback),
      	(music_view_notify_location_change_callback),
      	(nautilus_music_view_drag_data_received):
      	* components/music/nautilus-music-view.h:
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize),
      	(rpm_view_notify_location_change_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	* components/sample/main.c: (sample_make_object):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(sample_notify_location_change_callback):
      	* components/sample/nautilus-sample-content-view.h:
      	* components/services/startup/nautilus-view/main.c:
      	(services_make_object):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* libnautilus/Makefile.am:
      	* libnautilus/libnautilus.h:
      	* libnautilus/nautilus-content-view-frame.c: [removed]
      	* libnautilus/nautilus-content-view-frame.h: [removed]
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view-frame-private.h:
      	* libnautilus/nautilus-view-frame.c:
      	(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
      	(impl_Nautilus_View_notify_location_change),
      	(impl_Nautilus_View_show_properties),
      	(impl_Nautilus_View_notify_selection_change),
      	(impl_Nautilus_View_stop_location_change),
      	(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
      	(nautilus_view_initialize_class), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(get_view_frame), (nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_request_title_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window):
      	* libnautilus/nautilus-view-frame.h:
      	* src/Makefile.am:
      	* src/file-manager/fm-directory-view.c: (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback), (stop_location_change_callback),
      	(done_loading), (fm_directory_view_activate_file_internal),
      	(finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object):
      	* src/ntl-content-view.c: [removed]
      	* src/ntl-content-view.h: [removed]
      	* src/ntl-uri-map.c: (make_oaf_query_with_known_mime_type),
      	(make_oaf_query_with_uri_scheme_only):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame__get_main_window),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change),
      	(impl_Nautilus_ViewFrame_request_title_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_class_init),
      	(nautilus_view_frame_set_arg), (nautilus_view_frame_get_arg),
      	(nautilus_view_frame_request_location_change),
      	(nautilus_view_frame_request_selection_change),
      	(nautilus_view_frame_request_status_change),
      	(nautilus_view_frame_request_progress_change),
      	(nautilus_view_frame_request_title_change),
      	(nautilus_view_frame_set_label), (nautilus_view_frame_activate):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_request_title_change),
      	(nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c:
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	Got rid of ContentView and ContentViewFrame.
      346de152
    • John Sullivan's avatar
      Made the startup caveat window look cool. Everyone who set an environment · 8bea55d8
      John Sullivan authored
      	* src/ntl-app.c: (display_caveat): Made the startup caveat
      	window look cool. Everyone who set an environment variable
      	to avoid it will now be sad.
      8bea55d8
  16. 24 May, 2000 3 commits
    • John Sullivan's avatar
      Round one of caveat dialog improvement. I managed to get it to be modeless · e241de15
      John Sullivan authored
      	* src/ntl-app.c: (display_caveat), (nautilus_app_startup):
      	Round one of caveat dialog improvement. I managed to get it
      	to be modeless and come up in front of the Nautilus window.
      	The word-wrapping had to be done by hand to work around
      	unsolved bug (963). The next round will involve using Arlo's
      	cool picture.
      e241de15
    • Darin Adler's avatar
      Moved to make clear that popt must build first. · 3f2b83b1
      Darin Adler authored
      	* HACKING: Moved to make clear that popt must build first.
      
      	* RENAMING: Added some new file renamings.
      
      	* src/nautilus-zoomable-frame-svr.c:
      	* src/nautilus.h: [removed]
      	* src/ntl-app.c:
      	* src/ntl-main.c:
      	* src/ntl-meta-view.c:
      	* src/ntl-types.h: [removed]
      	* src/ntl-uri-map.c:
      	* src/ntl-view-bonobo-control.c:
      	* src/ntl-view-bonobo-subdoc.c:
      	* src/ntl-view-frame-svr.c:
      	* src/ntl-view-nautilus.c:
      	* src/ntl-view-private.h:
      	* src/ntl-view.c:
      	* src/ntl-window-msgs.c:
      	* src/ntl-window-state.c:
      	* src/ntl-window.c:
      	Got rid of "nautilus.h" and "ntl-types.h".
      
      	* libnautilus/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__destroy),
      	(impl_Nautilus_Undo_Context__create),
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (nautilus_undo_context_initialize),
      	(destroy):
      	* libnautilus/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__destroy),
      	(impl_Nautilus_Undo_Manager__create),
      	(impl_Nautilus_Undo_Manager__append),
      	(impl_Nautilus_Undo_Manager__forget),
      	(impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo),
      	(destroy), (nautilus_undo_manager_enable_redo),
      	(nautilus_undo_manager_set_queue_depth), (free_undo_manager_list):
      	Various code cleanups. Specifically, get rid of unused
      	bonobo_object and rename gtk_object to bonobo_object.
      	Get rid of some yucky function pointer casts.
      
      	* src/ntl-app.c: (nautilus_app_init):
      	Got rid of bogus extra ref.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new): Reindent part just to annoy John.
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application): Newline at end of file (ugh).
      
      	* src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
      3f2b83b1
    • Gene Z. Ragan's avatar
      Added call to CORBA_Object_duplicate(). This fixed an explosive bug. · 539ae559
      Gene Z. Ragan authored
      2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__get_undo_manager):
      	Added call to CORBA_Object_duplicate().  This
      	fixed an explosive bug.
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	(nautilus_undo_manager_stash_global_undo),
      	(nautilus_undo_manager_get_global_undo):
      	New functions to save application global instance of Nautilus_Undo_Manager
      
      	* src/ntl-app.c: (nautilus_app_init):
      	Add call to nautilus_undo_manager_stash_global_undo.
      
      	* src/ntl-view.c:
      	(nautilus_view_frame_load_client):
      	Coonected Nautilus_Undo_Context interface to view frame.
      539ae559
  17. 23 May, 2000 5 commits
    • Darin Adler's avatar
      The ViewFrame <-> View renaming. · 8ce35298
      Darin Adler authored
      	We still have to rename the files.
      
      	* RENAMING: Put in explicit cases for file name renaming.
      
      	* src/Makefile.am:
      	* src/nautilus-desktop-window.c:
      	* src/nautilus-desktop-window.h:
      	Added placeholders. I'll be putting code in here soon.
      
      	* src/ntl-app.c: (display_prototype_caveat):
      	Changed to use nautilus_simple_dialog again since otherwise it
      	comes up behind the main window. Perhaps someone will resolve
      	that issue and change it back.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_warning_dialog), (nautilus_warning_dialog_parented):
      	Added centered version of the warning dialog as well, since
      	Eskil was using gnome_warning_dialog in a case where he really
      	wanted lines wrapped.
      
      	* components/loser/.cvsignore:
      	* components/loser/content/.cvsignore:
      	* components/loser/sidebar/.cvsignore:
      	Ignore some generated files.
      
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(nautilus_hardware_view_destroy),
      	(nautilus_hardware_view_get_nautilus_view),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row),
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_notify_location_change),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/ntl-history-view.c:
      	(hyperbola_navigation_history_notify_location_change),
      	(hyperbola_navigation_history_select_row), (make_obj):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(nautilus_content_loser_destroy),
      	(nautilus_content_loser_get_nautilus_view),
      	(nautilus_content_loser_load_uri),
      	(loser_notify_location_change_callback), (bonobo_loser_callback):
      	* components/loser/content/nautilus-content-loser.h:
      	* components/loser/sidebar/main.c: (loser_make_object):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(nautilus_sidebar_loser_destroy),
      	(nautilus_sidebar_loser_get_nautilus_view),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (nautilus_music_view_destroy),
      	(nautilus_music_view_get_nautilus_view),
      	(music_view_notify_location_change_callback):
      	* components/music/nautilus-music-view.h:
      	* components/notes/ntl-notes.c: (notes_notify_location_change),
      	(make_notes_view):
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
      	(nautilus_rpm_view_get_nautilus_view),
      	(rpm_view_notify_location_change_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	* components/sample/main.c: (sample_make_object):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(nautilus_sample_content_view_destroy),
      	(nautilus_sample_content_view_get_nautilus_view),
      	(sample_notify_location_change_callback):
      	* components/sample/nautilus-sample-content-view.h:
      	* components/services/startup/nautilus-view/main.c:
      	(services_make_object):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(nautilus_service_startup_view_get_nautilus_view),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* components/websearch/ntl-web-search.c:
      	(web_search_notify_location_change), (do_search), (make_obj):
      	* libnautilus/nautilus-clipboard.c:
      	(nautilus_clipboard_info_set_view),
      	(nautilus_clipboard_info_get_view),
      	(nautilus_clipboard_info_get_bonobo_control):
      	* libnautilus/nautilus-clipboard.h:
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_move_to_trash_callback), (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback),
      	(notify_selection_change_callback),
      	(stop_location_change_callback), (done_loading),
      	(fm_directory_view_get_nautilus_view),
      	(fm_directory_view_activate_file_internal), (finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	Updated for new libnautilus where the NautilusViewFrame
      	classes are now named NautilusView.
      
      	* libnautilus/nautilus-content-view-frame.c:
      	(nautilus_content_view_initialize), (nautilus_content_view_new),
      	(nautilus_content_view_new_from_bonobo_control),
      	(nautilus_content_view_destroy),
      	(nautilus_content_view_initialize_class),
      	(nautilus_content_view_request_title_change):
      	* libnautilus/nautilus-content-view-frame.h:
      	* libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_initialize), (nautilus_meta_view_new),
      	(nautilus_meta_view_new_from_bonobo_control),
      	(nautilus_meta_view_destroy),
      	(nautilus_meta_view_initialize_class):
      	* libnautilus/nautilus-meta-view-frame.h:
      	Changed Nautilus*ViewFrame classes to Nautilus*View. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonobObject * and query_interface.
      
      	* libnautilus/nautilus-undo-manager.c:
      	(nautilus_undo_setup_bonobo_control):
      	* libnautilus/nautilus-undo-manager.h:
      	Changed the BonoboControl parameter to actually be of type
      	BonoboControl * instead of BonoboObject *.
      
      	* libnautilus/nautilus-view-frame-private.h:
      	* libnautilus/nautilus-view-frame.c:
      	(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
      	(impl_Nautilus_View_notify_location_change),
      	(impl_Nautilus_View_show_properties),
      	(impl_Nautilus_View_notify_selection_change),
      	(impl_Nautilus_View_stop_location_change),
      	(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
      	(nautilus_view_initialize_class), (nautilus_view_set_arg),
      	(nautilus_view_get_arg), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(nautilus_view_destroy), (nautilus_view_ensure_view_frame),
      	(nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window),
      	(nautilus_view_real_set_bonobo_control):
      	* libnautilus/nautilus-view-frame.h:
      	* libnautilus/nautilus-zoomable.c:
      	(impl_Nautilus_Zoomable__get_zoom_level),
      	(impl_Nautilus_Zoomable__set_zoom_level),
      	(impl_Nautilus_Zoomable__get_min_zoom_level),
      	(impl_Nautilus_Zoomable__get_max_zoom_level),
      	(impl_Nautilus_Zoomable__get_is_continuous),
      	(impl_Nautilus_Zoomable_zoom_in),
      	(impl_Nautilus_Zoomable_zoom_out),
      	(impl_Nautilus_Zoomable_zoom_to_fit),
      	(impl_Nautilus_Zoomable__destroy),
      	(impl_Nautilus_Zoomable__create), (marshal_NONE__DOUBLE),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
      	(nautilus_zoomable_get_arg), (nautilus_zoomable_initialize),
      	(nautilus_zoomable_new),
      	(nautilus_zoomable_new_from_bonobo_control),
      	(nautilus_zoomable_destroy),
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level),
      	(nautilus_zoomable_get_bonobo_control),
      	(nautilus_zoomable_real_set_bonobo_control):
      	* libnautilus/nautilus-zoomable.h:
      	* src/nautilus-zoomable-frame-svr.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_notify_zoom_level):
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object),
      	* src/ntl-content-view.c:
      	(impl_Nautilus_ContentViewFrame_request_title_change),
      	(nautilus_content_view_frame_get_type),
      	(nautilus_content_view_frame_class_init),
      	(nautilus_content_view_frame_init),
      	(nautilus_content_view_frame_set_active),
      	(nautilus_content_view_frame_request_title_change):
      	* src/ntl-content-view.h:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view),
      	(nautilus_index_panel_remove_meta_view):
      	* src/ntl-index-panel.h:
      	* src/ntl-meta-view.c: (nautilus_meta_view_frame_initialize_class),
      	(nautilus_meta_view_frame_initialize),
      	(nautilus_meta_view_frame_set_label),
      	(nautilus_meta_view_frame_get_label):
      	* src/ntl-meta-view.h:
      	* src/ntl-view-bonobo-control.c: (destroy_bonobo_control_view),
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client),
      	(bonobo_control_notify_location_change):
      	* src/ntl-view-bonobo-subdoc.c: (destroy_bonobo_subdoc_view),
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change):
      	* src/ntl-view-nautilus.c: (nautilus_view_try_load_client),
      	(destroy_nautilus_view), (nv_show_properties), (nv_save_state),
      	(nv_load_state), (nv_notify_location_change),
      	(nv_notify_selection_change), (nv_stop_location_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_get_type),
      	(nautilus_view_frame_class_init), (nautilus_view_frame_set_arg),
      	(nautilus_view_frame_get_arg), (nautilus_view_frame_init),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy), (nautilus_view_frame_constructed),
      	(nautilus_view_frame_construct_arg_set),
      	(nautilus_view_frame_size_request),
      	(nautilus_view_frame_size_allocate),
      	(nautilus_view_frame_handle_client_destroy),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_load_client),
      	(nautilus_view_frame_notify_location_change),
      	(nautilus_view_frame_notify_selection_change),
      	(nautilus_view_frame_load_state), (nautilus_view_frame_save_state),
      	(nautilus_view_frame_show_properties),
      	(nautilus_view_frame_stop_location_change),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_get_zoom_level),
      	(nautilus_view_frame_set_zoom_level),
      	(nautilus_view_frame_get_min_zoom_level),
      	(nautilus_view_frame_get_max_zoom_level),
      	(nautilus_view_frame_get_is_continuous),
      	(nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
      	(nautilus_view_frame_zoom_to_fit), (nautilus_view_frame_get_iid),
      	(nautilus_view_frame_get_client_objref),
      	(nautilus_view_frame_get_objref),
      	(nautilus_view_frame_request_location_change),
      	(nautilus_view_frame_request_selection_change),
      	(nautilus_view_frame_request_status_change),
      	(nautilus_view_frame_request_progress_change),
      	(nautilus_view_frame_notify_zoom_level), (check_object),
      	(nautilus_view_frame_set_active_errors):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_notify_selection_change),
      	(nautilus_window_request_selection_change),
      	(nautilus_window_request_status_change),
      	(nautilus_window_request_progress_change),
      	(nautilus_window_request_title_change),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed), (nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state), (nautilus_window_set_state_info),
      	(nautilus_window_begin_location_change):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c: (zoom_in_cb), (zoom_out_cb),
      	(nautilus_window_set_arg), (nautilus_window_send_show_properties),
      	(view_menu_switch_views_callback),
      	(nautilus_window_set_content_view),
      	(nautilus_window_add_meta_view),
      	(nautilus_window_remove_meta_view_real),
      	(nautilus_window_remove_meta_view),
      	(nautilus_window_request_location_change_cb),
      	(nautilus_window_request_selection_change_cb),
      	(nautilus_window_request_status_change_cb),
      	(nautilus_window_request_progress_change_cb),
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	* src/ntl-window.h:
      	Changed Nautilus*View classes to Nautilus*ViewFrame. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonoboObject * and query_interface.
      8ce35298
    • Gene Z. Ragan's avatar
      Additonal work on making the undo context CORBA object. · f469d19b
      Gene Z. Ragan authored
      2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-context.h:
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (nautilus_undo_context_initialize):
      	Additonal work on making the undo context CORBA object.
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	* libnautilus/nautilus-undo-manager-private.h:
      	(impl_Nautilus_Undo_Manager__undo),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_get_undo_manager), (nautilus_attach_undo_manager),
      	Changed APIs to accept and return Nautilus_Undo_Manager CORBA
      	object instead of NautilusUndoManager pointer.
      
      	(nautilus_undo_setup_bonobo_control):
      	Added function stub to be filled later.  This function
      	will attach an undo manager to a bonobo control.
      
      	Removed several functions no longer needed in new design,
      	including nautilus_undo_manager_begin_transaction(),
      	and nautilus_undo_manager_end_transaction().
      
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus), (update_undo_menu_item):
      	Changed to use modified undo API
      
      	* src/ntl-app.c:
      	(nautilus_app_init):
      	Changed to use modified undo API
      
      	* src/ntl-window.c: (nautilus_window_constructed)
      	Changed to use modified undo API
      f469d19b
    • Eskil Heyn Olsen's avatar
      Changed to simply use a gnome_warning_dialog instead of a · 731950d1
      Eskil Heyn Olsen authored
      	* src/ntl-app.c (display_prototype_caveat): Changed to simply use
      	a gnome_warning_dialog instead of a nautilus_simple_dialog. We
      	loose the word wrapping though. But now the main window loads
      	while the warning is present, plus it's a real GNOME warning box,
      	so be afraid...
      	(display_prototype_caveat): If NAUTILUS_NO_CAVEAT_DIALOG is set,
      	do not display the caveat warning.
      731950d1
    • Eskil Heyn Olsen's avatar
      Changed to simply use a gnome_warning_dialog instead of a · 8d1a3bb7
      Eskil Heyn Olsen authored
      
      	* src/ntl-app.c (display_prototype_caveat): Changed to simply use
      	a gnome_warning_dialog instead of a nautilus_simple_dialog. We
      	loose the word wrapping though. But now the main window loads
      	while the warning is present, plus it's a real GNOME warning box,
      	so be afraid...
      8d1a3bb7
    • Darin Adler's avatar
      Implemented Reload for directory views. · 503b5255
      Darin Adler authored
      	* 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.
      503b5255
  18. 22 May, 2000 2 commits
  19. 18 May, 2000 1 commit
    • Darin Adler's avatar
      Change format to make popt "pop" out more. · 7e7fc3ec
      Darin Adler authored
      	* HACKING: Change format to make popt "pop" out more.
      
      	* libnautilus-extensions/nautilus-entry.h:
      	* src/file-manager/fm-properties-window.c: (create_basic_page):
      	* src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event),
      	(on_window_delete_event):
      	* src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo):
      	* src/nautilus-location-bar.h:
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(bookmarks_menu_add_bookmark_callback),
      	(bookmarks_menu_edit_bookmarks_callback),
      	(get_or_create_bookmarks_window), (nautilus_bookmarks_exiting),
      	(edit_bookmarks), (nautilus_window_initialize_menus),
      	(update_undo_menu_item):
      	* src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_start_renaming_selected_item):
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_key_press), (nautilus_entry_enable_undo):
      	* libnautilus/nautilus-undo-manager.c:
      	(nautilus_undo_manager_begin_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(prune_undo_manager_list), (nautilus_get_undo_manager),
      	(nautilus_attach_undo_manager), (nautilus_share_undo_manager):
      	* libnautilus/nautilus-undo-manager.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c: (nautilus_window_constructed),
      	(nautilus_window_real_set_content_view),
      	(nautilus_window_get_undo_manager):
      	* src/ntl-window.h:
      	Got rid of the undo manager parameter for the enable_undo
      	operation.
      	Eliminated code that sets up the undo manager except for the top
      	widgets. We only need it attached to windows and to the top widget
      	in each component.
      	Change callers to get the undo manager in a few simple ways
      	instead of calling gtk_object_get_data directly. Added some calls
      	to attach the undo manager to an arbitrary object.
      
      	* libnautilus/nautilus-undo.idl: Added comments to the IDL and
      	also added the Undo::Context class.
      
      	* libnautilus/nautilus-view-component.idl: Removed the dependency
      	on the undo IDL and the undo_manager attribute.
      
      	* src/nautilus-bookmarks-window.h:
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	Changed interface to take object to inherit the undo manager from
      	instead of the undo manager itself. Got rid of unnecesary undo
      	manager setting.
      	(nautilus_bookmarks_window_save_geometry): Also changed interface
      	to use GtkWindow instead of GtkWidget.
      7e7fc3ec
  20. 17 May, 2000 1 commit
    • Gene Z. Ragan's avatar
      CVS: · 19159e79
      Gene Z. Ragan authored
      2000-05-17  Gene Z. Ragan  <gzr@eazel.com>
      											      CVS: ----------------------------------------------------------------------
      	First phase of modifying undo code.  These changes				      CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
      	affect the way undo is handled internally to Nautilus and			      CVS:
      	also defines a new IDL.  This is work in progress.				      CVS: Committing in .
      											      CVS:
      	* libnautilus-extensions/nautilus-entry.c:					      CVS: Modified Files:
      	Modified to use gtk_object_get_data() mechanism to locate undo manager		      CVS:    ChangeLog libnautilus/.cvsignore libnautilus/Makefile.am
      											      CVS:    libnautilus/nautilus-undo-manager-private.h
      	* libnautilus-extensions/nautilus-icon-container.c:				      CVS:    libnautilus/nautilus-undo-manager.c
      	(nautilus_icon_container_start_renaming_selected_item): 			      CVS:    libnautilus/nautilus-undo-manager.h
      	Modified to use gtk_object_get_data() mechanism to locate undo manager		      CVS:    libnautilus/nautilus-undo-transaction.h
      											      CVS:    libnautilus/nautilus-undoable.c
      	* libnautilus-extensions/nautilus-icon-text-item.c: (iti_event),		      CVS:    libnautilus/nautilus-undoable.h
      	(restore_from_undo_snapshot_callback):						      CVS:    libnautilus/nautilus-view-component.idl
      	Modified to use gtk_object_get_data() mechanism to locate undo manager		      CVS:    libnautilus-extensions/nautilus-entry.c
      											      CVS:    libnautilus-extensions/nautilus-entry.h
      	* libnautilus/.cvsignore:							      CVS:    libnautilus-extensions/nautilus-icon-container.c
      	Added generated IDL source and header files to ignore				      CVS:    libnautilus-extensions/nautilus-icon-text-item.c
      											      CVS:    src/nautilus-bookmarks-window.c
      	* libnautilus/Makefile.am:							      CVS:    src/nautilus-bookmarks-window.h src/nautilus-location-bar.c
      	Modified makefile to include new IDL file for undo manager			      CVS:    src/nautilus-location-bar.h src/nautilus-window-menus.c
      											      CVS:    src/ntl-app.c src/ntl-window-private.h src/ntl-window.c
      	* libnautilus/nautilus-undo-manager.c:						      CVS:    src/ntl-window.h src/file-manager/fm-properties-window.c
      	(impl_Nautilus_Undo_Manager__destroy),						      CVS: Added Files:
      	(impl_Nautilus_Undo_Manager__create),						      CVS:    libnautilus/nautilus-undo.idl
      	(impl_Nautilus_Undo_Manager__append),						      CVS: Removed Files:
      	(impl_Nautilus_Undo_Manager__forget),						      CVS:    libnautilus/nautilus-undo-manager-component.idl
      	(nautilus_undo_manager_initialize),						      CVS: ----------------------------------------------------------------------
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_begin_transaction),
      	(nautilus_undo_manager_end_transaction),
      	(nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo),
      	(get_current_transaction_name),
      	(nautilus_undo_manager_get_current_undo_transaction_name),
      	(nautilus_undo_manager_get_current_redo_transaction_name),
      	(destroy), (nautilus_undo_manager_enable_redo),
      	(nautilus_undo_manager_set_queue_depth),
      	(free_undo_manager_list_data), (prune_undo_manager_list):
      	Changes to support new IDL and new undo manager mechanism.
      
      	* libnautilus/nautilus-undo.idl:
      	New undo manager IDL file
      
      	* libnautilus/nautilus-undo-manager-component.idl:
      	Removed old undo manager IDL file
      
      	* src/file-manager/fm-properties-window.c:
      	(create_basic_page):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/nautilus-bookmarks-window.c:
      	(create_bookmarks_window),
      	(on_text_field_focus_in_event),
      	(on_window_delete_event):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/nautilus-location-bar.c:
      	(nautilus_location_bar_set_location),
      	(nautilus_location_bar_enable_undo):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/nautilus-window-menus.c:
      	(edit_menu_undo_callback),
      	(edit_menu_cut_callback),
      	(bookmarks_menu_edit_bookmarks_callback),
      	(get_bookmarks_window),
      	(nautilus_bookmarks_exiting),
      	(nautilus_window_edit_bookmarks),
      	(nautilus_window_initialize_menus),
      	(update_undo_menu_item):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/ntl-app.c:
      	(impl_Nautilus_Application__get_view_windows),
      	(impl_Nautilus_Application_new_view_window),
      	(impl_Nautilus_Application_supports),
      	(impl_Nautilus_Application_create_object),
      	(impl_Nautilus_Application__create), (nautilus_app_get_type),
      	(nautilus_app_class_init), (nautilus_app_init), (nautilus_app_new),
      	(nautilus_app_destroy), (nautilus_app_startup),
      	(nautilus_app_create_window):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager.
      	Added and modified IDL C stubs to match new IDL interface.
      
      	* src/ntl-window.c:
      	(nautilus_window_constructed),
      	(nautilus_window_set_arg):
      	Changed order that arguments are set at time of main window create so the app instance
      	variable is valid when the main window is contructed.
      19159e79
  21. 11 May, 2000 3 commits
    • Gene Z. Ragan's avatar
      Change makefiles to link against libnautilus. This is so calls to the undo · bc22620f
      Gene Z. Ragan authored
      2000-05-11  Gene Z. Ragan  <gzr@eazel.com>
      
      	* helper-utilities/authenticate/Makefile.am:
      	* nautilus-widgets/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus/Makefile.am:
      	Change makefiles to link against libnautilus.  This is so calls
      	to the undo manager code resolve.  There is probably a better way to
      	do this.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-window-menus.c:
      	* src/ntl-app.c:
      	Changed to #include <libnautilus-extensions/nautilus-undo-manager.h>
      	to #include <libnautilus/nautilus-undo-manager.h>
      bc22620f
    • Pavel Cisler's avatar
      Work in progress on fixing Nautilus deadlocking when quitting while async · c9db4c02
      Pavel Cisler authored
      2000-05-10  Pavel Cisler  <pavel@eazel.com>
      
      	* src/ntl-app.c:
      	* src/ntl-app.h:
      	(nautilus_app_destroy_window), (nautilus_app_real_quit),
      	(nautilus_app_quit)
      	Work in progress on fixing Nautilus deadlocking when quitting while
      	async file operations are in progress. Made it so that Nautilus
      	waits for gnome VFS threads to complete before it quits and takes
      	down the idle task. This only fixes part of the problem, Nautilus
      	still deadlocks on gnome vfs jobs that get cancelled right after
      	they were started.
      c9db4c02
    • Gene Ragan's avatar
      *** empty log message *** · 7cc11cb1
      Gene Ragan authored
      7cc11cb1
  22. 06 May, 2000 1 commit
    • Gene Z. Ragan's avatar
      New IDL file describing CORBA interface to the undo manager. · 3324b79c
      Gene Z. Ragan authored
      2000-05-05  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus-extensions/nautilus-undo-manager-component.idl:
      	New IDL file describing CORBA interface to the undo manager.
      
      	* libnautilus-extensions/Makefile.am:
      	Modified to include nautilus-undo-manager-component.idl
      
      	* libnautilus-extensions/nautilus-undo-manager.c
      	* libnautilus-extensions/nautilus-undo-manager-private.h:
      	(impl_Nautilus_UndoManager__destroy),
      	(impl_Nautilus_UndoManager__create),
      	(impl_Nautilus_UndoManager__begin_transaction),
      	(impl_Nautilus_UndoManager__end_transaction):
      	CORBA/Bonobo functions to access undo manager features.
      
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* src/file-manager/fm-list-view.c
      	(fm_list_view_append_background_context_menu_items),
      	(fm_list_view_merge_menus), (fm_list_view_update_menus),
      	(rename_list_item_callback):
      	Began the task of
      
      	* src/ntl-main.c
      	(main):
      	Removed intialization of undo manager from main,
      
      	* src/ntl-app.c
      	(nautilus_app_init):
      	Moved initialization of undo manager. A reference to the undo manager
      	is saved for easy access from components.
      3324b79c
  23. 02 May, 2000 1 commit
    • Darin Adler's avatar
      Wrote a script to check for files that forget to include <config.h> and · 292a29b6
      Darin Adler authored
      	* check-config-h.pl: Wrote a script to check for files that forget
      	to include <config.h> and optionally edit to add it.
      
              * src/nautilus-zoom-control.c (set_zoom_level): Fixed the bug
      	number in a FIXME.
      
              * docs/style-guide.html: Added one more tip.
      
              * check-FIXME.pl: Use my newfound Perl knowledge to spruce it up.
      
              * components/help/converters/gnome-db2html2/gdb3html.c:
              * components/help/converters/gnome-db2html2/sect-elements.c:
              * components/help/converters/gnome-db2html2/sect-preparse.c:
              * components/help/converters/gnome-db2html2/toc-elements.c:
              * components/help/converters/gnome-info2html2/html.c:
              * components/help/converters/gnome-info2html2/main.c:
              * components/help/converters/gnome-info2html2/parse.c:
              * components/help/converters/gnome-info2html2/utils.c:
              * components/help/converters/gnome-man2html2/gnome-man2html.c:
              * components/help/hyperbola-filefmt.c:
              * components/help/hyperbola-nav-index.c:
              * components/help/hyperbola-nav-search.c:
              * components/help/hyperbola-nav-tree.c:
              * components/html/glibwww-callbacks.c:
              * components/html/glibwww-init.c:
              * components/html/glibwww-trans.c:
              * components/html/gnome-dialogs.c:
              * components/html/ntl-web-browser.c:
              * components/services/install/eazel-install-metadata.c:
              * components/services/install/eazel-install-protocols.c:
              * components/services/install/eazel-install-rpm-glue.c:
              * components/services/install/eazel-install-tests.c:
              * components/services/install/eazel-install-utils.c:
              * components/services/install/eazel-install-xml-package-list.c:
              * components/services/install/eazel-install.c:
              * components/services/install/helixcode-install-utils.c:
              * components/services/startup/eazel-register.c:
              * components/websearch/ntl-web-search.c:
              * helper-utilities/authenticate/nautilus-authenticate-fork.c:
              * helper-utilities/authenticate/nautilus-authenticate-pam.c:
              * helper-utilities/authenticate/nautilus-authenticate.c:
              * libnautilus-extensions/nautilus-bonobo-extensions.c:
              * libnautilus-extensions/nautilus-file-utilities.c:
              * libnautilus-extensions/nautilus-glib-extensions.c:
              * libnautilus-extensions/nautilus-link.c:
              * libnautilus-extensions/nautilus-mime-type.c:
              * libnautilus-extensions/nautilus-undo-transaction.c:
              * librsvg/art_rgba.c:
              * librsvg/art_rgba_svp.c:
              * librsvg/rsvg-bpath-util.c:
              * librsvg/rsvg-path.c:
              * librsvg/rsvg.c:
              * librsvg/test-rsvg.c:
              * nautilus-widgets/nautilus-caption-table.c:
              * nautilus-widgets/nautilus-password-dialog.c:
              * nautilus-widgets/nautilus-preferences-box.c:
              * nautilus-widgets/nautilus-preferences-dialog.c:
              * nautilus-widgets/nautilus-preferences-group.c:
              * nautilus-widgets/nautilus-preferences-item.c:
              * nautilus-widgets/nautilus-preferences-pane.c:
              * nautilus-widgets/nautilus-radio-button-group.c:
              * nautilus-widgets/test-nautilus-widgets.c:
              * nautilus-widgets/test-preferences.c:
              * src/file-manager/desktop-item.c:
              * src/file-manager/desktop-layout.c:
              * src/file-manager/desktop-menu.c:
              * src/nautilus-bookmarks-window.c:
              * src/nautilus-gconf.c:
      	* src/nautilus-window-menus.c:
              * src/nautilus-window-toolbars.c:
      	* src/nautilus-zoom-control.c
              * src/nautilus-zoomable-frame-svr.c:
              * src/ntl-app.c:
              * src/ntl-content-view.c:
              * src/ntl-main.c:
              * src/ntl-meta-view.c:
              * src/ntl-miniicon.c:
              * src/ntl-uri-map.c:
              * src/ntl-view-frame-svr.c:
              * src/ntl-view.c:
              * src/ntl-window-state.c:
      	Added includes of <config.h>.
      292a29b6