1. 21 Oct, 2003 1 commit
    • Alexander Larsson's avatar
      Fix leaks. Patch from Martin Wehner <martin.wehner@epost.de> · a3cc3425
      Alexander Larsson authored
      2003-10-21  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-desktop-link.c:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-icon-factory.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmark-list.c:
      	Fix leaks.
      	Patch from Martin Wehner <martin.wehner@epost.de>
      a3cc3425
  2. 18 Sep, 2002 1 commit
  3. 12 Aug, 2002 1 commit
    • Dave Camp's avatar
      Unref target_uri before returning when eel_uri_is_trash · 0459d0d0
      Dave Camp authored
      2002-08-12  Dave Camp  <dave@ximian.com>
      
      	* libnautilus-private/nautilus-dnd.c:
      	(nautilus_drag_default_drop_action_for_icons): Unref target_uri
      	before returning when eel_uri_is_trash (target_uri_string).
      	* libnautilus-private/nautilus-file-operations.c:
      	(append_basename): Free the filename returned from
      	gnome_vfs_uri_etract_short_name().
      	* libnautilus-private/nautilus-theme.c: (attributes_free): Free
      	the attributes struct.
      	* libnautilus-private/nautilus-undo-manager.c: (finalize): Free
      	the details struct.
      	* src/nautilus-bookmark-list.c: (append_bookmark_node): Free the
      	mime type string.
      0459d0d0
  4. 08 Jul, 2002 1 commit
    • Gregory Merchan's avatar
      Modified Files: ChangeLog components/music/nautilus-music-view.c · 192f597c
      Gregory Merchan authored
      
      Modified Files:
      	ChangeLog components/music/nautilus-music-view.c
      	components/news/nautilus-news.c
      	libnautilus-private/nautilus-customization-data.c
      	libnautilus-private/nautilus-directory-async.c
      	libnautilus-private/nautilus-file-utilities.c
      	libnautilus-private/nautilus-file-utilities.h
      	libnautilus-private/nautilus-find-icon-image.c
      	libnautilus-private/nautilus-icon-factory.c
      	libnautilus-private/nautilus-link-historical.c
      	libnautilus-private/nautilus-theme.c
      	src/nautilus-application.c src/nautilus-bookmark-list.c
      	src/nautilus-first-time-druid.c
      	src/nautilus-property-browser.c src/nautilus-window-menus.c
      	src/file-manager/fm-desktop-icon-view.c
      Removed nautilus_make_path and calls to it. Fixes bug #42424
      192f597c
  5. 10 May, 2002 1 commit
  6. 07 Mar, 2002 1 commit
    • Darin Adler's avatar
      Because lots of recent bugs were due to "signal handler called after · 136742e4
      Darin Adler authored
      	* Tons of files:
      	Because lots of recent bugs were due to "signal handler called after
      	object gone" problems, switched many calls of g_signal_connect and
      	g_signal_connect_swapped to use g_signal_connect_object instead.
      	Also did other signal-related cleanup and changed some destroys to
      	finalizes.
      
      	* libnautilus/nautilus-view-standard-main.h:
      	We no longer need to include nautilus-view.h in here. So include it
      	in the files that use this instead.
      
      	Did merges from stable branch:
      
      	2001-10-25  Darin Adler  <darin@bentspoon.com>
      
              * libnautilus-private/nautilus-directory.c:
              (call_files_changed_common), (call_files_changed_free_list),
              (call_files_changed_unref_free_list),
              (nautilus_directory_notify_files_changed): Move call to
              nautilus_directory_add_file_to_work_queue into a better
              bottleneck; now it catches all the notify cases, not just changed.
              Also tell it to re-get top-left text and link info too when we get
              a changed notice.
      
              * src/file-manager/fm-directory-view.c: (queue_pending_files):
              Don't use the timeout (and the hysteresis) when queuing files once
              the initial directory load is complete. Doing this was causing
              delays processing changes that came in later, which we don't want.
      
              * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
      	(update_all), (nautilus_sidebar_title_set_file): Monitor the
      	directory count once we get it the first time. This makes sure
      	that changes in the directory count get reflected in the sidebar
      	without creating a race with the main view to see who calculates
      	it first.
      
      	2001-10-25  Alex Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-directory.c
      	(nautilus_directory_notify_files_changed): Call
      	nautilus_directory_add_file_to_work_queue() when file_info is
      	invalidated.  Otherwise it will not be read again.
      136742e4
  7. 01 Mar, 2002 1 commit
    • Darin Adler's avatar
      Move reset constant into header. · 114ba832
      Darin Adler authored
      	* libnautilus-private/nautilus-dnd.h:
      	Move reset constant into header.
      
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_get_display_name): Use g_locale_to_utf8, so this
      	works even when G_BROKEN_FILENAMES is not set.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	Rearrange and clean up code a bit.
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_destroy), (add_new_pattern),
      	(show_color_selection_window), (add_new_color), (add_new_emblem):
      
      	* src/nautilus-sidebar-title.c: (update_icon): Get rid of dead
      	code that gets uri and doesn't use it. It's been showing up in bug
      	reports too, so this is especially nice.
      
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_manage_views_destroy),
      	(nautilus_window_manage_views_finalize): Break this up into two
      	functions again.
      
      	* src/nautilus-window.c: (nautilus_window_destroy): Re-add this,
      	because some of the cleanup has to be done at destroy time.
      	(nautilus_window_finalize): Move some of this out.
      	(nautilus_window_class_init): Set up both.
      
      	* components/text/nautilus-text-view.c:
      	* components/tree/nautilus-tree-model.c:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/nautilus-bookmark-list.c:
      	Miscellaneous porting to new names of functions, getting off
      	less-desirable functions.
      114ba832
  8. 14 Feb, 2002 1 commit
    • jacob berkman's avatar
      add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated · 8d0aed09
      jacob berkman authored
      2002-02-14  jacob berkman  <jacob@ximian.com>
      
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to
      	disable glib, gtk, and gnome deprecated calls
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/nautilus-about.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-main.c:
      	* src/nautilus-navigation-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-tabs.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-switchable-navigation-bar.c:
      	* src/nautilus-switchable-search-bar.c:
      	* src/nautilus-theme-selector.c:
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window-toolbars.c:
      	* src/nautilus-window.c:
      	* src/nautilus-zoom-control.c: port to non-deprecated calls.  This
      	was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal
      8d0aed09
  9. 12 Feb, 2002 1 commit
    • Darin Adler's avatar
      Require at least libxml 2.4.7, since that's the version where xmlFree and · 0d571733
      Darin Adler authored
      	* configure.in: Require at least libxml 2.4.7, since that's
      	the version where xmlFree and friends were moved out of
      	<libxml/xmlmemory.h>.
      
      	* 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-find-icon-image.c:
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	* libnautilus-private/nautilus-link-historical.c:
      	* libnautilus-private/nautilus-link.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-theme.c:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-window-menus.c:
      	Remove unneeded include of <libxml/xmlmemory.h>.
      
      	* components/tree/nautilus-tree-model.c: (get_node_uri): New,
      	used only for logging ref. counts.
      	(decrement_ref_count): New.
      	(abandon_node_ref_count): New.
      	(abandon_dummy_row_ref_count): New.
      	(report_dummy_row_inserted): Do nothing if the parent is not yet
      	in the inserted state.
      	(report_dummy_row_deleted): Make it abandon any lingering ref
      	count that's still in the dummy row.
      	(report_node_inserted): Make it report that the dummy node is
      	inserted if the node starts with a dummy child. Also, set the new
      	inserted state so we know this node is live.
      	(report_node_contents_changed): Do nothing if the node is not
      	yet in the inserted state.
      	(report_node_has_child_toggled): Do nothing if the node is not yet
      	in the inserted state.
      	(report_dummy_row_contents_changed): Do nothing if the parent is
      	not yet in the inserted state.
      	(stop_monitoring_directory): Set done_loading to FALSE so we'll get
      	a dummy node for directories we are not monitoring.
      	(destroy_node_without_reporting): Abandon any ref count left in the
      	node. Also set the inserted state to FALSE before destroying children.
      	(destroy_node): Report if the parent gains a dummy node as a result
      	of destroying this node.
      	(update_node_without_reporting): Don't clear done_loading any more,
      	since stop_monitoring_directory does it now.
      	(reparent_node): Abandon any ref count that's still in the node
      	before reparenting it.
      	(schedule_destroy_unneeded_children): New.
      	(last_child_unref): Use new schedule_destroy_unneeded_children
      	function so we cna share code with the new abandon ref count functions.
      	(nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add
      	some logging for debugging purposes.
      
      	* components/tree/nautilus-tree-view.c: (compare_rows): Sort function
      	to use when GtkTreeModelSort works.
      	(create_tree): Hook up sort function.
      0d571733
  10. 07 Dec, 2001 1 commit
  11. 01 Dec, 2001 1 commit
    • Darin Adler's avatar
      Skip over non-element nodes when walking libxml DOM tree. · f576768c
      Darin Adler authored
      	* src/nautilus-property-browser.c: (remove_color),
      	(make_properties_from_xml_node),
      	(nautilus_property_browser_update_contents):
      	Skip over non-element nodes when walking libxml DOM tree.
      
      	* libnautilus-private/nautilus-theme.c:
      	(nautilus_theme_get_theme_data_from_theme): Whitespace tweak.
      f576768c
  12. 09 Nov, 2001 1 commit
  13. 06 Nov, 2001 1 commit
  14. 04 Nov, 2001 2 commits
  15. 30 Oct, 2001 1 commit
  16. 28 Oct, 2001 1 commit
  17. 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
  18. 15 Aug, 2001 1 commit
    • Darin Adler's avatar
      A pass at cleaning up the volume monitor. Made all the details of · c4b8cdd4
      Darin Adler authored
      	NautilusVolume private.
      
      	* libnautilus-private/filesystem-attributes.xml: Changed the
      	"description" string to be named "default_volume_name" and also
      	marked it to be localized.
      
      	* libnautilus-private/nautilus-file-utilities.h:
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_data_file_path):
      	Added a new utility function to locate a file that's either in the
      	user's directory or in the Nautilus datadir.
      
      	* src/nautilus-property-browser.c: (read_browser_xml): Use
      	nautilus_get_data_file_path.
      
      	* libnautilus-private/nautilus-trash-directory.c:
      	(get_trash_volume):
      	* libnautilus-private/nautilus-trash-monitor.c:
      	(add_one_volume_trash):
      	* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
      	(create_unique_volume_name), (create_mount_link),
      	(volume_unmounted_callback), (update_disks_menu):
      	* src/nautilus-application.c: (volume_mounted_callback),
      	(volume_unmounted_callback):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_get_file_path):
      	Use only calls from the NautilusVolume public API -- no getting at
      	the structure directly. Also fix callers that were using
      	nautilus_volume_monitor_get_volume_mount_uri to correctly
      	understand that they get the mount path, not the mount URI.
      
      	* libnautilus-private/nautilus-volume-monitor.h:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	(load_file_system_table): Fix storage leaks. Use the new
      	nautilus_get_data_file_path. Translate the default volume names as
      	they are loaded. Check for duplicate entries while loading the
      	table. Don't bother checking the name of the root node, since
      	there are plenty of other things about the file that we don't
      	check and there's no reason we particularly need to check that.
      	Fix some storage leaks. Free the doc, since I'm not seeing a
      	"nautilus --quit" segfault.
      	(nautilus_volume_monitor_initialize): Only initialize stuff that
      	g_new0 won't set up for us.
      	(nautilus_volume_is_removable): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(volume_is_removable): Fix logic so we don't have to have so many
      	different calls to fclose.
      	(nautilus_volume_get_name): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(modify_volume_name_for_display): Don't bother supplying a name if
      	passed NULL, since that won't ever be helpful the way this is used.
      	(nautilus_volume_get_target_uri): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(nautilus_volume_should_integrate_trash): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor. Get the information
      	from the file system type, so we don't have to copy it into each
      	NautilusVolume object.
      	(nautilus_volume_get_mount_path): Rename so it's a call on
      	NautilusVolume, and don't call it a URI since it's really a path.
      	(nautilus_volume_get_device_type): New call.
      	(make_volume_name_from_path): Get the default from the file system
      	type rather than passing it in.
      	(free_mount_list): Get rid of some dumb extra code.
      	(copy_volume), (nautilus_volume_free): Update for smaller set of
      	fields.
      	(create_volume), (finish_creating_volume),
      	(finish_creating_volume_and_prepend): Restructure so we don't need
      	to keep so much stuff around in the NautilusVolume object.
      
      	* src/nautilus-first-time-druid.c:
      	(druid_set_first_time_file_flag): Some tiny tweaking.
      c4b8cdd4
  19. 04 May, 2001 1 commit
  20. 01 May, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · d9195bab
      Darin Adler authored
      	Some enhancements to icon lookup.
      
      	* libnautilus-extensions/nautilus-icon-factory.h:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_mime_type_icon_without_suffix): Function used to strip suffixes
      	out so we can have file suffixes in the gnome-vfs icon database, but
      	can ignore them and look at all suffixes for the named icon.
      	(make_icon_name_from_mime_type): Construct an icon name for types
      	that don't specify a particular icon. This allows theme designers
      	to make icons for any MIME type.
      	(get_icon_name_for_regular_file): Use the new "without suffix" call.
      	This requires changing this function to return a strdup'd name.
      	(get_icon_name_for_directory), (get_icon_name_for_file): Change to
      	return a strdup'd name.
      	(make_full_icon_path): Do the file exists check in here (was
      	already doing it in some cases) and also call
      	gnome_vfs_icon_path_from_filename.
      	(get_themed_icon_file_path): Get rid of redundant g_file_exists
      	checks and gnome_vfs_icon_path_from_filename call, since both are
      	now handled inside make_full_icon_path.
      	(nautilus_scalable_icon_get_text_pieces),
      	(nautilus_scalable_icon_new_from_text_pieces),
      	(nautilus_scalable_icon_unref), (nautilus_scalable_icon_hash),
      	(nautilus_scalable_icon_equal): Add MIME type to the scalable
      	icons.
      	(nautilus_icon_factory_get_icon_for_file): Pass in the MIME type.
      	(nautilus_icon_factory_get_emblem_icon_by_name): Pass NULL for
      	MIME type.
      	(load_pixbuf_svg): Change to pass in boolean for emblem hack since
      	we don't always have an icon name.
      	(load_icon_from_path): New function, share common code.
      	(load_named_icon): New function, share common code.
      	(load_specific_icon): Try icon based on MIME type first, then fall
      	back on the name specified.
      	(nautilus_icon_factory_get_pixbuf_from_name): Pass NULL for MIME
      	type.
      	(load_icon_with_embedded_text): Pass in the MIME type.
      
      	* src/nautilus-bookmark-list.c: (append_bookmark_node):
      	* src/nautilus-bookmark-parsing.c:
      	(nautilus_bookmark_new_from_node):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_icon_is_different),
      	(nautilus_bookmark_set_icon_to_default):
      	Update to deal with MIME types in scalable icons.
      
      	* components/help/hyperbola-filefmt.c:
      	(fmt_scrollkeeper_parse_toc_section),
      	(fmt_scrollkeeper_parse_doc_toc),
      	(fmt_scrollkeeper_parse_document),
      	(fmt_scrollkeeper_parse_section), (fmt_scrollkeeper_parse_xml),
      	(fmt_scrollkeeper_trim_empty_branches),
      	(fmt_scrollkeeper_tree_empty), (fmt_scrollkeeper_populate_tree),
      	(remove_leading_and_trailing_white_spaces), (fmt_toplevel_add_doc),
      	(get_path_from_node), (has_content), (fmt_toplevel_parse_xml_tree):
      	Made more compatible with libxml by not using the content field
      	directly and using xmlChildrenNode and xmlRootNode.
      
      	* libnautilus-extensions/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_get): Fixed NautilusDirectory leak.
      
      	* THANKS: Added some more translator credits.
      	* check-THANKS.pl: Fixed some email addresses and such.
      
      	* icons/ardmore/.cvsignore:
      	* icons/arlo/.cvsignore,
      	* icons/arlo/backgrounds/.cvsignore:
      	* icons/arlo/sidebar_tab_pieces/.cvsignore:
      	* icons/villanova/.cvsignore:
      	Removed these again.
      d9195bab
  21. 13 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Fix overeager search and replace of eel with nautilus. These functions got · ce0c0e5b
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_get_pixbuf), (nautilus_bookmark_get_icon),
      	(nautilus_bookmark_icon_is_different),
      	(nautilus_bookmark_update_icon),
      	(nautilus_bookmark_set_icon_to_default),
      	(nautilus_bookmark_disconnect_file),
      	(nautilus_bookmark_new_with_icon):
      	* libnautilus-extensions/nautilus-dateedit-extensions.c:
      	(nautilus_gnome_date_edit_get_date_as_string):
      	* libnautilus-extensions/nautilus-dateedit-extensions.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(cache_key_destroy), (nautilus_scalable_icon_get_text_pieces),
      	(nautilus_scalable_icon_new_from_text_pieces),
      	(nautilus_scalable_icon_ref), (nautilus_scalable_icon_unref),
      	(nautilus_icon_factory_get_icon_for_file),
      	(nautilus_icon_factory_get_emblem_icon_by_name),
      	(get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_file),
      	(nautilus_icon_factory_get_pixbuf_from_name),
      	(load_icon_with_embedded_text), (nautilus_scalable_icon_list_free):
      	* libnautilus-extensions/nautilus-icon-factory.h:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(launch_mime_capplet):
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application),
      	(nautilus_launch_application_from_command):
      	* libnautilus-extensions/nautilus-program-choosing.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(change_background_callback):
      	* src/file-manager/fm-directory-view.c: (run_script_callback),
      	(activate_callback):
      	* src/file-manager/fm-list-view.c:
      	(fm_list_view_get_emblem_pixbufs_for_file):
      	* src/nautilus-bookmark-list.c: (append_bookmark_node):
      	* src/nautilus-bookmark-parsing.c:
      	(nautilus_bookmark_new_from_node):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_get_location):
      	* src/nautilus-sidebar-title.c: (update_emblems):
      	Fix overeager search and replace of eel with nautilus.  These
      	functions got accidentally eel-ized.
      ce0c0e5b
  22. 04 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Remove librsvg. · fbbaf803
      Ramiro Estrugo authored
      	* Makefile.am:
      	Remove librsvg.
      
      	* librsvg/.cvsignore:
      	* librsvg/Makefile.am:
      	* librsvg/art_render.c:
      	* librsvg/art_render.h:
      	* librsvg/art_render_gradient.c:
      	* librsvg/art_render_gradient.h:
      	* librsvg/art_render_mask.c:
      	* librsvg/art_render_mask.h:
      	* librsvg/art_render_svp.c:
      	* librsvg/art_render_svp.h:
      	* librsvg/art_rgba.c:
      	* librsvg/art_rgba.h:
      	* librsvg/example-nested-transform.svg:
      	* librsvg/makefile-simple:
      	* librsvg/opacity.svg:
      	* librsvg/rsvg-bpath-util.c:
      	* librsvg/rsvg-bpath-util.h:
      	* librsvg/rsvg-css.c:
      	* librsvg/rsvg-css.h:
      	* librsvg/rsvg-defs.c:
      	* librsvg/rsvg-defs.h:
      	* librsvg/rsvg-ft.c:
      	* librsvg/rsvg-ft.h:
      	* librsvg/rsvg-paint-server.c:
      	* librsvg/rsvg-paint-server.h:
      	* librsvg/rsvg-path.c:
      	* librsvg/rsvg-path.h:
      	* librsvg/rsvg.c:
      	* librsvg/rsvg.h:
      	* librsvg/subpixel-text-test:
      	* librsvg/test-ft-gtk.c:
      	* librsvg/test-ft.c:
      	* librsvg/test-rsvg.c:
      	* librsvg/test.svg:
      	Move librsvg to its own top level GNOME CVS module.
      
      	* configure.in:
      	Add librsvg and eel dependencies.
      	Remove librsvg and font entries.
      
      	* nautilus.spec.in:
      	Remove font entries.  Add librsvg and eel requirements.
      
      	* data/Makefile.am:
      	* data/fonts/.cvsignore:
      	* data/fonts/Makefile.am:
      	* data/fonts/urw/.cvsignore:
      	* data/fonts/urw/Makefile.am:
      	* data/fonts/urw/README:
      	* data/fonts/urw/fonts.dir:
      	* data/fonts/urw/n019003l.afm:
      	* data/fonts/urw/n019003l.pfb:
      	* data/fonts/urw/n019003l.pfm:
      	* data/fonts/urw/n019004l.afm:
      	* data/fonts/urw/n019004l.pfb:
      	* data/fonts/urw/n019004l.pfm:
      	* data/fonts/urw/n019023l.afm:
      	* data/fonts/urw/n019023l.pfb:
      	* data/fonts/urw/n019023l.pfm:
      	* data/fonts/urw/n019024l.afm:
      	* data/fonts/urw/n019024l.pfb:
      	* data/fonts/urw/n019024l.pfm:
      	Retire default fonts.  These now live in eel.
      
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_destroy):
      	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
      	Update for eel changes.  Use eel-gtk-macros.
      
      	* nautilus-installer/src/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_destroy),
      	(nautilus_druid_page_eazel_finalize),
      	(nautilus_druid_page_eazel_size_allocate),
      	(nautilus_druid_page_eazel_size_request):
      	Update for eel changes.  Use eel-gtk-macros.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	* libnautilus-extensions/nautilus-bonobo-extensions.h:
      	* libnautilus-extensions/nautilus-bookmark.c:
      	* libnautilus-extensions/nautilus-ctree.c:
      	* libnautilus-extensions/nautilus-customization-data.c:
      	* libnautilus-extensions/nautilus-dateedit-extensions.c:
      	* libnautilus-extensions/nautilus-dateedit-extensions.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	* libnautilus-extensions/nautilus-directory-background.c:
      	* libnautilus-extensions/nautilus-directory-background.h:
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	* libnautilus-extensions/nautilus-directory.c:
      	* libnautilus-extensions/nautilus-drag-window.c:
      	* libnautilus-extensions/nautilus-drag.c:
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	* libnautilus-extensions/nautilus-druid.c:
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	* libnautilus-extensions/nautilus-file-operations.c:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	* libnautilus-extensions/nautilus-file.c:
      	* libnautilus-extensions/nautilus-font-factory.c:
      	* libnautilus-extensions/nautilus-gconf-extensions.c:
      	* libnautilus-extensions/nautilus-generous-bin.c:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	* libnautilus-extensions/nautilus-icon-canvas-item.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	* libnautilus-extensions/nautilus-icon-factory.h:
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	* libnautilus-extensions/nautilus-link-set.c:
      	* libnautilus-extensions/nautilus-link.c:
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	* libnautilus-extensions/nautilus-list.c:
      	* libnautilus-extensions/nautilus-medusa-support.c:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	* libnautilus-extensions/nautilus-metafile-factory.c:
      	* libnautilus-extensions/nautilus-metafile.c:
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	* libnautilus-extensions/nautilus-preferences-group.c:
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	* libnautilus-extensions/nautilus-preferences.c:
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	* libnautilus-extensions/nautilus-program-choosing.h:
      	* libnautilus-extensions/nautilus-search-uri.c:
      	* libnautilus-extensions/nautilus-sidebar-functions.c:
      	* libnautilus-extensions/nautilus-tabs.c:
      	* libnautilus-extensions/nautilus-theme.c:
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	* libnautilus-extensions/nautilus-trash-file.c:
      	* libnautilus-extensions/nautilus-trash-monitor.c:
      	* libnautilus-extensions/nautilus-undo-context.c:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	Use new eel library.
      
      	* libnautilus-extensions/nautilus-art-extensions.c:
      	* libnautilus-extensions/nautilus-art-extensions.h:
      	* libnautilus-extensions/nautilus-art-gtk-extensions.c:
      	* libnautilus-extensions/nautilus-art-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	* libnautilus-extensions/nautilus-background-canvas-group.h:
      	* libnautilus-extensions/nautilus-background.c:
      	* libnautilus-extensions/nautilus-background.h:
      	* libnautilus-extensions/nautilus-caption-table.c:
      	* libnautilus-extensions/nautilus-caption-table.h:
      	* libnautilus-extensions/nautilus-caption.c:
      	* libnautilus-extensions/nautilus-caption.h:
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	* libnautilus-extensions/nautilus-clickable-image.h:
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	* libnautilus-extensions/nautilus-debug-drawing.h:
      	* libnautilus-extensions/nautilus-debug.c:
      	* libnautilus-extensions/nautilus-debug.h:
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	* libnautilus-extensions/nautilus-ellipsizing-label.h:
      	* libnautilus-extensions/nautilus-enumeration.c:
      	* libnautilus-extensions/nautilus-enumeration.h:
      	* libnautilus-extensions/nautilus-font-manager.c:
      	* libnautilus-extensions/nautilus-font-manager.h:
      	* libnautilus-extensions/nautilus-font-picker.c:
      	* libnautilus-extensions/nautilus-font-picker.h:
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-extensions.h:
      	* libnautilus-extensions/nautilus-gdk-font-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-font-extensions.h:
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glyph.c:
      	* libnautilus-extensions/nautilus-glyph.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-graphic-effects.c:
      	* libnautilus-extensions/nautilus-graphic-effects.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	* libnautilus-extensions/nautilus-image-table.c:
      	* libnautilus-extensions/nautilus-image-table.h:
      	* libnautilus-extensions/nautilus-image-with-background.c:
      	* libnautilus-extensions/nautilus-image-with-background.h:
      	* libnautilus-extensions/nautilus-image.c:
      	* libnautilus-extensions/nautilus-image.h:
      	* libnautilus-extensions/nautilus-label-with-background.c:
      	* libnautilus-extensions/nautilus-label-with-background.h:
      	* libnautilus-extensions/nautilus-label.c:
      	* libnautilus-extensions/nautilus-label.h:
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	* libnautilus-extensions/nautilus-labeled-image.h:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	* libnautilus-extensions/nautilus-password-dialog.h:
      	* libnautilus-extensions/nautilus-radio-button-group.c:
      	* libnautilus-extensions/nautilus-radio-button-group.h:
      	* libnautilus-extensions/nautilus-region.c:
      	* libnautilus-extensions/nautilus-region.h:
      	* libnautilus-extensions/nautilus-scalable-font-private.h:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-self-checks.c:
      	* libnautilus-extensions/nautilus-self-checks.h:
      	* libnautilus-extensions/nautilus-smooth-text-layout-cache.c:
      	* libnautilus-extensions/nautilus-smooth-text-layout-cache.h:
      	* libnautilus-extensions/nautilus-smooth-text-layout.c:
      	* libnautilus-extensions/nautilus-smooth-text-layout.h:
      	* libnautilus-extensions/nautilus-smooth-widget.c:
      	* libnautilus-extensions/nautilus-smooth-widget.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-string-list.c:
      	* libnautilus-extensions/nautilus-string-list.h:
      	* libnautilus-extensions/nautilus-string-map.c:
      	* libnautilus-extensions/nautilus-string-map.h:
      	* libnautilus-extensions/nautilus-string-picker.c:
      	* libnautilus-extensions/nautilus-string-picker.h:
      	* libnautilus-extensions/nautilus-string.c:
      	* libnautilus-extensions/nautilus-string.h:
      	* libnautilus-extensions/nautilus-text-caption.c:
      	* libnautilus-extensions/nautilus-text-caption.h:
      	* libnautilus-extensions/nautilus-viewport.c:
      	* libnautilus-extensions/nautilus-viewport.h:
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	* libnautilus-extensions/nautilus-wrap-table.h:
      	* libnautilus-extensions/nautilus-xml-extensions.c:
      	* libnautilus-extensions/nautilus-xml-extensions.h:
      	Remove these files.  These are all part of eel now.
      
      	* applets/launcher/nautilus-launcher-applet.c:
      	* applets/preferences-applet/nautilus-preferences-applet.c:
      	* components/adapter/Makefile.am:
      	* components/adapter/main.c:
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	* components/adapter/nautilus-adapter-factory-server.c:
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	* components/adapter/nautilus-adapter.c:
      	* components/hardware/Makefile.am:
      	* components/hardware/nautilus-hardware-view.c:
      	* components/help/Makefile.am:
      	* components/help/help-method.c:
      	* components/help/hyperbola-filefmt.c:
      	* components/help/hyperbola-nav-tree.c:
      	* components/history/Makefile.am:
      	* components/history/nautilus-history-view.c:
      	* components/image-viewer/Makefile.am:
      	* components/image-viewer/nautilus-image-view.c:
      	* components/loser/content/Makefile.am:
      	* components/loser/content/nautilus-content-loser.c:
      	* components/loser/sidebar/Makefile.am:
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	* components/mozilla/Makefile.am:
      	* components/mozilla/bonobo-extensions.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* components/music/Makefile.am:
      	* components/music/nautilus-music-view.c:
      	* components/notes/Makefile.am:
      	* components/notes/nautilus-notes.c:
      	* components/rpmview/Makefile.am:
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	* components/rpmview/nautilus-rpm-view-install.c:
      	* components/rpmview/nautilus-rpm-view.c:
      	* components/sample/nautilus-sample-content-view.c:
      	* components/services/install-view/Makefile.am:
      	* components/services/install-view/callbacks.c:
      	* components/services/install-view/forms.c:
      	* components/services/install-view/nautilus-service-install-view.c:
      	* components/services/install/lib/eazel-install-logic2.c:
      	* components/services/install/server/main.c:
      	* components/services/inventory-view/Makefile.am:
      	* components/services/inventory-view/nautilus-inventory-config-page
      	.c:
      	* components/services/inventory-view/nautilus-inventory-disable-pag
      	* components/services/inventory-view/nautilus-inventory-enable-page
      	* components/services/inventory-view/nautilus-inventory-view.c:
      	* components/services/inventory/Makefile.am:
      	* components/services/inventory/eazel-inventory-upload-callback.c:
      	* components/services/inventory/eazel-inventory.c:
      	* components/services/inventory/main.c:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c:
      	* components/services/login/nautilus-view/password-box.c:
      	* components/services/nautilus-dependent-shared/Makefile.am:
      	* components/services/nautilus-dependent-shared/eazel-services-exte
      	nsions.c:
      	* components/services/nautilus-dependent-shared/eazel-services-exte
      	nsions.h:
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c:
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c:
      	* components/services/nautilus-dependent-shared/test-footer-header.
      	c:
      	* components/services/summary/Makefile.am:
      	* components/services/summary/nautilus-summary-callbacks.c:
      	* components/services/summary/nautilus-summary-dialogs.c:
      	* components/services/summary/nautilus-summary-dialogs.h:
      	* components/services/summary/nautilus-summary-footer.c:
      	* components/services/summary/nautilus-summary-menu-items.c:
      	* components/services/summary/nautilus-summary-view-private.h:
      	* components/services/summary/nautilus-summary-view.c:
      	* components/services/time/nautilus-view/main.c:
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.
      	c:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/text/Makefile.am:
      	* components/text/nautilus-text-view.c:
      	* components/throbber/Makefile.am:
      	* components/throbber/main.c:
      	* components/throbber/nautilus-throbber.c:
      	* components/tree/Makefile.am:
      	* components/tree/nautilus-tree-change-queue.c:
      	* components/tree/nautilus-tree-expansion-state.c:
      	* components/tree/nautilus-tree-model.c:
      	* components/tree/nautilus-tree-node.c:
      	* components/tree/nautilus-tree-view-dnd.c:
      	* components/tree/nautilus-tree-view.c:
      	* helper-utilities/authenticate/Makefile.am:
      	* helper-utilities/authenticate/nautilus-authenticate.c:
      	* nautilus-installer/src/nautilus-druid.c:
      	* src/Makefile.am:
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-error-reporting.c:
      	* src/file-manager/fm-icon-text-window.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmark-parsing.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-component-adapter-factory.c:
      	* src/nautilus-desktop-window.c:
      	* src/nautilus-first-time-druid.c:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-main.c:
      	* src/nautilus-navigation-bar.c:
      	* src/nautilus-profiler.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-search-bar.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-tabs.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-signaller.c:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-switchable-navigation-bar.c:
      	* src/nautilus-switchable-search-bar.c:
      	* src/nautilus-theme-selector.c:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window-toolbars.c:
      	* src/nautilus-window.c:
      	* src/nautilus-window.h:
      	* src/nautilus-zoom-control.c:
      	Update for new eel library usage.
      
      	* test/test-nautilus-background.c:
      	* test/test-nautilus-clickable-image.c:
      	* test/test-nautilus-font-manager.c:
      	* test/test-nautilus-font-picker.c:
      	* test/test-nautilus-font-simple.c:
      	* test/test-nautilus-font.c:
      	* test/test-nautilus-glyph-simple.c:
      	* test/test-nautilus-glyph.c:
      	* test/test-nautilus-image-background.c:
      	* test/test-nautilus-image-scrolled.c:
      	* test/test-nautilus-image-simple.c:
      	* test/test-nautilus-image-table.c:
      	* test/test-nautilus-image-tile.c:
      	* test/test-nautilus-image.c:
      	* test/test-nautilus-label-background.c:
      	* test/test-nautilus-label-flavorful.c:
      	* test/test-nautilus-label-offset.c:
      	* test/test-nautilus-label-scrolled.c:
      	* test/test-nautilus-label-simple.c:
      	* test/test-nautilus-label-wrapped.c:
      	* test/test-nautilus-label.c:
      	* test/test-nautilus-labeled-image.c:
      	* test/test-nautilus-password-dialog.c:
      	* test/test-nautilus-pixbuf-tile.c:
      	* test/test-nautilus-smooth-text-layout.c:
      	* test/test-nautilus-viewport-constraint.c:
      	* test/test-nautilus-widgets.c:
      	Remove these.  They live in eel now.
      
      	* test/vsignore:
      	* test/kefile.am:
      	* test/st-nautilus-preferences-change.c:
      	* test/st-nautilus-preferences-display.c:
      	* test/st-nautilus-wrap-table.c:
      	* test/st.c:
      	* test/st.h:
      	Update for new eel library usage.
      fbbaf803
  23. 21 Mar, 2001 1 commit
    • John Sullivan's avatar
      Fixed bug 4355: Built-in bookmarks icons change after first view · 65e9e66c
      John Sullivan authored
      	Also reduced the number of times that refresh_bookmarks_menu
      	is called since it was showing up in some profiling.
      
      	* libnautilus-extensions/nautilus-bookmark.h:
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_initialize_class), (nautilus_bookmark_set_name),
      	(bookmark_file_changed_callback): Split the "changed" signal into
      	"appearance_changed" and "content_changed". "appearance_changed" is
      	emitted only if the name or icon change. "content_changed" is emitted
      	if the URI changes.
      
      	* src/nautilus-bookmark-list.c: (insert_bookmark_internal):
      	Connect to both appearance_changed and content_changed.
      
      	* src/nautilus-window-menus.c: (bookmark_holder_new):
      	Refresh menu only on appearance_changed, not content_changed.
      
      	* data/static_bookmarks.xml: Added "i-web" as icon name for
      	all the built-in bookmarks, since this is the icon they will
      	end up with after being visited. (Now, visiting a built-in
      	bookmark will not cause a refresh of the bookmarks menu.)
      65e9e66c
  24. 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
  25. 03 Oct, 2000 1 commit
    • Darin Adler's avatar
      More work on whittling the state machine down to size. · 99785dd7
      Darin Adler authored
      	* README: libunicode, libglade, and eog are no longer required.
      
      	* components/history/nautilus-history-view.c:
      	(history_title_changed):
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed),
      	(nautilus_view_initialize_class):
      	* libnautilus/nautilus-view.h:
      	* src/nautilus-view-frame.c: (nautilus_view_frame_title_changed):
      	* src/nautilus-view-frame.h:
      	Added title parameter for the title_changed function.
      
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_report_load_complete): Got rid of extra
      	emission of report_load_complete, which is handled by
      	view_frame_loaded now.
      
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_initialize_class):
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_initialize_class):
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	(iti_class_init):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_initialize_class):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_initialize_class):
      	* src/nautilus-navigation-bar.c:
      	(nautilus_navigation_bar_initialize_class):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_initialize_class):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class):
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_initialize_class):
      	Use GTK_RUN_LAST instead of GTK_RUN_FIRST.
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	* libnautilus-extensions/nautilus-link-set.c:
      	* libnautilus-extensions/nautilus-link.c:
      	* src/file-manager/fm-icon-text-window.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-switchable-search-bar.c:
      	Add includes needed now that the #include <gnome.h> was removed
      	from nautilus-global-preferences.h.
      
      	* libnautilus-extensions/nautilus-string.h:
      	* libnautilus-extensions/nautilus-string.c:
      	(nautilus_strcmp_case_breaks_ties): Added function, like
      	g_strcasecmp, but falls back on strcmp for strings that match
      	case-insensitive-wise.
      	(nautilus_istr_compare): Use nautilus_strcmp_case_breaks_ties
      	instead of nautilus_strcasecmp.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_compare_by_name): Use
      	nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
      	(nautilus_file_compare_by_directory_name): Use
      	nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
      	(get_automatic_emblems_as_integer): Convert automatic emblems to
      	integer form for simple sorting.
      	(prepend_automatic_emblem_names): Separate out the code that puts
      	on automatic emblem names, and make it put them first, before any
      	keyword-based emblems.
      	(nautilus_file_compare_by_emblems): Compare the automatic emblems
      	first, using the integer form.
      	(nautilus_file_compare_by_type): Use
      	nautilus_strcmp_case_breaks_ties instead of nautilus_strcmp.
      	(nautilus_file_compare_for_sort): Use
      	nautilus_strcmp_case_breaks_ties instead of g_strcasecmp.
      	(nautilus_file_compare_name): Use nautilus_strcmp_case_breaks_ties
      	instead of g_strcasecmp.
      	(nautilus_file_is_mime_type): Use nautilus_strcasecmp instead of
      	nautilus_strcmp.
      	(nautilus_file_get_emblem_names): Use
      	prepend_automatic_emblem_names.
      	(sort_keyword_list_and_remove_duplicates): Sort with
      	nautilus_strcmp_case_breaks_ties instead of
      	compare_emblem_names. Automatic emblem names are now dealt with
      	elsewhere.
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(compare_icons_by_name): Use nautilus_strcmp_case_breaks_ties
      	instead of nautilus_strcasecmp.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_g_str_list_sort): Use nautilus_str_compare.
      	(nautilus_g_str_list_sort_case_insensitive): Use
      	nautilus_istr_compare.
      
      	* components/services/vault/command-line/main.c: (main):
      	* test/test-nautilus-mime-actions-set.c: (str_to_action_type):
      	Use g_strcasecmp, not strcasecmp, for portability.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	Removed _get_disabled_sidebar_panel_view_identifiers since the
      	logic now removes any not in the enabled list instead.
      
      	* libnautilus-extensions/nautilus-view-identifier.h:
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_list_copy): New function.
      	(nautilus_view_identifier_compare): Now sorts properly instead of
      	returning 1 for any two identifiers that are !=.
      
      	* nautilus-clean.sh: Removed unadorned gconfd now that it's
      	ancient history and because it makes the script seem to fail all
      	the time.
      
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c:
      	(compute_title): Renamed to a shorter name since it's a local function.
      	(update_title): Renamed to a shorter name since it's a local
      	function and made it do nothing if the title is already correct.
      	(nautilus_window_update_internals): Simplified code by using the
      	new cached title.
      	(nautilus_window_has_really_changed): Removed sidebar panel logic
      	that is no longer needed.
      	(nautilus_window_free_load_info): Remove some unused fields.
      	(nautilus_window_open_location): Removed unused parameter.
      	(nautilus_window_open_location_in_new_window): Removed unused
      	parameter.
      	(load_content_view): Renamed to shorter name since it's a local
      	function.
      	(handle_view_failure), (cancel_location_change),
      	(load_view_for_new_location), (set_view_location_and_selection):
      	Broke out big pieces of code used by the state machine. Soon we
      	won't have a state machine at all, but we'll still need functions
      	like these.
      	(nautilus_window_update_state): Removed a lot of the code and
      	broke the remaining bits into the above functions.
      	(nautilus_window_set_state_info): Removed sidebar management code
      	and some now-unused state variables.
      	(nautilus_window_stop_loading): Moved this function in here and
      	renamed it so the whole state machine is in one place.
      	(nautilus_window_set_content_view): Moved this function in here
      	and renamed it so the whole state machine is in one place.
      	(compare_view_identifier_with_iid),
      	(nautilus_window_set_sidebar_panels): Wrote new code to set up the
      	sidebar panels based on a list of view identifiers, based on the
      	code that was used before when preferences change. Moved here so
      	the whole state machine is in one place.
      
      	* src/nautilus-window-toolbars.c: (toolbar_stop_callback): Call
      	the new function nautilus_window_stop_loading.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_initialize_class):
      	Removed the "content_view" argument.
      	(nautilus_window_goto_uri): Removed the view frame parameter from
      	the open_location call.
      	(nautilus_window_constructed): Set up sidebars based on
      	preferences when the window is created.
      	(nautilus_window_set_arg): Removed the "content_view" argument.
      	(nautilus_window_get_arg): Removed the "content_view" argument.
      	(view_menu_switch_views_callback): Call the new function
      	nautilus_window_set_content_view.
      	(chose_component_callback), Call the new function
      	nautilus_window_set_content_view.
      	(nautilus_window_open_location_callback): Removed the view frame
      	parameter from the open_location call.
      	(nautilus_window_open_location_in_new_window_callback): Removed
      	the view frame parameter from the open_location_in_new_window
      	call.
      	(nautilus_window_connect_view): Don't connect to
      	report_load_progress any more. The view frame now handles this for
      	us.
      	(nautilus_window_set_content_view_widget): Renamed this to avoid
      	confusion with the new nautilus_window_set_content_view which is
      	used to change content views, given a new view identifier.
      	(update_sidebar_panels_from_preferences): Renamed and changed to
      	use the new nautilus_window_set_sidebar_panels call.
      99785dd7
  26. 26 Sep, 2000 1 commit
    • Darin Adler's avatar
      Fixed bug bug 3264 (Tree view shows no branches for directories, · 2cd5440e
      Darin Adler authored
      	...HACK... nodes visible), bug 3290 (changing directory or
      	refreshing causes Gdk to assert), bug 2420 (Need to free original
      	key when removing model node), and other assorted problems.
      
      	* components/tree/nautilus-tree-view.c: (insert_hack_node),
      	(remove_hack_node), (nautilus_tree_view_insert_model_node):
      	Fix problem where the hash table key was neither g_strdup'd on the
      	way in, nor g_free'd on the way out. This caused all the problems
      	with bad nesting in the tree view.
      
      	* nautilus-installer/src/installer.c: (create_pixmap):
      	* src/file-manager/fm-list-view.c: (install_row_images):
      	* src/nautilus-theme-selector.c: (add_theme):
      	Added more checks for NULL before calling gdk_bitmap_unref.
      
      	* src/file-manager/fm-directory-view.c: (no_items_showing):
      	Fixed a NautilusDirectory ref. count leak.
      
      	* libnautilus-extensions/nautilus-font-factory.c:
      	(unref_global_font_factory), (nautilus_get_current_font_factory):
      	Unref the font factory on exit.
      	(nautilus_font_factory_initialize_class), (font_hash_node_free),
      	(free_one_hash_node), (destroy): Added code to actually destroy
      	the font factory.
      	(unref_fixed_font), (nautilus_font_factory_get_fallback_font):
      	Unref the fixed font on exit.
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(unref_global_volume_monitor), (nautilus_volume_monitor_get):
      	Unref the volume monitor on exit.
      	* src/nautilus-signaller.c: (unref_global_signaller),
      	(nautilus_signaller_get_current): Unref the signaller on exit.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_initialize): Replaced some
      	strange FIXMEs with a simpler one.
      	(nautilus_component_adapter_factory_destroy): Fix a CORBA object
      	reference leak.
      	(nautilus_component_adapter_factory_get): Did a ref/sink.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_new):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_new):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_new):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_new):
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_new):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_new), (eazel_install_new_with_config):
      	* components/services/time/service/trilobite-eazel-time-service.c:
      	(trilobite_eazel_time_service_new):
      	* components/services/trilobite/libtrilobite/trilobite-service-pass
      	wordquery.c: (trilobite_passwordquery_new):
      	* components/services/trilobite/libtrilobite/trilobite-service.c:
      	(trilobite_service_new):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_new):
      	* components/tree/nautilus-tree-model.c: (nautilus_tree_model_new):
      	* components/tree/nautilus-tree-node.c: (nautilus_tree_node_new):
      	* cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new):
      	* cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_create):
      	* libnautilus-extensions/nautilus-any-width-bin.c:
      	(nautilus_any_width_bin_new):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_new):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new_with_icon):
      	* libnautilus-extensions/nautilus-caption-table.c:
      	(nautilus_caption_table_new):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_new):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_new):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_new),
      	(nautilus_druid_page_eazel_new_with_vals):
      	* libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new):
      	* libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new):
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	(nautilus_file_operations_progress_new):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_name), (nautilus_file_new_from_info):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_new):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_new):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_new):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_icon_factory):
      	* libnautilus-extensions/nautilus-image.c: (nautilus_image_new):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_new):
      	* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_new):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_new_with_titles):
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	(nautilus_password_dialog_new):
      	* libnautilus-extensions/nautilus-preference.c:
      	(nautilus_preference_new_from_type):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_new):
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	(nautilus_preferences_dialog_new):
      	* libnautilus-extensions/nautilus-preferences-group.c:
      	(nautilus_preferences_group_new):
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(nautilus_preferences_item_new):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_new):
      	* libnautilus-extensions/nautilus-radio-button-group.c:
      	(nautilus_radio_button_group_new):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_new):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_new):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_new):
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(nautilus_undo_context_new):
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(nautilus_undo_manager_new):
      	* libnautilus-extensions/nautilus-user-level-manager.c:
      	(user_level_manager_new):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_new):
      	* libnautilus/nautilus-view.c:
      	(nautilus_view_new_from_bonobo_control):
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_get):
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-property-browser.c: (nautilus_property_browser_new):
      	* src/nautilus-shell.c: (nautilus_shell_new):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu),
      	(nautilus_sidebar_new):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_new):
      	* src/nautilus-throbber.c: (nautilus_throbber_new):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_new):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_new):
      	* src/nautilus-about.c: (nautilus_about_new):
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_create_window):
      	* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new):
      	After Tim Janik explained that gtk_type_new is a low-level call to
      	be avoided, changed most uses of gtk_type_new to gtk_object_new or
      	gtk_widget_new. Also, after Owen and Havoc explained that you
      	can't just ignore the floating bit, added ref/sink calls to the
      	functions used to create objects where we don't use the floating
      	scheme.
      
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_button_press_event): Take advantage of the
      	fact that the new menu is floating and don't bother with ref'ing.
      
      	* libnautilus-extensions/nautilus-ctree.c:
      	(nautilus_ctree_new_with_titles):
      	Added a cast.
      
      	* components/adapter/main.c: (adapter_factory_make_object):
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(eazel_install_callback_get_type), (eazel_install_callback_new):
      	* libnautilus-extensions/nautilus-theme.c:
      	(nautilus_theme_get_theme), (nautilus_theme_set_theme),
      	(nautilus_theme_get_theme_data):
      	Whitespace tweaks.
      2cd5440e
  27. 23 Sep, 2000 1 commit
    • Darin Adler's avatar
      Storage leak fixes. Today I concentrated on leaks that happen · cbf7c584
      Darin Adler authored
      	when you change views from Icon to List View and back.
      
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_insert_model_node): Unref a pixmap and bitmap,
      	free a string.
      	(nautilus_tree_view_update_model_node): Unref a pixmap and bitmap,
      	free a string.
      	(notify_node_seen): Free a string.
      	(nautilus_tree_view_uri_to_name): Removed extra g_strdup.
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(free_hash_tables_at_exit): Free a list.
      	* libnautilus-extensions/nautilus-list.c: (draw_cell): Skip the
      	excess work of re-getting the pixmap and bitmap, not using them,
      	and leaking them.
      	* libnautilus-extensions/nautilus-preferences.c:
      	(preferences_hash_node_remove_callback): Free a list.
      	* src/file-manager/fm-directory-view.c: (queue_pending_files):
      	Free a list.
      	* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
      	Free a string in all code paths (was freed in some before).
      	* src/file-manager/fm-list-view.c: (add_to_list): Free the column
      	text in a way that works even though some columns have NULL.
      	(install_row_images): Unref a pixmap and bitmap.
      
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(destroy_global_rsvg_ft_context),
      	(initialize_global_stuff_if_needed): Free the rsvg_ft font cache
      	at exit.
      	* libnautilus-extensions/nautilus-theme.c: (free_last_theme),
      	(nautilus_theme_get_theme_data): Free the cached theme XML
      	document at exit.
      
      	* components/help/converters/gnome-db2html2/gdb3html.c:
      	(remove_head), (start_element), (end_element), (cdata_block):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_for_each_postorder),
      	(nautilus_tree_model_monitor_add):
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(remove_monitor_link), (dequeue_pending_idle_callback),
      	(remove_callback_link_keep_data), (remove_callback_link):
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_file_receive_dropped_keyword):
      	* libnautilus-extensions/nautilus-file-changes-queue.c:
      	(nautilus_file_changes_queue_get_change):
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	(check_for_thumbnails):
      	* src/file-manager/fm-properties-window.c:
      	(property_button_toggled):
      	* src/nautilus-window-manage-views.c: (handle_go_back),
      	(handle_go_forward):
      	* src/nautilus-window.c: (nautilus_add_to_history_list):
      	Fixed a bunch of callers of g_list_remove_link to also free the
      	removed link. This seems to be an error-prone API from glib.
      	About half of the callers had it wrong.
      
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_delete_item_at),
      	(nautilus_bookmark_list_delete_items_with_uri):
      	* src/nautilus-sidebar.c: (receive_dropped_keyword):
      	Changed to use g_list_free_1 for clarity.
      
      	* src/nautilus-location-bar.c: Coding style tweaks.
      
      	* src/nautilus-main.c: (main): Run the self-checks a second time
      	if they succeed the first time. More thorough check this way (make
      	sure the test works even after it's been run once), and better to
      	notice one-time vs. per-test leaks.
      
      	* tools/leak-checker/nautilus-leak-checker.c: (g_slist_alloc),
      	(g_slist_free), (g_slist_free_1), (g_mem_chunk_new),
      	(g_mem_chunk_destroy), (g_mem_chunk_alloc), (g_mem_chunk_alloc0),
      	(g_mem_chunk_free), (g_mem_chunk_clean), (g_mem_chunk_reset),
      	(g_mem_chunk_print): Made the GSList and GMemChunk code dumb down
      	when using the leak checker.
      
      	* tools/leak-checker/nautilus-leak-checker.c: Added more symbols
      	of "known to leak" functions so we can see the real leakers.
      cbf7c584
  28. 11 Aug, 2000 1 commit
    • Maciej Stachowiak's avatar
      Made copyright headers consistent in style; also made sure to refer to · 175ac684
      Maciej Stachowiak authored
      	* src/nautilus-applicable-views.c,
      	src/nautilus-applicable-views.h, src/nautilus-application.c,
      	src/nautilus-application.h, src/nautilus-bookmark-list.c,
      	src/nautilus-bookmark-list.h, src/nautilus-bookmark-parsing.c,
      	src/nautilus-bookmark-parsing.h, src/nautilus-bookmarks-window.c,
      	src/nautilus-bookmarks-window.h,
      	src/nautilus-complex-search-bar.c,
      	src/nautilus-complex-search-bar.h, src/nautilus-desktop-window.c,
      	src/nautilus-desktop-window.h, src/nautilus-first-time-druid.c,
      	src/nautilus-first-time-druid.h, src/nautilus-history-frame.c,
      	src/nautilus-history-frame.h, src/nautilus-link-set-window.c,
      	src/nautilus-link-set-window.h, src/nautilus-location-bar.c,
      	src/nautilus-location-bar.h, src/nautilus-main.c,
      	src/nautilus-navigation-bar.c, src/nautilus-navigation-bar.h,
      	src/nautilus-property-browser.c, src/nautilus-property-browser.h,
      	src/nautilus-search-bar-private.h, src/nautilus-search-bar.c,
      	src/nautilus-search-bar.h, src/nautilus-self-check-functions.c,
      	src/nautilus-self-check-functions.h, src/nautilus-shell.c,
      	src/nautilus-shell.h, src/nautilus-sidebar-tabs.c,
      	src/nautilus-sidebar-tabs.h, src/nautilus-sidebar-title.c,
      	src/nautilus-sidebar-title.h, src/nautilus-sidebar.c,
      	src/nautilus-sidebar.h, src/nautilus-signaller.c,
      	src/nautilus-signaller.h, src/nautilus-simple-search-bar.c,
      	src/nautilus-simple-search-bar.h,
      	src/nautilus-switchable-navigation-bar.c,
      	src/nautilus-switchable-navigation-bar.h,
      	src/nautilus-switchable-search-bar.c,
      	src/nautilus-switchable-search-bar.h, src/nautilus-toolbar.c,
      	src/nautilus-toolbar.h, src/nautilus-view-frame-bonobo-control.c,
      	src/nautilus-view-frame-bonobo-embeddable.c,
      	src/nautilus-view-frame-corba.c,
      	src/nautilus-view-frame-nautilus-view.c,
      	src/nautilus-view-frame-private.h,
      	src/nautilus-view-frame.c,src/nautilus-view-frame.h,
      	src/nautilus-window-manage-views.c,
      	src/nautilus-window-manage-views.h, src/nautilus-window-menus.c,
      	src/nautilus-window-private.h, src/nautilus-window-toolbars.c,
      	src/nautilus-window.c, src/nautilus-window.h,
      	src/nautilus-zoom-control.c, src/nautilus-zoom-control.h,
      	src/nautilus-zoomable-frame-corba.c: Made copyright headers
      	consistent in style; also made sure to refer to Nautilus as
      	Nautilus, not "this library" or "The GNOME Library".
      175ac684
  29. 09 Aug, 2000 1 commit
    • Darin Adler's avatar
      After this change, you will get a warning each time you exit · 39d0bf45
      Darin Adler authored
      	unless you get the new Bonobo with my destroy-notify bug fix.
      
      	Fixed the "metafile read fails" bug. Fixed a bunch of memory
      	leaks that I found because I added a new function to get rid
      	of hash tables at quit time and there's a hash table with all
      	the NautilusDirectory objects in there. I'm only 1/2 done
      	with what I'm working on, but people need the "read fails"
      	bug fix.
      
      	* components/help/help-method.c: (escape_for_shell),
      	(help_uri_to_string): Improve code that constructs URIs so it
      	doesn't to excessive escaping.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_failed): Fixed a bug that caused it to fail to
      	read "public" metafiles.
      	(new_files_callback): Redid the fix for "NULL names" to check
      	the result from the call instead of checking the name for NULL.
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_connect_background_to_directory_metadata):
      	Got rid of the dummy callback so the NautilusDirectory code
      	knows that only the metadata needs to be monitored.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_get): Got rid of silly ref and sink code.
      	We don't use the floating feature, so we should just ignore it.
      	Use the new function that creates a hash table that should be
      	empty and freed on exit. This helps us detect leaks.
      	(nautilus_directory_file_monitor_add): Got rid of incorrect
      	code that would reject a caller that didn't supply a callback.
      	Callers might want to monitor metadata only, not files.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_name): Got rid of silly ref and sink code.
      	We don't use the floating feature, so we should just ignore it.
      	(modify_link_hash_table), (add_to_link_hash_table_list),
      	(add_to_link_hash_table), (remove_from_link_hash_table_list),
      	(remove_from_link_hash_table): Maintain a hash table to map from
      	a URI to links to that URI.
      	(nautilus_file_new_from_info): Got rid of silly ref and sink code.
      	We don't use the floating feature, so we should just ignore it.
      	To share more code, call nautilus_file_update_info as part of
      	the implementation here.
      	(nautilus_file_update_info): Maintain the hash table entries as
      	the symlink_name field changes.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(free_hash_tables_at_exit),
      	(nautilus_g_hash_table_new_free_at_exit):
      	Added new function to create a hash table that should be empty on
      	exit, check that is is empty, and free it at exit time.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	Got rid of some function-pointer casting.
      
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(call_icon_callback), (nautilus_icon_container_for_each):
      	Added a new call to iterate all the icons in the container.
      	Needed so we can unref all the files when we empty it.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_short_list_applications_for_uri),
      	(nautilus_mime_get_short_list_components_for_uri):
      	Updated for name change: NautilusGPredicateFunc ->
      	NautilusPredicateFunction.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_destroy), (done_loading):
      	Added code to stop and clear when destroying the directory view.
      
      	* src/file-manager/fm-icon-view.c: (unref_cover),
      	(fm_icon_view_clear): Added code to get rid of the refs on all
      	the files when the icon view is cleared.
      
      	* src/file-manager/fm-list-view.c: (fm_list_view_clear): Added
      	code to get rid of the refs on all the files when the icon view is
      	cleared.
      
      	* src/file-manager/nautilus-trash-monitor.h:
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_initialize_class), (destroy),
      	(unref_trash_monitor), (nautilus_trash_monitor_get),
      	(nautilus_trash_monitor_is_empty):
      	Added code to destroy the trash monitor on exit.
      
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_initialize_class), (stop_monitoring_one),
      	(clear), (destroy), (nautilus_bookmark_list_load_file): Added code
      	to clear out the list at destroy time the same way we already did
      	before loading a file.
      
      	* src/nautilus-window-menus.c: (free_bookmark_list),
      	(get_bookmark_list): Add code to free the global bookmark list
      	on exit to help with leak checking.
      	(refresh_go_menu): Changed to use GList instead of GSList.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c: (nautilus_window_destroy):
      	Unref the current_location_bookmark and last_location_bookmark
      	to fix a leak.
      	(free_history_list), (nautilus_add_to_history_list): Free the
      	history list at exit time to make it easier to spot leaks.
      	(nautilus_window_get_history_list_callback): Change the history
      	list to be a GList instead of GSList.
      39d0bf45
  30. 28 Jul, 2000 1 commit
    • John Sullivan's avatar
      Finished task 1793 (Display hierarchical pre-canned set of bookmarks) · 0430cc6d
      John Sullivan authored
      	There's now a "static_bookmarks.xml" file that gets installed into
      	the Nautilus data directory. Its contents are parsed into menu items
      	that appear above the user's dynamic items. The static items can
      	include hierarchy and separators. I put in silly content; someone
      	else will have to figure out what content we want to ship.
      
      	* data/static_bookmarks.xml: New file, tree of bookmarks to display.
      	* data/Makefile.am: Install the bookmarks file into data directory.
      
      	* src/nautilus-bookmark-parsing.h,
      	* src/nautilus-bookmark-parsing.c: New files, contain xml-bookmark-
      	parsing code that's used by both the static and dynamic bookmarks.
      	* src/Makefile.am: tell build about new files.
      
      	* src/nautilus-bookmark-list.c:
      	(make_bookmark_from_node): Moved and renamed this into new file.
      	(nautilus_bookmark_list_load_file): Call renamed function.
      
      	* src/nautilus-window-menus.c:
      	Renamed BookmarkHolder "in_bookmarks_menu" field to "prompt_for_removal"
      	to clarify its use.
      	(bookmark_holder_new), (show_bogus_bookmark_window): Accounted for
      	name changes.
      	(append_separator): Just moved this function.
      	(get_static_bookmarks_file_path): New function, returns path for
      	static bookmarks file if found.
      	(create_menu_item_from_node): New function, creates a menu item
      	from an xml node, recursing into folders.
      	(append_static_bookmarks): New function, reads xml document and
      	starts the menu-item-creation recursion.
      	(nautilus_window_initialize_bookmarks_menu): Now calls
      	append_static_bookmarks before handling the dynamic ones.
      
      	* src/nautilus-window-private.h: New last_static_bookmark_path field
      	in Details struct.
      	* src/nautilus-window.c: (nautilus_window_destroy): free
      	last_static_bookmark_path field.
      0430cc6d
  31. 19 Jul, 2000 1 commit
    • Darin Adler's avatar
      Change include style from <libtrilobite/xxx.h> to "xxx.h" to fix the · 8bd0fdd4
      Darin Adler authored
      2000-07-19  Darin Adler  <darin@eazel.com>
      
      	* components/services/trilobite/libtrilobite/libtrilobite.h:
      	* components/services/trilobite/libtrilobite/trilobite-root-client.c:
      	Change include style from <libtrilobite/xxx.h> to "xxx.h" to fix
      	the build.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(make_uri_canonical), (is_canonical_uri):
      	Add two new elements to the canonical URI rules in here: put a
      	"file:" in front of things that don't have a scheme, and
      	lower-case the scheme.
      
      	* libnautilus-extensions/nautilus-string.h:
      	* libnautilus-extensions/nautilus-string.c:
      	(nautilus_istr_has_prefix), (nautilus_istr_has_suffix):
      	Add case-insensitive versions of these calls. These terse names
      	are maybe a little lame; istr is not completely clear. (I guess I
      	now wish the "nautilus_" namespace was "n_" instead, like those
      	rad Evolution people and their bold "e_").
      
      	* components/music/nautilus-music-view.c: (is_mp3_file),
      	(nautilus_music_view_update_from_uri):
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_format_uri_for_display),
      	(nautilus_get_local_path_from_uri):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_contains_text):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_for_file), (make_thumbnail_path),
      	(load_specific_image):
      	* libnautilus-extensions/nautilus-theme.c:
      	(nautilus_theme_make_selector):
      	* src/file-manager/fm-icon-view.c: (play_file), (preview_sound),
      	(icon_container_preview_callback):
      	* src/file-manager/fm-properties-window.c:
      	(get_property_names_from_uri):
      	* src/nautilus-location-bar.c: (try_to_expand_path):
      	* src/nautilus-property-browser.c: (ensure_uri_is_image),
      	(make_properties_from_directory_path):
      	* src/nautilus-sidebar.c: (map_local_data_file),
      	(add_command_buttons):
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(local_data_file_to_uri):
      	Use case-insensitive string functions when dealing with MIME
      	types, URI schemes, or file name extensions for file types that
      	are also used on Windows where file names are not case sensitive.
      
      	* libnautilus-extensions/nautilus-string.c:
      	(nautilus_self_check_string):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_icon_is_different):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_delete_items_with_uri):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_reset_title_internal), (handle_go_back),
      	(handle_go_forward), (handle_go_elsewhere):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_add_bookmark_for_current_location):
      	Get rid of uses of nautilus_eat_strcmp since it's yucky.
      
      	* libnautilus-extensions/nautilus-debug.c:
      	(nautilus_str_equal_with_free):
      	Make a debug-only thing kind of like nautilus_eat_strcmp that's
      	good for asserts.
      
      	* src/nautilus-sidebar.c: (add_command_buttons):
      	Fixed a storage leak.
      
      	* libnautilus-extensions/nautilus-link-set.c: (link_set_path_name):
      	Added a FIXME.
      
      	* components/services/install/command-line/.cvsignore:
      	* cut-n-paste-code/freetype/.cvsignore:
      	Ignore some generated files.
      8bd0fdd4
  32. 14 Jul, 2000 1 commit
  33. 05 Jul, 2000 1 commit
    • 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
  34. 19 Jun, 2000 1 commit
    • John Sullivan's avatar
      Finished bug 1401 (bookmark icon never updates) and some · f6c5cf4c
      John Sullivan authored
      	related issues.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_done): Call emit_metadata_changed so
      	change-watchers will know that new metadata is available.
      	(set_up_request_by_file_attributes): Added FIXME comment
      	about confusion between file attributes and metadata.
      	(is_anyone_waiting_for_metafile): Made it check monitor_list
      	as well as call_when_ready_list.
      
      	* libnautilus-extensions/nautilus-icon-factory.h,
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_required_file_attributes):
      	New function, returns the list of file attributes needed
      	to get the right icon for a file.
      	(nautilus_icon_factory_is_icon_ready_for_file): Rewrote
      	to call this new function.
      
      	* src/nautilus-bookmark-list.c:
      	(bookmark_in_list_changed_callback), (stop_monitoring_bookmark),
      	(stop_monitoring_one), (insert_bookmark_internal),
      	(nautilus_bookmark_list_append),
      	(nautilus_bookmark_list_delete_item_at),
      	(nautilus_bookmark_list_delete_items_with_uri),
      	(nautilus_bookmark_list_insert_item),
      	(nautilus_bookmark_list_load_file): Made bookmark list monitor
      	the "changed" signal of all its bookmarks, so it knows to save
      	new improved icons or names to disk.
      	* src/nautilus-sidebar-title.c:
      	(nautilus_sidebar_title_set_uri): add file monitor in all cases,
      	not just if it's a directory; monitor the attributes needed for
      	getting an icon too. This fixes a bug where a custom icon on the
      	user's home directory wouldn't appear in the sidebar.
      	(release_file): remove file monitor in all cases.
      f6c5cf4c
  35. 16 Jun, 2000 2 commits
    • John Sullivan's avatar
      Modernized some NautilusBookmark code that had been written · 4e90eb7b
      John Sullivan authored
      	in the dark ages (by me).
      
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_compare_with), (nautilus_bookmark_copy),
      	(nautilus_bookmark_get_name),
      	(nautilus_bookmark_get_pixmap_and_mask),
      	(nautilus_bookmark_get_pixbuf), (nautilus_bookmark_get_icon),
      	(nautilus_bookmark_get_uri), (create_pixmap_widget_for_bookmark),
      	(nautilus_bookmark_menu_item_new): Eliminated the use of
      	const NautilusBookmark *; made _get_name and _get_uri return
      	copies instead of the original text; tweaked a little formatting.
      
      	* components/history/nautilus-history-view.c: (install_icon),
      	(hyperbola_navigation_history_load_location),
      	(hyperbola_navigation_history_select_row):
      	* libnautilus-extensions/nautilus-bookmark.h:
      	* src/nautilus-bookmark-list.c: (append_bookmark_node),
      	(nautilus_bookmark_list_append), (nautilus_bookmark_list_contains),
      	(nautilus_bookmark_list_delete_items_with_uri),
      	(nautilus_bookmark_list_insert_item):
      	* src/nautilus-bookmark-list.h:
      	* src/nautilus-bookmarks-window.c: (install_bookmark_icon),
      	(on_select_row), (repopulate):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_reset_title_internal), (handle_go_back),
      	(handle_go_forward), (handle_go_elsewhere):
      	* src/nautilus-window-menus.c: (bookmark_holder_new),
      	(show_bogus_bookmark_window), (activate_bookmark_in_menu_item),
      	(append_bookmark_to_menu),
      	(nautilus_window_add_bookmark_for_current_location):
      	* src/nautilus-window.c: (nautilus_window_back_or_forward):
      	Eliminated the use of const NautilusBookmark *; changed all
      	callers of nautilus_bookmark_get_name and _get_uri to free
      	the results.
      4e90eb7b
    • John Sullivan's avatar
      Fixed bug 705 (Need to avoid network hit on startup for · 22c0f773
      John Sullivan authored
      	each remote bookmark). Bookmarks now get their icon only
      	when they're initially created, and then store a text
      	version of it to disk for future sessions. We might have
      	to update the icon at certain times later (maybe when it's
      	used?).
      
      	* libnautilus-extensions/nautilus-bookmark.h,
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_copy), (nautilus_bookmark_get_pixbuf),
      	(nautilus_bookmark_get_icon), (get_icon_for_uri),
      	(nautilus_bookmark_new), (nautilus_bookmark_new_with_icon):
      	Changed guts of NautilusBookmark to keep a
      	NautilusScalableIcon around. Also some miscellaneous
      	cleanup in this ancient file (need to do more).
      
      	* libnautilus-extensions/nautilus-icon-factory.h,
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_themed_icon_file_path): Added icon != NULL assert.
      	(get_icon_file_path): Handle NULL icon name by returning NULL;
      	some style fixes.
      	(nautilus_scalable_icon_get_text_pieces): New function,
      	returns all four pieces of text used to define a
      	NautilusScalableIcon.
      	(nautilus_scalable_icon_new_from_text_pieces):
      	Renamed from nautilus_scalable_icon_get and made public.
      	(nautilus_icon_factory_get_icon_for_file),
      	(nautilus_icon_factory_get_emblem_icon_by_name),
      	(load_image_with_embedded_text): Updated for function renaming.
      
      	* src/nautilus-bookmark-list.c: (append_bookmark_node),
      	(make_bookmark_from_node), (nautilus_bookmark_list_load_file):
      	Save & restore NautilusScalableIcon with each bookmark.
      
      	Added custom error message when trying to open a location
      	fails with GNOME_VFS_LOGINFAILED
      
      	* src/nautilus-applicable-views.h: Define
      	NAUTILUS_NAVIGATION_RESULT_LOGIN_FAILED
      	* src/nautilus-applicable-views.c:
      	(get_nautilus_navigation_result_from_gnome_vfs_result):
      	Support GNOME_VFS_LOGINFAILED, and tweak message for
      	unhandled case.
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_end_location_change_callback):
      	Support NAUTILUS_NAVIGATION_RESULT_LOGIN_FAILED and
      	remove message for unhandled case since complaining
      	about unhandled cases is done elsewhere.
      22c0f773
  36. 12 Jun, 2000 1 commit
    • John Sullivan's avatar
      Fixed bug 692 (Bookmarks for deleted files don't do · 820f06eb
      John Sullivan authored
      	sensible things)
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h,
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_info_dialog),
      	(nautilus_info_dialog_parented): New functions for showing
      	a one-button informational dialog.
      	(nautilus_yes_no_dialog),
      	(nautilus_yes_no_dialog_parented): New functions for
      	showing a two-button question dialog.
      	(show_yes_no_box): Helper function used to implement
      	yes_no_dialog routines.
      
      	* src/nautilus-bookmark-list.h,
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_delete_items_with_uri):
      	New function for deleting all bookmarks with a given uri.
      
      	* src/nautilus-window-menus.c:
      	(bookmark_holder_new), (bookmark_holder_free): New helper
      	functions for dealing with BookmarkHolder structs.
      	(remove_bookmarks_for_uri),
      	(show_bogus_bookmark_window),
      	(uri_known_not_to_exist): New helper functions for dealing
      	with bookmarks for missing (local) files. In the Go menu
      	case, the user is just told that the location doesn't exist;
      	in the Bookmarks menu case, the user has the option of
      	removing bookmarks with this URI from their list.
      	(activate_bookmark_in_menu_item): Added a parameter to
      	distinguish Go menu case from Bookmarks menu case.
      	(append_bookmark_to_menu): Added this parameter here also,
      	where it's stored in a BookmarkHolder; deploy
      	bookmark_holder_new and	_free.
      	(refresh_bookmarks_in_bookmarks_menu),
      	(refresh_bookmarks_in_go_menu): Pass the new parameter to
      	append_bookmark_to_menu.
      820f06eb
  37. 31 May, 2000 1 commit
    • 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
  38. 20 Apr, 2000 1 commit
    • John Sullivan's avatar
      Darin and I started out thinking we were going to start entering · 406ed6a9
      John Sullivan authored
      	bugs for the FIXME items but we were distracted into fixing bugs
      	and tweaking code that we found while doing so.
      
      	* check-FIXME.pl: Won't search old ChangeLogs for FIXMEs either;
      	changed FIXME format from "FIXME bug xxx" to "FIXME bugzilla.eazel.com xxx"
      
      	* components/history/ntl-history-view.c:
      	(hyperbola_navigation_history_notify_location_change): Moved bookmark
      	naming hack here and added FIXME explaining it.
      
      	* libnautilus-extensions/nautilus-bookmark.h,
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new), (nautilus_bookmark_new_with_name):
      	Combined these two into one routine that takes both the uri and
      	title; removed hack for trying to come up with good name for
      	bookmark here.
      	(nautilus_bookmark_get_pixmap_and_mask): Changed to call
      	_get_pixbuf instead of duplicating code.
      	(nautilus_bookmark_get_pixbuf): Changed interface to return
      	pixbuf or NULL instead of boolean result & "out" parameter.
      
      	* src/nautilus-bookmark-list.c,
      	* src/nautilus-bookmarks-window.c,
      	* src/nautilus-window-menus.c,
      	* src/ntl-window-msgs.c:
      	Updated callers of nautilus_bookmark_new and _new_with_name.
      406ed6a9