1. 09 Nov, 2001 1 commit
  2. 08 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove Nautilus 1 news. This file is empty for now. Add some renaming · 3f4aeca2
      Darin Adler authored
      	* NEWS: Remove Nautilus 1 news. This file is empty for now.
      	* RENAMING: Add some renaming ideas.
      	* TODO: Add a tiny porting to-do list. I should take that
      	survey of GNOME2_CONVERSION_COMPLETE that Havoc did and put
      	it in here.
      	* TRADEMARK_NOTICE: Removed this file. Eazel logo isn't in
      	here any more.
      	* Makefile.am: Remove TRADEMARK_NOTICE.
      
      	* components/help/hyperbola-nav-index.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* libnautilus-private/nautilus-authn-manager.c:
      	* libnautilus-private/nautilus-file-operations-progress.c:
      	* libnautilus-private/nautilus-file-operations-progress.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-program-chooser.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-about.h:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window.c:
      	First cut at converting to GtkDialog from GnomeDialog.
      3f4aeca2
  3. 07 Nov, 2001 1 commit
    • Darin Adler's avatar
      Switch to glib's gettext. · f6cff97c
      Darin Adler authored
      	* acconfig.h:
      	* configure.in:
      	Switch to glib's gettext.
      
      	* components/help/converters/*:
      	Remove, since these were moved to libgnome.
      
      	* Many files:
      	Get rid of incorrect uses of many locale-specific functions like
      	g_strcasecmp and isspace.
      f6cff97c
  4. 06 Nov, 2001 1 commit
  5. 04 Nov, 2001 1 commit
  6. 01 Nov, 2001 1 commit
  7. 20 Sep, 2001 1 commit
    • Darin Adler's avatar
      Change all libxml includes to use #include <libxml/*> instead of #include · be664629
      Darin Adler authored
      	* components/help/hyperbola-nav-index.c:
      	* components/help/hyperbola-nav-search.c:
      	* components/news/nautilus-news.c:
      	* components/text/nautilus-text-view.c:
      	* libnautilus-private/nautilus-customization-data.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-icon-factory.c:
      	* libnautilus-private/nautilus-link-set.c:
      	* libnautilus-private/nautilus-link.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-metafile.h:
      	* libnautilus-private/nautilus-theme.c:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmark-parsing.c:
      	* src/nautilus-bookmark-parsing.h:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-main.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-window-menus.c:
      	Change all libxml includes to use #include <libxml/*>
      	instead of #include <gnome-xml/*>.
      be664629
  8. 04 Feb, 2001 1 commit
    • Maciej Stachowiak's avatar
      Script that calls indent with the right parameters to get a GNOME coding · 9c390b83
      Maciej Stachowiak authored
      	* indent.sh: Script that calls indent with the right parameters to
      	get a GNOME coding style (Nautilus subvariant).
      
      	* components/help/hyperbola-filefmt.c,
      	components/help/hyperbola-filefmt.h,
      	components/help/hyperbola-main.c,
      	components/help/hyperbola-nav-index.c,
      	components/help/hyperbola-nav-search.c,
      	components/help/hyperbola-nav-tree.c,
      	components/help/hyperbola-nav.h,
      	components/help/hyperbola-types.h: Run indent.sh on these.
      9c390b83
  9. 13 Dec, 2000 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · ac2ec5b5
      Darin Adler authored
      	Fixed bug 1948 ("Open in New Window" menu item reuses existing
      	window if it exists) by separating the explicit "open in new
      	window" feature (always gives a new window) from the "open all
      	items in new windows" preference (reuses window if one with the
      	right location already exists).
      
      	* libnautilus/nautilus-view-component.idl: Added new
      	open_location_prefer_existing_window call. Renamed open_location
      	to open_location_in_this_window and open_location_in_new_window to
      	open_location_force_new_window for clarity.
      
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	(nautilus_view_open_location_in_this_window),
      	(nautilus_view_open_location_prefer_existing_window),
      	(nautilus_view_open_location_force_new_window):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_open_location_in_this_window),
      	(impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
      	(impl_Nautilus_ViewFrame_open_location_force_new_window):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_open_location_in_this_window),
      	(nautilus_view_frame_open_location_prefer_existing_window),
      	(nautilus_view_frame_open_location_force_new_window):
      	* src/nautilus-view-frame.h:
      	Add new call, rename old ones.
      
      	* src/file-manager/fm-directory-view.c: (open_callback): Pass parameter
      	to tell the open code to respect the "use new windows" preference.
      	(open_location): Take new WindowChoice parameter to respect preference
      	as appropriate.
      	(switch_location_and_view): Tell the code to respect the preference in
      	this case (opening from Open With).
      	(show_trash_callback): Use code that respects the preference instead of
      	always opening in this case.
      	(open_one_in_new_window): Always force a new window (used by Open
      	in New Window command).
      	(activate_callback): Pass through new WindowChoice instead of boolean.
      	(fm_directory_view_activate_file): Pass through new WindowChoice
      	instead of boolean.,
      	(fm_directory_view_activate_files): Respect the user preference if
      	opening only one file, do the "use existing window or make new one"
      	mode if opening more than one.
      
      	* src/nautilus-window-manage-views.c: (handle_unreadable_location):
      	Move check for empty location string in here.
      	(open_location): Moved the code for reusing existing windows out
      	of here. Also changed code structure to avoid redoing the
      	handle_unreadable_location check.
      	(open_location_in_this_window_callback): Renamed.
      	(open_location_prefer_existing_window_callback): Here's where
      	the code for reusing existing windows went. New callback for the
      	new call/signal.
      	(open_location_force_new_window_callback): Renamed.
      
      	* src/file-manager/fm-search-list-view.c:
      	(reveal_selected_items_callback): Change to use
      	nautilus_view_open_location_force_new_window by its new name.
      
      	* src/nautilus-window-manage-views.h: Got rid of
      	nautilus_window_open_location_in_new_window, which was public and
      	unused.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_open_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_select_row):
      	* components/history/nautilus-history-view.c:
      	(history_button_release):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
      	* components/rpmview/nautilus-rpm-view.c: (go_to_button_callback):
      	* components/services/login/nautilus-view/nautilus-change-password-view.c:
      	(run_away_timer), (authn_failed), (maintenance_button_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
      	(logged_in_callback), (logged_out_callback),
      	(preferences_button_cb), (forgot_password_button_cb),
      	(register_button_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
      	(error_dialog_cancel_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-footer.c:
      	(footer_item_clicked_callback):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c:
      	(goto_service_cb), (goto_update_cb):
      	* components/text/nautilus-text-view.c: (handle_service_menu_item):
      	* components/tree/nautilus-tree-view.c: (tree_select_row_callback):
      	Change to use new nautilus_view_open_location_in_this_window
      	name. It's better because it's more explicit, but also, it's the
      	new name!
      
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_gdk_window_bring_to_front): Fixed indentation.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_window_present): Put in a new implementation that
      	uses nautilus_gdk_window_bring_to_front instead of the old one
      	that did a hide followed by a show. Corrected an assert that
      	should have been a return_if_fail.
      ac2ec5b5
  10. 14 Nov, 2000 1 commit
    • Pavel Cisler's avatar
      reviewed by: Darin Adler <darin@eazel.com> · b7c2daf9
      Pavel Cisler authored
      2000-11-13  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	* configure.in:
      	Enable the sign-compare and cast-align warnings.
      
      	* components/help/converters/gnome-db2html2/gdb3html.c:
      	(find_first_element):
      	* components/help/hyperbola-filefmt.c: (fmt_free_tree_info):
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_update_clist), (despace),
      	(end_element):
      	* components/history/nautilus-history-view.c:
      	(history_load_location):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(string_list_get_index_of_string):
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_string_sequence_to_glist),
      	(corba_packagedatastructlist_from_packagedata_list),
      	(packagedata_list_from_corba_packagedatastructlist),
      	(categorydata_list_from_corba_categorystructlist):
      	* components/services/install/lib/eazel-install-query.c:
      	(eazel_install_simple_rpm_query):
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_monitor_rpm_process_pipe):
      	* components/services/install/lib/eazel-install-rpm-signature.c:
      	(read_rpm_lead), (read_rpm_signature):
      	* components/services/trilobite/libtrilobite/trilobite-root-helper.
      	c: (trilobite_root_helper_run_program),
      	(trilobite_root_helper_set_time):
      	* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
      	(nautilus_clist_get_arg), (nautilus_clist_construct):
      	* helper-utilities/authenticate/nautilus-authenticate.c: (main):
      	* libnautilus-extensions/nautilus-background.c:
      	(set_image_and_color_image_loading_done_callback):
      	* libnautilus-extensions/nautilus-buffered-widget.c:
      	(nautilus_gdk_pixbuf_tile_alpha):
      	* libnautilus-extensions/nautilus-caption-table.c:
      	(entry_activate):
      	* libnautilus-extensions/nautilus-caption-table.h:
      	* libnautilus-extensions/nautilus-ctree.c:
      	(nautilus_ctree_node_nth), (nautilus_ctree_drag_motion):
      	* libnautilus-extensions/nautilus-ctree.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_write):
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	(nautilus_file_changes_consume_changes):
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	(truncate_string_from_start):
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(extract_string_until):
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_read_entire_file):
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_get_largest_fitting_font):
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_get_sidebar_panel_view_identifiers):
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_window_set_initial_geometry_from_string),
      	(nautilus_gtk_menu_set_item_visibility):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(draw_or_measure_label_text), (draw_or_measure_label_text_aa):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(rubberband_timeout_callback), (destroy), (compute_stretch):
      	* libnautilus-extensions/nautilus-icon-container.h:
      	(nautilus_icon_container_find_drop_target):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(check_recently_used_list), (get_themed_icon_file_path),
      	(revise_scale_factors_if_too_big):
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	(recompute_bounding_box), (iti_draw), (iti_selection_motion):
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_size_allocate), (label_recompute_line_geometries):
      	* libnautilus-extensions/nautilus-list.c: (draw_cell),
      	(nautilus_list_drag_data_received):
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(server_matches_content_requirements),
      	(nautilus_do_component_query):
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	(caption_table_activate_callback):
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(has_image_file):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(file_as_string), (parse_font_description_file),
      	(nautilus_text_layout_new):
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(check_permissions):
      	* libnautilus/nautilus-view.c:
      	(nautilus_shallow_g_list_from_uri_list):
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_g_list_from_ZoomLevelList):
      	* librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string):
      	* librsvg/rsvg.c: (rsvg_parse_transform):
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_create_background_context_menu_items),
      	(get_sort_criterion_by_metadata_text), (get_sort_criterion_by_id):
      	* src/file-manager/fm-list-view.c: (select_row_common),
      	(select_matching_name_callback), (select_previous_next_common),
      	(fm_list_view_bump_zoom_level):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_update_valid_criteria_choices):
      	* src/nautilus-shell.c: (corba_open_windows),
      	(corba_open_default_window):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_disable_keyboard_navigation_for_menus):
      	* src/nautilus-window.c: (nautilus_window_size_request):
      	Fix all sign-compare violations.
      b7c2daf9
  11. 19 Oct, 2000 1 commit
    • Darin Adler's avatar
      Do some routine housekeeping that will help make the future · b1370301
      Darin Adler authored
      	switchover to libxml2 easier.
      
      	* components/help/converters/gnome-db2html2/gdb3html.h:
      	* components/help/hyperbola-nav-index.c:
      	* components/help/hyperbola-nav-search.c:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	* libnautilus-extensions/nautilus-directory-metafile.h:
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-file.c:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	* libnautilus-extensions/nautilus-link-set.c:
      	* libnautilus-extensions/nautilus-link.c:
      	* libnautilus-extensions/nautilus-theme.c:
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	* libnautilus-extensions/nautilus-xml-extensions.h:
      	* librsvg/rsvg.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmark-parsing.c:
      	* src/nautilus-bookmark-parsing.h:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-theme-selector.c:
      	* src/nautilus-window-menus.c:
      	Use the <gnome-xml/> prefix on all includes of gnome-xml headers.
      	This is allowed with the version of libxml1 we use now, and
      	required for libxml2. Note that we now require the newer libxml1
      	version that allows this, because Bonobo requires it.
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (parse_category), (parse_shared),
      	(parse_memory_transaction_file), (parse_local_xml_package_list),
      	(generate_xml_package_list), (osd_parse_dependency),
      	(osd_parse_implementation), (osd_parse_softpkg),
      	(osd_parse_shared):
      	* components/services/summary/lib/eazel-summary-shared.c:
      	(build_services_glist_from_xml), (build_eazel_news_glist_from_xml),
      	(build_update_news_glist_from_xml), (parse_summary_xml_file):
      	* components/services/trilobite/libtrilobite/helixcode-utils.c:
      	(xml_get_value):
      	* components/services/trilobite/libtrilobite/trilobite-redirect.c:
      	(trilobite_redirect_parse_xml):
      	* libnautilus-extensions/nautilus-xml-extensions.c:
      	(nautilus_xml_get_children):
      	Use xmlChildrenNode instead of childs, as recommended by the
      	libxml maintainer for libxml1/libxml2 compatibility.
      
      	* src/nautilus-main.c: (main): Use the LIBXML_TEST_VERSION macro
      	as recommended by the libxml maintainer for libxml1/libxml2
      	compatibility.
      
      	* components/music/nautilus-music-view.c:
      	Added a lot of FIXMEs. Some other rudimentary cleanup.
      b1370301
  12. 05 Sep, 2000 1 commit
    • Pavel Cisler's avatar
      Fix all the warnings -Wuninitialized found. Quite a number of them were · add78396
      Pavel Cisler authored
      2000-09-05  Pavel Cisler  <pavel@eazel.com>
      
      	* components/help/converters/gnome-db2html2/gdb3html.c:
      	(xml_parse_document):
      	* components/help/hyperbola-nav-index.c: (end_element):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (logout_button_cb):
      	* components/services/time/service/trilobite-eazel-time-service.c:
      	(trilobite_eazel_time_service_do_http_request):
      	* components/tree/nautilus-tree-view.c:
      	* configure.in:
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_vfs_open):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_draw), (nautilus_background_draw_aa):
      	* libnautilus-extensions/nautilus-customization-data.c:
      	(nautilus_customization_data_new):
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_directory_background_write_desktop_settings):
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(nautilus_file_operations_move_to_trash), (do_empty_trash):
      	* libnautilus-extensions/nautilus-file.c: (nautilus_file_dump):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(draw_or_measure_label_text), (emblem_layout_next):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_image_from_cache):
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	(iti_paint_text):
      	* libnautilus-extensions/nautilus-list.c: (draw_cell), (draw_row):
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_add_application_to_short_list_for_uri):
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(program_file_pair_get_short_status_text),
      	(program_file_pair_get_long_status_text):
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_choose_component_for_file),
      	(nautilus_choose_application_for_file):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_draw_text_lines_with_dimensions):
      	* libnautilus-extensions/nautilus-theme.c:
      	(nautilus_theme_make_selector):
      	* librsvg/rsvg-ft.c: (rsvg_ft_get_glyph):
      	* librsvg/test-ft-gtk.c: (set_text):
      	* librsvg/test-ft.c: (save_pixbuf_to_file_internal),
      	(save_pixbuf_to_file):
      	* librsvg/test-rsvg.c: (save_pixbuf_to_file_internal),
      	(save_pixbuf_to_file):
      	* src/file-manager/fm-directory-view.c: (display_pending_files),
      	(compute_menu_item_info):
      	* src/file-manager/fm-icon-view.c: (compute_menu_item_info):
      	* src/file-manager/fm-list-view.c: (get_column_from_attribute):
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_next_new),
      	(nautilus_search_bar_criterion_get_location),
      	(get_date_modified_location_for):
      	* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
      	(draw_or_layout_all_tabs):
      	* src/nautilus-toolbar.c: (nautilus_toolbar_size_allocate):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_get_current_location_title):
      	* test/test-nautilus-label.c: (justification_changed_callback):
      
      	Fix all the warnings -Wuninitialized found.
      	Quite a number of them were actual bugs.
      	Turn on -Wuninitialized in configure.in now that ORBit generates
      	warning-free code.
      add78396
  13. 18 Jun, 2000 1 commit
    • Jiri (George) Lebl's avatar
      s/g_str_freev/g_strfreev/ as that's the correct glib name · 30675e99
      Jiri (George) Lebl authored
      Sun Jun 18 02:50:47 2000  George Lebl <jirka@5z.com>
      
      	* components/help/help-method.c (file_in_info_path):
      	  s/g_str_freev/g_strfreev/ as that's the correct glib name
      
      	* components/help/hyperbola-main.c,
      	  components/help/hyperbola-nav-index.c,
      	  components/help/hyperbola-nav-search.c
      	  components/help/hyperbola-nav-tree.c,
      	  components/help/hyperbola-nav.h:  Use hyperbola-nav.h as a header
      	  to put the prototypes from the hyperbola-nav-*.c files.  And
      	  include this file in hyperbola-main.c and hyperbola-nav-*.c
      
      	* libnautilus-extensions/nautilus-global-preferences.c
      	  (global_preferences_register_boolean_with_defaults)
      	  (global_preferences_register_enum_with_defaults),
      	  libnautilus-extensions/nautilus-preferences.c
      	  (preferences_hash_node_check_changes_func)
      	  (user_level_changed_callback):
      	  use GU?INT_TO_POINTER and GPOINTER_TO_U?INT macros to get and pass
      	  ints and uints as pointers.
      
      	* librsvg/rsvg-bpath-util.c, test/nautilus-leak-checker.c:
      	  include <string.h>
      
      	* test/nautilus-leak-checker.c (nautilus_leak_record_malloc)
      	  (nautilus_leak_record_realloc) (nautilus_leak_record_free)
      	  (print_one_leak):  Store pointers in gulongs not guints and
      	  when printing size_t, cast to long and use %ld.
      
      	* test/nautilus-leak-symbol-lookup.c
      	  (nautilus_leak_symbol_map_get_offsets): When reading in gint64,
      	  check if long is actually 64bit, in which case use %lx otherwise
      	  use %Lx for sscanf.
      30675e99
  14. 13 Jun, 2000 1 commit
    • 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
  15. 26 May, 2000 1 commit
    • Ramiro Estrugo's avatar
      Fix the annoying as hell assertions coming from these components. Dont · 0885d254
      Ramiro Estrugo authored
      * components/help/hyperbola-nav-index.c:
      (hyperbola_navigation_index_new):
      * components/help/hyperbola-nav-search.c:
      (hyperbola_navigation_search_new):
      
      Fix the annoying as hell assertions coming from these components.
      Dont install the entry widgets as the titles for the clist.  You
      cant do this cause they have already be added to the vbox
      container and thus the barfing in gtk_container_add() about the
      widget already having a parent.  There doesnt seem to be any
      noticeable ui change because of this.  The help search/index
      continue to work as "good" as before.
      0885d254
  16. 25 May, 2000 1 commit
    • 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
  17. 24 May, 2000 1 commit
    • Darin Adler's avatar
      [deleted] [deleted] · 70659f55
      Darin Adler authored
      	* libnautilus/Makefile.am:
      	* libnautilus/libnautilus.h:
      	* libnautilus/nautilus-meta-view-frame.c: [deleted]
      	* libnautilus/nautilus-meta-view-frame.h: [deleted]
      	* libnautilus/nautilus-view-component.idl:
      	* po/POTFILES.in:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
      	* src/ntl-window.c: (nautilus_window_add_meta_view):
      	Removed Nautilus::MetaView and all the related classes.
      	We still have Nautilus::MetaViewFrame (will go soon).
      
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new):
      	* components/history/ntl-history-view.c: (make_obj):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/notes/ntl-notes.c: (make_notes_view):
      	* components/websearch/ntl-web-search.c: (make_obj):
      	Changed to use just plain view insetad of meta_view.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(nautilus_global_preferences_get_sidebar_panel_view_identifiers),
      	(nautilus_global_preferences_get_sidebar_view_iids),
      	(nautilus_preferences_register_sidebar_view_preferences_for_ui),
      	(global_preferences_register_for_ui):
      	Changed naming to call them sidebar views instead of meta views,
      	and got rid of code that depends on MetaView interface. We now
      	use the sidebar_panel_name to determine if a view should show
      	up in the sidebar.
      
      	* src/ntl-view.h: Fixed a comment to reflect the future
      	instead of the past.
      70659f55
  18. 23 May, 2000 1 commit
    • 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
  19. 20 May, 2000 1 commit
    • Maciej Stachowiak's avatar
      Fix bugzilla tasks #599 (hex number is bad default for meta view · cf21c9ee
      Maciej Stachowiak authored
      	names) and #631 (nead oaf query to determine metaviews).
      
      	* libnautilus-extensions/nautilus-view-identifier.h,
      	libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_new, get_lang_list,
      	nautilus_view_identifier_new_from_oaf_server_info,
      	nautilus_view_identifier_free): Moved NautilusViewIdentifier code
      	here from ntl-uri-map.[ch].
      	(nautilus_view_identifier_new_from_content_view),
      	(nautilus_view_identifier_new_from_sidebar_panel),
      	(nautilus_view_identifier_free_callback),
      	(nautilus_view_identifier_free_list): New functions.
      	* libnautilus-extensions/Makefile.am: Add
      	nautilus-view-identifier.[ch] to build.
      	* src/ntl-types.h: Removed typedef for NautilusViewIdentifier.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c
      	(nautilus_g_list_free_deep_custom): New function, like
      	`nautilus_g_list_free_deep' but lets you pass your own free
      	function.
      	(nautilus_g_list_free_deep): Use `nautilus_g_list_free_deep_custom'
      	(nautilus_g_list_partition): New function to destructively
      	partition a GList into two, depending on whether they satisfy the
      	provided predicate or not.
      	(nautilus_test_predicate), (nautilus_self_check_glib_extensions):
      	Added unit tests for `nautilus_g_list_partition' and for
      	`nautilus_g_list_equal' since the `nautilus_g_list_partition'
      	tests rely on it.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_moved): Use
      	`nautilus_g_list_free_deep_custom'.
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c
      	(nautilus_gdk_pixbuf_list_free): Likewise.
      	* libnautilus-extensions/nautilus-icon-factory.c
      	(nautilus_scalable_icon_list_free): Likewise.
      	* libnautilus-extensions/nautilus-string-list.c
      	(nautilus_string_list_clear): Likewise.
      	* nautilus-widgets/nautilus-preferences.c (pref_hash_node_free,
      	prefs_hash_lookup_with_implicit_registration): Likewise.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h
      	(global_preferences_create_dialog,
      	nautilus_global_preferences_get_sidebar_panel_view_identifiers,
      	nautilus_global_preferences_get_meta_view_iids,
      	nautilus_preferences_register_meta_view_preferences_for_ui,
      	global_preferences_register_for_ui): Change things around to
      	determine the set of sidebar panel prefs at run time, and to pass
      	around NautilusViewIdentifiers rather than just iid strings so we
      	can use the statically defined name in the oafinfo.
      
      	* src/ntl-uri-map.h, src/ntl-uri-map.c: (set_initial_content_iid,
      	got_file_info_callback, sidebar_panel_preference_is_on,
      	(add_sidebar_panel_identifiers, nautilus_navigation_info_free):
      	Changed things around to better handle sidebar panel (AKA meta
      	view) selection, and pass around both name and iid.
      
      	* src/ntl-window-msgs.c:
      	(nautilus_window_request_selection_change,
      	nautilus_window_has_really_changed,
      	nautilus_window_load_meta_view, nautilus_window_update_state,
      	nautilus_window_set_state_info): Fixed everything to pass around
      	ViewIdentifiers instead of iids for sidebar panels and set the
      	label approrpiately when activating; replaced a whole bunch of
      	GSList usage with GList (we can always optimize this stuff later).
      	* src/ntl-window.h, src/ntl-window.c: (nautilus_window_destroy,
      	nautilus_window_load_content_view_menu,
      	nautilus_window_set_content_view, nautilus_window_add_meta_view,
      	nautilus_window_remove_meta_view_real,
      	nautilus_window_remove_meta_view): Deal with the above changes
      	(mostly GSList -> GList changes).
      
      	* src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
      	src/ntl-view-nautilus.c, src/ntl-view-private.h: Remove all
      	get_label related calls since we get that from the oafinfo now.
      	* libnautilus/nautilus-meta-view-frame.h,
      	libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_frame_initialize,
      	nautilus_meta_view_frame_new_from_bonobo_control,
      	nautilus_meta_view_frame_destroy): Remove
      	`nautilus_meta_view_frame_set_label' machinery and associated
      	machinery since we now get the label statically from the oafinfo.
      	* components/history/ntl-history-view.c: (make_obj): Don't call
      	`nautilus_meta_view_frame_set_label' any more, the label is now
      	statically determined from the oafinfo file.
      	* components/notes/ntl-notes.c: (make_notes_view): Likewise.
      	* components/websearch/ntl-web-search.c: (make_obj): Likewise.
      	* components/help/hyperbola-nav-index.c: Likewise.
      	(hyperbola_navigation_index_new): Likewise.
      	* components/help/hyperbola-nav-search.c: Likewise.
      	(hyperbola_navigation_search_new): Likewise.
      	* components/help/hyperbola-nav-tree.c: Likewise.
      	(hyperbola_navigation_tree_new): Likewise.
      	* src/ntl-meta-view.h, src/ntl-meta-view.c:
      	(nautilus_meta_view_set_label),
      	(nautilus_meta_view_get_label): Have an explicit value to set,
      	rather than trying to get it through CORBA. This is kind of a
      	hack, really we should pass around a label and a NautilusMetaView
      	separately and remove this stuff.
      	* components/help/hyperbola.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/history/ntl-history-view.oafinfo: Updated to include
      	latest Nautilus attributes.
      cf21c9ee
  20. 04 May, 2000 1 commit
    • Darin Adler's avatar
      Some more instructions and cleanup. Removed one gratuitous renaming we · e0e2e07e
      Darin Adler authored
      	* HACKING: Some more instructions and cleanup.
      	* RENAMING: Removed one gratuitous renaming we won't do.
      
      	* components/html/ntl-web-browser.c:
      	Removed stray "#include <config.h>" that I added by accident.
      
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/html/ntl-web-browser.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/ntl-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/websearch/ntl-web-search.c: (main):
      	* src/file-manager/gnome-desktop.c (main):
      	* src/ntl-main.c (main):
      	Added ifdefs so you don't get warnings when building with
      	localization turned off. Ugly, but needed I think.
      
      	* components/help/converters/gnome-db2html2/gdb3html.c:
      	(ulink_start_element), (start_element):
      	* components/help/converters/gnome-db2html2/sect-elements.c:
      	(sect_sect_start_element), (sect_sect_end_element),
      	(sect_title_start_element), (sect_xref_start_element),
      	(sect_graphic_start_element), (sect_get_infobox_logo):
      	* components/help/converters/gnome-db2html2/sect-preparse.c:
      	(sect_preparse_sect_start_element),
      	(sect_preparse_title_characters):
      	* components/help/converters/gnome-db2html2/toc-elements.c:
      	(toc_sect_start_element), (toc_title_start_element):
      	* components/help/converters/gnome-info2html2/html.c:
      	(write_node_link_html):
      	* components/help/hyperbola-filefmt.c: (tree_key_compare):
      	* components/help/hyperbola-nav-index.c: (start_element),
      	(end_element), (hyperbola_navigation_index_new):
      	* components/html/ntl-web-browser.c: (browser_submit):
      	Replaced all uses of strcasecmp with g_strcasecmp.
      	Why? Because Michael Meeks said so and that's good enough
      	for me (in this case :-).
      
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_update_from_uri):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_mime_type_as_string_attribute),
      	(nautilus_file_get_mime_type):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_name_for_regular_file):
      	* src/file-manager/fm-icon-view.c (get_icon_property_callback):
      	* src/ntl-index-panel.c (nautilus_index_panel_update_buttons):
      	* src/ntl-uri-map.c (file_list_to_mime_type_hash_table):
      	Changed get_mime_type to be like all other text functions and
      	return a strdup'd string. John said it was a good idea.
      
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_callback), (metafile_read_some),
      	(set_up_request_by_file_attributes),
      	(nautilus_directory_monitor_add_internal),
      	(directory_list_get_next_position), (directory_load_callback),
      	(ready_callback_call),
      	(nautilus_directory_call_when_ready_internal),
      	(wants_directory_count), (has_problem),
      	(ready_callback_is_satisfied), (is_anyone_monitoring_file_list),
      	(is_anyone_waiting_for_metafile), (is_wanted), (select_needy_file),
      	(start_getting_directory_counts):
      	Reorganize to get ready for adding code to read the top left text.
      
      	* libnautilus-extensions/nautilus-file-attributes.h:
      	Added name for the "top left text" attribute.
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_top_left_text):
      	Added call to get the top left text.
      
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(draw_embedded_text): Tiny format tweak.
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon): Tiny format tweak.
      
      	* libnautilus-extensions/nautilus-icon-factory.h:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_pixbuf_for_file),
      	(nautilus_icon_factory_get_pixmap_and_mask_for_file),
      	(nautilus_icon_factory_embed_text),
      	(nautilus_icon_factory_embed_file_text):
      	Added support for embedded text. Not completely deployed yet.
      e0e2e07e
  21. 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
  22. 22 Mar, 2000 1 commit
  23. 15 Mar, 2000 1 commit
    • Darin Adler's avatar
      Added additional data to icons so they can specify where the · bdf3c6c1
      Darin Adler authored
      	embedded text fits in each icon.
      
      	* icons/eazel/Makefile.am, icons/eazel/i-regular.xml: Added the
      	file to specify attributes of icons. Specifically added the
      	attribute that says there is space for embedded text in the
      	Eazel-theme regular icon.
      
      	* libnautilus/nautilus-icon-factory.h:
      	* libnautilus/nautilus-icon-factory.c:
      	(get_child_node_by_property), (get_themed_icon_file_path),
      	(get_icon_file_path), (nautilus_icon_factory_get_thumbnail_uri),
      	(load_specific_image), (load_image_for_scaling),
      	(get_image_from_cache), (load_image_scale_if_necessary),
      	(nautilus_icon_factory_get_pixbuf_for_icon),
      	(nautilus_icon_factory_get_pixbuf_for_file):
      	Added code to read a rectangle for the embedded text along with
      	the icon, cache it with the icon, scale it with the icon, and
      	return it to the caller along with the icon.
      
      	* libnautilus/nautilus-icons-view-icon-item.c:
      	(nautilus_icons_view_icon_item_initialize_class),
      	(nautilus_icons_view_icon_item_set_arg),
      	(nautilus_icons_view_icon_item_get_arg),
      	(nautilus_icons_view_icon_item_get_image),
      	(nautilus_icons_view_icon_item_set_image),
      	(nautilus_art_irect_to_gdk_rectangle),
      	(draw_mini_text), (draw_embedded_text),
      	(nautilus_icons_view_icon_item_draw):
      	Changed the code that draws the embedded text to respect the
      	text rectangle passed in. Changed the pixbuf setting to use a
      	function instead of the arg interface and take a text rectangle
      	along with the pixbuf.
      
      	* libnautilus/gnome-icon-container-dnd.c
      	(gnome_icon_container_dnd_begin_drag):
      	* libnautilus/gnome-icon-container.c:
      	(icon_get_actual_size): Got rid of callers who were using the arg
      	interface to get at the image of an icon
      	("NautilusIconsViewIconItem::pixbuf").
      
      	* src/file-manager/fm-directory-view-icons.c:
      	(get_icon_property_cb): Get rid of hard-coded rule that only
      	themes with eazel at the front of their names can display text
      	inside the icons.
      
      	* libnautilus/gnome-icon-container.c:
      	(icon_new): Fixed a bug where icons would be super-tiny if they
      	got too big, like if you entered a directory that was zoomed all
      	the way in.
      	(start_stretching), (ungrab_stretch_icon), (end_stretching),
      	(gnome_icon_container_show_stretch_handles): Added code to grab
      	the pointer while stretching an icon.
      	(item_event_cb): Added a return statement that John forgot when
      	he was editing. Without that, it was falling through to the next
      	case, which had the same effect anyway.
      	(update_icon): Pass the text rectangle through from the icon
      	factory to the icon canvas item, using the new call instead of the
      	old arg interface approach.
      
      	* components/help/.cvsignore: Added entries for
      	.la and .lo files.
      
      	* components/help/Makefile.am:
      	* components/help/hyperbola-nav-index.c:
      	* components/help/hyperbola-nav-search.c:
      	* libnautilus/nautilus-directory-private.h:
      	* libnautilus/nautilus-directory.c:
      	* src/nautilus-bookmarklist.c:
      	Fixed flags for gnome-xml
      	includes. Someone pointed out that you are supposed to include
      	these as "#include <tree.h>", not "#include <gnome-xml/tree.h>" so
      	I fixed our uses to work that way.
      
      	* libnautilus/nautilus-directory.c:
      	(nautilus_directory_get_file_metadata_node): Fixed code that was
      	destroying something allocated by gnome-xml with g_free instead
      	of xmlFree.
      
      	* libnautilus/nautilus-file.c:
      	(nautilus_file_get_keywords), (nautilus_file_set_keywords):
      	Fixed storage leak where we were getting a property and not freeing it.
      
      	* libnautilus/nautilus-default-file-icon.h:
      	* libnautilus/nautilus-default-file-icon.c:
      	* libnautilus/nautilus-icon-factory.c:
      	(load_image_for_scaling): Got rid of the global that tells whether
      	the default icon has an alpha channel -- it's not hardwired TRUE.
      bdf3c6c1
  24. 08 Mar, 2000 1 commit
    • Darin Adler's avatar
      Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch]. · 6ba4e1e5
      Darin Adler authored
      	* components/music/nautilus-music-view.c,
      	components/notes/ntl-notes.c, libnautilus/Makefile.am,
      	libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.h,
      	libnautilus/nautilus-directory.c,
      	libnautilus/nautilus-file-private.h, libnautilus/nautilus-file.h,
      	libnautilus/nautilus-file.c, libnautilus/nautilus-icon-factory.h,
      	src/ntl-index-panel.c, src/file-manager/fm-directory-view.h:
      	Broke the file part of nautilus-directory.[ch] into
      	nautilus-file.[ch].
      
      	* libnautilus/nautilus-string.c (nautilus_strstrip): Added more
      	tests. Changed algorithm on strstrip so it's linear instead of
      	n^2.
      
      	* libnautilus/gnome-icon-container.c
      	(gnome_icon_container_initialize): Fixed font for "larger" zoom
      	level. Also made it assert if the font can't be loaded.
      
      	* components/help/hyperbola-nav-index.c (despace):
      	Fixed warning.
      
      	* libnautilus/gnome-icon-container-dnd.c,
      	libnautilus/nautilus-string.h: Whitespace.
      
      	* src/file-manager/Makefile.am,
      	src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-properties-window.h,
      	src/file-manager/fm-properties-window.c: Added properties window
      	hook, but no window yet. The menu item still needs to be added to
      	the main menus as well as the context menus.
      
      	* src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-directory-view-icons.c,
      	src/file-manager/fm-icon-text-window.h,
      	src/file-manager/fm-icon-text-window.c: A little cleanup. Shorter
      	names.
      6ba4e1e5
  25. 06 Mar, 2000 1 commit
  26. 03 Mar, 2000 2 commits
  27. 20 Feb, 2000 1 commit
    • Maciej Stachowiak's avatar
      Changed NautilusViewFrame to allow creation of `Nautilus::View' objects · 53c5e06a
      Maciej Stachowiak authored
      	* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h:
      	Changed NautilusViewFrame to allow creation of `Nautilus::View'
      	objects that have additional interfaces while sharing the actual
      	control. This will allow, for instance, the creation of components
      	that are both a `Nautilus::View' and a `Bonobo::Embeddable'. The
      	basic changes are to require a `BonoboObject' with a
      	`Bonobo::Control' interface at construction time.
      	- Two creation functions are provided: `nautilus_view_frame_new',
      	which takes a GtkWidget, creates a new control that contains that
      	widget, and the constructs a NautilusViewFrame with that control,
      	and `nautilus_view_frame_new_from_control', which creates a
      	NautilusViewFrame that gets added as an additional interface to an
      	existing control.
      	- In the course of doing this it became clear that it would be
      	easier if NautilusViewFrame were changed to inherit from
      	BonoboObject rather than GtkBin, so this was done; as a result,
      	the nautilus_view_frame_get_bonobo_object call was removed, since
      	the view_frame _is_ a bonobo object. However, a
      	nautilus_view_frame_get_bonobo_control call was added as a
      	convenience, to allow other code to avoid having to
      	query_local_interface for the control object manually.
      	* libnautilus/ntl-meta-view-frame.c,
      	libnautilus/ntl-meta-view-frame.h,
      	libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-content-view-frame.h: Analogous changes; mainly,
      	added `nautilus_meta_view_frame_new',
      	`nautilus_meta_view_frame_new_from_control',
      	`nautilus_content_view_frame_new' and
      	`nautilus_content_view_frame_new_from_control'.
      	* components/help/hyperbola-nav-index.c,
      	components/help/hyperbola-nav-tree.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c, components/notes/ntl-notes.c,
      	components/websearch/ntl-web-search.c, src/ntl-app.c,
      	src/file-manager/fm-directory-view.c: Fixed initialization and
      	object creation functions to deal with the above API change.
      53c5e06a
  28. 16 Feb, 2000 1 commit
    • Elliot Lee's avatar
      Fix warning. Update for Bonobo UIH changes. Update repo ID for Bonobo · e8c96238
      Elliot Lee authored
      
      
      * components/help/hyperbola-nav-index.c: Fix warning.
      * components/history/ntl-history-view.c: Update for Bonobo UIH changes.
      * components/html/main.c: Update repo ID for Bonobo changes.
      * src/ntl-view-bonobo-control.c: Likewise
      * src/ntl-view-bonobo-subdoc.c: Likewise
      * src/ntl-view-nautilus.c: Likewise
      * src/ntl-view.c: Only check for death every other second.
      * components/html/ntl-web-browser: Debugging printfs for now
      e8c96238
  29. 14 Feb, 2000 1 commit
    • Elliot Lee's avatar
      Revert. More work. · b3342238
      Elliot Lee authored
      
      
      * src/ntl-window-msgs.c: Revert.
      * components/help/hyperbola-nav-index.c: More work.
      b3342238
  30. 11 Feb, 2000 1 commit