1. 25 Jan, 2011 1 commit
    • Cosimo Cecchi's avatar
      all: silence new warnings from GCC 4.6 · d4230de8
      Cosimo Cecchi authored
      GCC 4.6 introduced a new warning about variables declared and
      initialized, but not really used in the function body. Remove all of
      these occurrences to build cleanly.
      d4230de8
  2. 23 Jul, 2010 1 commit
  3. 30 Apr, 2008 1 commit
    • Andrew Walton's avatar
      Replace g_return_*() with g_assert() in private, internal functions. · a9b02ab3
      Andrew Walton authored
      2008-04-30  A. Walton  <awalton@gnome.org>
      
      	* libnautilus-private/nautilus-clipboard.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory.c:
      	* libnautilus-private/nautilus-entry.c:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-horizontal-splitter.c:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-users-groups-cache.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* src/nautilus-emblem-sidebar.c:
      	* src/nautilus-file-management-properties.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.c:
      	* src/nautilus-zoom-control.c:
      	Replace g_return_*() with g_assert() in private, internal
      	functions. Closes #530321.
      
      
      svn path=/trunk/; revision=14114
      a9b02ab3
  4. 02 Apr, 2003 1 commit
    • Alexander Larsson's avatar
      Convert file attributes from list of strings to a bitmask. Patch from · 4e04c0a0
      Alexander Larsson authored
      2003-04-02  Alexander Larsson  <alexl@redhat.com>
      
      	* components/notes/nautilus-notes.c:
      	* components/tree/nautilus-tree-model.c:
      	* components/tree/nautilus-tree-view.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory-background.c:
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-directory.c:
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-file-attributes.h:
      	* libnautilus-private/nautilus-file-private.h:
      	* libnautilus-private/nautilus-file.c: (rename_callback),
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-icon-factory.c:
      	* libnautilus-private/nautilus-icon-factory.h:
      	* libnautilus-private/nautilus-link.c:
      	* libnautilus-private/nautilus-merged-directory.c:
      	* libnautilus-private/nautilus-mime-actions.c:
      	* libnautilus-private/nautilus-mime-actions.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* libnautilus-private/nautilus-trash-file.c:
      	* libnautilus-private/nautilus-trash-monitor.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* libnautilus-private/nautilus-vfs-file.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-icon-container.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/nautilus-applicable-views.c:
      	* src/nautilus-information-panel.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.c:
      	* test/test-nautilus-mime-actions-set.c:
      	* test/test-nautilus-mime-actions.c:
      
      	Convert file attributes from list of strings to a bitmask.
      	Patch from andersca@codefactory.se.
      4e04c0a0
  5. 14 Mar, 2003 1 commit
    • Alexander Larsson's avatar
      Make NautilusDirectory a GObject. · 874de188
      Alexander Larsson authored
      2003-03-14  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_new):
      	Make NautilusDirectory a GObject.
      
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri),
      	(nautilus_file_new_from_info):
      	Make NautilusFile a GObject.
      
      	* libnautilus-private/nautilus-trash-file.c:
      	(trash_callback_remove_file_cover), (trash_finalize),
      	(nautilus_trash_file_class_init):
      	Convert destroy into finalize.
      
      	* libnautilus-private/nautilus-vfs-directory.h:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	(nautilus_vfs_directory_init), (nautilus_vfs_directory_class_init):
      	* libnautilus-private/nautilus-vfs-file.c:
      	(nautilus_vfs_file_init), (nautilus_vfs_file_class_init):
      	* libnautilus-private/nautilus-vfs-file.h:
      	Remove unused details fields.
      
      	* src/file-manager/fm-directory-view.c: (disconnect_handler),
      	(disconnect_directory_handler),
      	(disconnect_directory_as_file_handler):
      	* src/file-manager/fm-search-list-view.c: (real_adding_file):
      	Don't cast NautilusFiles and NautilusDirectories to GtkObjects.
      874de188
  6. 09 May, 2002 1 commit
    • Alexander Larsson's avatar
      Remove public metadata · 54362078
      Alexander Larsson authored
      2002-05-08  Alex Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/apps_nautilus_preferences.schemas:
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-global-preferences.c:
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-metafile.h:
      	* libnautilus-private/nautilus-thumbnails.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* src/nautilus-preferences-dialog.c:
      	Remove public metadata
      54362078
  7. 04 Nov, 2001 2 commits
  8. 28 Oct, 2001 1 commit
  9. 15 Sep, 2001 1 commit
  10. 23 Aug, 2001 1 commit
    • Anders Carlsson's avatar
      Remove CONTROL_CENTER_REQUIRED since nautilus doesn't require · bafee440
      Anders Carlsson authored
      2001-08-23  Anders Carlsson  <andersca@gnu.org>
      
      	* nautilus.spec.in: Remove CONTROL_CENTER_REQUIRED since nautilus
      	doesn't require control-center anymore.
      
       	* configure.in: Remove CONTROL_CENTER_REQUIRED since nautilus
       	doesn't require control-center anymore.
      
       	* src/nautilus-window.c (nautilus_window_constructed):
       	Set shrink to TRUE when adding the sidebar since it'll look
       	better when the splitter is collapsed.
       	(nautilus_window_destroy): Free the window title.
      
       	* src/nautilus-window-manage-views.c (begin_location_change):
       	Unref the directory when we're done using it.
      
       	* src/nautilus-sidebar.c (nautilus_sidebar_destroy): Sink
       	the title tab so it'll destroyed even if it hasn't got a parent.
      
       	* libnautilus-private/nautilus-vfs-file.c (vfs_destroy):
       	Free details struct.
      
       	* libnautilus-private/nautilus-vfs-directory.c (vfs_destroy):
       	Free details struct.
      
       	* libnautilus-private/nautilus-mime-actions.c
       	(nautilus_mime_get_short_list_applications_for_file):
       	Free uri_scheme.
       	(make_oaf_query_with_uri_scheme_only): Free explicit_iid_query.
      
       	* libnautilus-private/nautilus-metafile.c (destroy):
       	Unref the private vfs uri, and free the directory uri.
      
       	* libnautilus-private/nautilus-file.c (nautilus_file_get_internal):
       	Free the string returned by nautilus_directory_get_name_for_self_as_new_file.
      
       	* libnautilus-private/nautilus-file-changes-queue.c
       	(nautilus_file_changes_consume_changes):
       	Free the change struct.
      
       	* libnautilus-private/nautilus-directory-async.c
       	(nautilus_directory_invalidate_count_and_mime_list):
       	Unref the file after using it.
      
       	* libnautilus/nautilus-idle-queue.c (execute_queued_functions):
       	Free each list node.
       	(nautilus_idle_queue_destroy): Likewise.
      bafee440
  11. 05 Jul, 2001 1 commit
    • Darin Adler's avatar
      Bump version to 1.0.4.1 · 784a8062
      Darin Adler authored
      	* configure.in: Bump version to 1.0.4.1
      
      	* cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_expose):
      	Fix type cast that was causing Ben trouble compiling on Solaris.
      
      	Take a cut at removing the problem where opening a new window
      	causes all the old windows to act as if all items were re-added.
      
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_file_monitor_add),
      	(nautilus_self_check_directory):
      	* libnautilus-private/nautilus-directory-async.c:
      	(nautilus_directory_monitor_add_internal):
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-merged-directory.c:
      	(build_merged_callback_list), (merged_file_monitor_add),
      	(forward_files_added_cover), (forward_files_changed_cover),
      	(monitor_add_directory), (merged_add_real_directory):
      	* libnautilus-private/nautilus-trash-file.c: (real_monitor_add):
      	* libnautilus-private/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_initialize):
      	* libnautilus-private/nautilus-vfs-directory.c:
      	(vfs_file_monitor_add):
      	* libnautilus-private/nautilus-vfs-file.c: (vfs_file_monitor_add):
      	Change monitor_add to take a parameter for a callback function, and
      	call that instead of sending out a files_added message when someone
      	starts monitoring files.
      
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_node_begin_monitoring_no_connect),
      	(nautilus_tree_model_node_begin_monitoring),
      	(nautilus_tree_model_directory_files_changed_callback):
      	* src/file-manager/fm-directory-view.c: (connect_script_handlers),
      	(finish_loading):
      	Pass in a callback function to monitor_add, and don't hook up the
      	files_added and files_changed signals until after the monitor is
      	added.
      784a8062
  12. 11 May, 2001 1 commit
    • Darin Adler's avatar
      Yoann Vandoorselaere <yoann@mandrakesoft.com> discovered that the · 106bf09a
      Darin Adler authored
      	code to load a directory was accidentally waiting for all the
      	files to be read in before displaying anything. This fixes the two
      	problems that caused that, but there are remaining loose ends
      	(it's not entirely clear why View As Music is still showing
      	properly in the View menu).
      
      	* libnautilus-private/nautilus-directory-private.h:
      	* libnautilus-private/nautilus-directory-async.c:
      	(nautilus_directory_call_when_ready_internal): Take a parameter to
      	say whether to wait for all the files in the file list, instead of
      	deducing it from other parameters.
      
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_call_when_ready): Take a parameter to say
      	whether to wait for all the files in the file list, instead of
      	deducing it from other parameters.
      	(nautilus_self_check_directory): Pass TRUE so we wait for the file
      	list.
      
      	* libnautilus-private/nautilus-merged-directory.c:
      	(merged_call_when_ready): Pass through the new boolean.
      	* libnautilus-private/nautilus-trash-file.c:
      	(real_call_when_ready): Pass FALSE since there is no file list for
      	a single file.
      	* libnautilus-private/nautilus-vfs-directory.c:
      	(vfs_call_when_ready): Pass through the new boolean.
      	* libnautilus-private/nautilus-vfs-file.c:
      	(vfs_file_call_when_ready): Pass FALSE since there is no file list
      	for a single file.
      
      	* src/nautilus-applicable-views.c:
      	(nautilus_determine_initial_view),
      	(nautilus_determine_initial_view_cancel): Removed the code to get
      	full file attributes after getting the minimum required if
      	nautilus_mime_actions_file_needs_full_file_attributes return
      	TRUE. We want to make the choice fast, and it's OK if we choose
      	poorly as a result. The question is whether this will cause any
      	real end-user problems.
      
      	* src/file-manager/fm-directory-view.c:
      	(call_when_ready_on_scripts_directory): Pass TRUE so we read the
      	entire scripts directory.
      	(load_directory): Pass FALSE so we don't wait for all the files to
      	be loaded before starting to display them. This is the core of the
      	fix.
      
      	* components/tree/nautilus-tree-change-queue.c:
      	(nautilus_tree_change_queue_enqueue): A place where we can use
      	g_slist_prepend instead of g_slist_append.
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_initialize): A place where we can use
      	g_slist_prepend instead of g_slist_append.
      106bf09a
  13. 09 May, 2001 1 commit
    • Darin Adler's avatar
      Added dummy members so we have no illegal empty structures. · 5642c503
      Darin Adler authored
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-vfs-directory.c:
      	* libnautilus-private/nautilus-vfs-file.c:
      	Added dummy members so we have no illegal empty structures.
      
      	* src/nautilus-sidebar-title.c: (update_emblems): Get rid of some
      	dead code.
      5642c503
  14. 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
  15. 26 Mar, 2001 1 commit
    • Mike Engber's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 79f27024
      Mike Engber authored
      
      	reviewed by: Darin Adler  <darin@eazel.com>
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(is_anyone_waiting_for_metafile), (call_ready_callbacks),
      	(start_or_stop_io), (nautilus_directory_cancel):
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	(corba_metafile_ready):
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(get_metafile), (nautilus_directory_rename_file_metadata),
      	(nautilus_directory_rename_directory_metadata):
      	* libnautilus-extensions/nautilus-directory-metafile.h:
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_initialize), (nautilus_directory_destroy),
      	(set_directory_uri), (change_directory_uri),
      	(nautilus_self_check_directory):
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_file_name_matches_backup_pattern),
      	(nautilus_file_name_matches_metafile_pattern):
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_is_metafile):
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-metafile-factory.c: (corba_open):
      	* libnautilus-extensions/nautilus-metafile-server.idl:
      	* libnautilus-extensions/nautilus-metafile.c:
      	(nautilus_metafile_class_init), (nautilus_metafile_init),
      	(destroy), (construct_private_metafile_vfs_uri),
      	(nautilus_metafile_set_directory_uri), (nautilus_metafile_new),
      	(nautilus_metafile_get), (schedule_next_read), (async_read_start),
      	(async_read_done), (async_read_cancel), (corba_is_read),
      	(corba_get), (corba_get_list), (corba_set), (corba_set_list),
      	(corba_copy), (corba_remove), (corba_rename),
      	(corba_rename_directory), (corba_register_monitor),
      	(corba_unregister_monitor),
      	(nautilus_metafile_notify_metafile_ready), (call_metafile_changed),
      	(call_metafile_changed_for_all_files_mentioned_in_metafile),
      	(call_metafile_changed_for_one_file), (create_metafile_root),
      	(get_file_node), (get_metadata_string_from_metafile),
      	(get_metadata_list_from_metafile),
      	(set_metadata_string_in_metafile), (set_metadata_list_in_metafile),
      	(set_metadata_in_metafile), (get_metadata_string_from_table),
      	(get_metadata_list_from_table), (set_metadata_eat_value),
      	(metafile_free_metadata), (get_file_metadata),
      	(get_file_metadata_list), (set_file_metadata),
      	(set_file_metadata_list), (metafile_get_file_uri),
      	(rename_file_metadata), (apply_one_change), (apply_file_changes),
      	(nautilus_metafile_apply_pending_changes), (copy_file_metadata),
      	(remove_file_metadata), (nautilus_metafile_set_metafile_contents),
      	(metafile_read_cancel), (can_use_public_metafile),
      	(metafile_read_mark_done), (metafile_read_done),
      	(metafile_read_try_public_metafile),
      	(metafile_read_check_for_directory_callback),
      	(metafile_read_check_for_directory), (metafile_read_failed),
      	(metafile_read_done_callback), (metafile_read_restart),
      	(allow_metafile), (metafile_read_start), (metafile_write_done),
      	(metafile_write_failed), (metafile_write_failure_close_callback),
      	(metafile_write_success_close_callback), (metafile_write_callback),
      	(metafile_write_create_callback), (metafile_write_start),
      	(metafile_write), (metafile_write_idle_callback),
      	(directory_request_write_metafile):
      	* libnautilus-extensions/nautilus-metafile.h:
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(vfs_is_not_empty):
      	Factored the metadata reading/writing code out of nautilus-directory
      	- bug 6661.
      79f27024
  16. 23 Feb, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 764d936a
      Darin Adler authored
      	Fix bug 6859 (GTK signal macros don't work in non-GCC compilers
      	for void return types).
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Replaced old macros that accidentally relied on gccisms with
      	new ones that are portable to other compilers.
      
      		NAUTILUS_CALL_PARENT_CLASS is replaced by
      			NAUTILUS_CALL_PARENT
      		    and NAUTILUS_CALL_PARENT_WITH_RETURN_VALUE.
      
      		NAUTILUS_CALL_VIRTUAL is replaced by
      			NAUTILUS_CALL_METHOD
      		    and NAUTILUS_CALL_METHOD_WITH_RETURN_VALUE
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_destroy),
      	(nautilus_adapter_embed_strategy_get_widget),
      	(nautilus_adapter_embed_strategy_get_zoomable):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(nautilus_adapter_factory_server_destroy):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_destroy),
      	(nautilus_adapter_load_strategy_load_location),
      	(nautilus_adapter_load_strategy_stop_loading):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_destroy):
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy):
      	* components/history/nautilus-history-view.c:
      	(nautilus_history_view_destroy):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_destroy):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_destroy):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_destroy):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_destroy):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_destroy):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_destroy),
      	(nautilus_service_install_view_finalize):
      	* components/services/inventory-view/nautilus-inventory-config-page
      	.c: (nautilus_inventory_config_page_destroy):
      	* components/services/inventory-view/nautilus-inventory-view.c:
      	(nautilus_inventory_view_destroy):
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c: (nautilus_change_password_view_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c: (footer_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c: (header_destroy):
      	* components/services/summary/nautilus-summary-view.c:
      	(nautilus_summary_view_destroy):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.
      	c: (trilobite_eazel_time_view_destroy):
      	* components/text/nautilus-text-view.c:
      	(nautilus_text_view_destroy):
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_destroy), (nautilus_throbber_map),
      	(nautilus_throbber_size_allocate):
      	* components/tree/nautilus-tree-change-queue.c:
      	(nautilus_tree_change_queue_destroy):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_destroy):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_destroy):
      	* components/tree/nautilus-tree-node.c:
      	(nautilus_tree_node_destroy):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_destroy):
      	* help/nautilus-quick-reference/.cvsignore:
      	* help/nautilus-quick-reference/C/.cvsignore:
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	(nautilus_background_canvas_group_update),
      	(nautilus_background_canvas_group_draw),
      	(nautilus_background_canvas_group_render):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_destroy):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_destroy):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_destroy), (nautilus_font_picker_show_all):
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_destroy),
      	(nautilus_clickable_image_realize),
      	(nautilus_clickable_image_expose_event):
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(debug_pixbuf_viewer_destroy):
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	(destroy):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy),
      	(nautilus_directory_get_name_for_self_as_new_file),
      	(nautilus_directory_are_all_files_seen),
      	(nautilus_directory_contains_file),
      	(nautilus_directory_call_when_ready),
      	(nautilus_directory_cancel_callback),
      	(nautilus_directory_file_monitor_add),
      	(nautilus_directory_file_monitor_remove),
      	(nautilus_directory_force_reload),
      	(nautilus_directory_is_not_empty):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_destroy),
      	(nautilus_druid_page_eazel_finalize),
      	(nautilus_druid_page_eazel_size_allocate),
      	(nautilus_druid_page_eazel_size_request):
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	(real_size_request), (real_size_allocate), (real_style_set):
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_destroy), (nautilus_entry_key_press),
      	(nautilus_entry_motion_notify), (nautilus_entry_set_selection),
      	(nautilus_entry_insert_text), (nautilus_entry_delete_text),
      	(nautilus_entry_selection_clear):
      	* libnautilus-extensions/nautilus-file.c: (destroy),
      	(nautilus_file_monitor_add), (nautilus_file_monitor_remove),
      	(nautilus_file_get_date), (nautilus_file_get_where_string),
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts), (nautilus_file_get_file_type),
      	(nautilus_file_check_if_ready), (nautilus_file_call_when_ready),
      	(nautilus_file_cancel_call_when_ready):
      	* libnautilus-extensions/nautilus-font-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_destroy):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_destroy),
      	(nautilus_horizontal_splitter_button_press):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_destroy),
      	(nautilus_icon_canvas_item_update):
      	* libnautilus-extensions/nautilus-icon-container.c: (destroy),
      	(size_allocate), (realize), (unrealize), (button_press_event),
      	(button_release_event), (motion_notify_event), (key_press_event):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_destroy):
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_destroy),
      	(nautilus_image_table_expose_event),
      	(nautilus_image_table_realize), (nautilus_image_table_unrealize),
      	(nautilus_image_table_remove):
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_destroy):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_size_allocate):
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_destroy), (nautilus_label_size_request),
      	(nautilus_label_size_allocate), (label_paint_pixbuf_callback):
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	(nautilus_labeled_image_destroy):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_finalize):
      	* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy),
      	(nautilus_list_button_press), (nautilus_list_button_release),
      	(nautilus_list_key_press), (nautilus_list_style_set),
      	(nautilus_list_realize), (nautilus_list_unrealize), (draw_rows),
      	(draw_all), (nautilus_list_draw), (nautilus_list_expose),
      	(nautilus_list_resize_column), (nautilus_list_set_cell_contents),
      	(set_list_cell), (nautilus_list_track_new_column_width),
      	(nautilus_list_motion), (nautilus_list_clear), (insert_row):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_destroy):
      	* libnautilus-extensions/nautilus-metafile-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-metafile.c: (destroy):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_destroy):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_destroy):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_destroy):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_destroy):
      	* libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_destroy):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_destroy):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(trash_destroy):
      	* libnautilus-extensions/nautilus-trash-file.c: (trash_destroy):
      	* libnautilus-extensions/nautilus-undo-context.c: (destroy):
      	* libnautilus-extensions/nautilus-undo-manager.c: (destroy):
      	* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-vfs-file.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-viewport.c:
      	(nautilus_viewport_destroy), (nautilus_viewport_realize):
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_destroy):
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	(nautilus_wrap_table_destroy):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_destroy):
      	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_destroy), (real_update_menus),
      	(real_merge_menus):
      	* src/file-manager/fm-directory-view.c:
      	(text_attribute_names_changed_callback),
      	(image_display_policy_changed_callback),
      	(directory_view_font_family_changed_callback),
      	(click_policy_changed_callback),
      	(smooth_graphics_mode_changed_callback),
      	(fm_directory_view_destroy),
      	(fm_directory_view_file_limit_reached),
      	(fm_directory_view_bump_zoom_level),
      	(fm_directory_view_zoom_to_level),
      	(fm_directory_view_restore_default_zoom_level),
      	(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out),
      	(fm_directory_view_get_background_widget),
      	(fm_directory_view_get_selection), (reveal_newly_added_folder),
      	(fm_directory_view_get_emblem_names_to_exclude),
      	(fm_directory_view_merge_menus), (fm_directory_view_select_all),
      	(fm_directory_view_set_selection),
      	(fm_directory_get_selected_icon_locations),
      	(fm_directory_view_reveal_selection),
      	(fm_directory_view_is_read_only), (fm_directory_view_is_empty),
      	(fm_directory_view_supports_creating_files),
      	(fm_directory_view_accepts_dragged_files),
      	(fm_directory_view_supports_properties),
      	(fm_directory_view_supports_zooming),
      	(fm_directory_view_update_menus):
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      	(fm_icon_view_clean_up), (fm_icon_view_get_directory_sort_by),
      	(fm_icon_view_set_directory_sort_by),
      	(fm_icon_view_get_directory_sort_reversed),
      	(fm_icon_view_set_directory_sort_reversed),
      	(fm_icon_view_get_directory_auto_layout),
      	(fm_icon_view_set_directory_auto_layout),
      	(fm_icon_view_get_directory_tighter_layout),
      	(fm_icon_view_set_directory_tighter_layout),
      	(fm_icon_view_supports_auto_layout),
      	(fm_icon_view_start_renaming_item), (fm_icon_view_merge_menus),
      	(fm_icon_view_update_menus):
      	* src/file-manager/fm-list-view.c: (fm_list_view_adding_file),
      	(fm_list_view_removing_file), (fm_list_view_file_still_belongs),
      	(get_number_of_columns), (get_link_column),
      	(get_default_sort_attribute), (get_column_specification):
      	* src/file-manager/fm-properties-window.c: (real_shutdown),
      	(real_destroy), (real_finalize):
      	* src/file-manager/fm-search-list-view.c: (real_destroy),
      	(real_add_file), (real_adding_file), (real_removing_file),
      	(real_merge_menus), (real_update_menus):
      	* src/nautilus-about.c: (nautilus_about_destroy):
      	* src/nautilus-application.c: (nautilus_application_destroy),
      	(nautilus_application_startup):
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_destroy):
      	* src/nautilus-desktop-window.c: (destroy), (realize):
      	* src/nautilus-location-bar.c: (destroy):
      	* src/nautilus-navigation-bar.c:
      	(nautilus_navigation_bar_get_location),
      	(nautilus_navigation_bar_set_location):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_destroy):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy):
      	* src/nautilus-shell.c: (destroy):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_destroy),
      	(nautilus_sidebar_tabs_size_allocate):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_destroy),
      	(nautilus_sidebar_title_size_allocate):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_destroy),
      	(nautilus_sidebar_size_allocate), (nautilus_sidebar_realize):
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_destroy):
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_destroy):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_destroy):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
      	(nautilus_view_frame_finalize), (nautilus_view_frame_map):
      	* src/nautilus-window.c: (nautilus_window_destroy),
      	(nautilus_window_realize), (nautilus_window_size_request),
      	(nautilus_window_add_current_location_to_history_list),
      	(nautilus_window_show):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy),
      	(nautilus_zoom_control_size_allocate):
      	Use the macros by their new names.
      
      	* RENAMING: Updated for some name changes and name change ideas.
      
      	* user-guide/C/.cvsignore:
      	* user-guide/C/html/.cvsignore:
      	* user-guide/C/img/.cvsignore:
      	* user-guide/C/sgml/.cvsignore:
      	Added missing cvsignores.
      764d936a
  17. 16 Feb, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: Gene Ragan <gzr@eazel.com> · b31cdf22
      Darin Adler authored
      	Finish fixing bug 6286 (need to re-apply optimization where we do
      	a single directory load):
      
      	* src/nautilus-window-manage-views.c: (begin_location_change): Do
      	the force_reload work in here. We want it on all 4 kinds of
      	location change (forward, back, new location, reload). Other
      	browsers don't do reload on back, so we may want to change this at
      	some point.
      	(nautilus_window_reload): Remove the old code to invalidate from
      	here now that it's done in begin_location_change.
      
      	* src/file-manager/fm-directory-view.c: (load_location_callback),
      	(load_directory), (finish_loading), (filtering_changed_callback):
      	Remove the old code to do force_reload. The NautilusDirectory part
      	of triggering a reload is now handled by the shell.
      
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_file_monitor_add): No force_reload parameter
      	any more.
      	(nautilus_directory_force_reload): New separate call used to force
      	a reload. A method call so subclasses can implement.
      	(nautilus_self_check_directory): Removed the FALSE force_reload
      	argument to file_monitor_add.
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(vfs_file_monitor_add): No force_reload parameter any more.
      	(vfs_force_reload): Call through to
      	nautilus_directory_force_reload_internal to do the real work.
      	(nautilus_vfs_directory_initialize_class): Install the new
      	force_reload function.
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_file_monitor_add): No force_reload parameter any more.
      	(merged_force_reload): Tell all of the real directories to force a
      	reload.
      	(monitor_add_directory): No force_reload to track any more.
      	(nautilus_merged_directory_initialize_class): Install the new
      	force_reload function.
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_force_reload_internal): Change the name of
      	this function, since there's now a public function that is named
      	nautilus_directory_force_reload.
      
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_all_attributes): Made a separate call so other
      	parts of the framework can use it.
      	(nautilus_file_invalidate_all_attributes): Use the new call.
      
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_monitor_add),
      	(nautilus_tree_model_node_begin_monitoring_no_connect): Use the
      	new force_reload call. The old one had more granularity and thus
      	forced less to be reloaded, but it's OK to do a little more here.
      
      	* libnautilus-extensions/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_initialize): Removed the FALSE
      	force_reload argument to file_monitor_add.
      
      	Other stuff:
      
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(get_metafile), (nautilus_directory_get_file_metadata),
      	(nautilus_directory_get_file_metadata_list),
      	(nautilus_directory_set_file_metadata),
      	(nautilus_directory_set_file_metadata_list),
      	(nautilus_directory_copy_file_metadata),
      	(nautilus_directory_remove_file_metadata),
      	(nautilus_directory_rename_file_metadata): Moved FIXMEs around.
      	Pass NULL instead of &ev when calling bonobo_object_release_unref
      	since we don't really want to do anything different if there's
      	some kind of error.
      
      	* nautilus-installer/install-lib/.cvsignore:
      	* nautilus-installer/libtrilobite/.cvsignore:
      	Gotta create these files when you make new directories.
      
      	* README: Change xml-i18n-tools to mention the correct branch.
      b31cdf22
  18. 04 Jan, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: Rebecca Schulman <rebecka@eazel.com> · f649b991
      Darin Adler authored
      	Fixed bug 3811 (shallow file counts and top-left text are fetched
      	even for non-displayed hidden/backup items).
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(allow_metafile): Add "ghelp:" and "gnome-help:" to the
      	unfortunate list of hard-coded schemes. If we hard-code "help:" we
      	have to hard-code its synonyms too.
      	(find_monitor): Use g_new0 so fields in the Monitor are not
      	uninitialized in this case (the fields in question are ignored,
      	but it's still nicer this way).
      	(nautilus_directory_monitor_add_internal): Set up the "monitor
      	hidden files" and "monitor backup files" in the Monitor structure
      	based on new parameters.
      	(should_display_file_name): Use
      	nautilus_file_name_matches_hidden_pattern and
      	nautilus_file_name_matches_backup_pattern.
      	(monitor_includes_file): New function that encapsulates the rule
      	about which monitor includes which file. Handles the new flags for
      	not monitoring hidden or backup files.
      	(is_needy): Call monitor_includes_file.
      	(select_needy_file): Call monitor_includes_file.
      
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_name_matches_hidden_pattern),
      	(nautilus_file_name_matches_backup_pattern): New functions to
      	share with the directory code.
      	(nautilus_file_is_hidden_file), (nautilus_file_is_backup_file):
      	Use the new functions and use the raw relative_uri -- no need to
      	unescape to change to a file name since the "." and "~" characters
      	are not encoded.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize): Share more code with the
      	filtering_changed_callback. Handle the desktop view better by
      	never setting the "show hidden" and "show backup" flags (so they
      	are both FALSE) and not setting up the callbacks.
      	(fm_directory_view_destroy): Since we don't set up the callbacks
      	for desktop windows, don't remove them for desktop windows.
      	(queue_pending_files): Remove the desktop special case from
      	here. It was strange to set the flags up then wait until this
      	moment to clear them both. It's better to keep them FALSE.
      	(finish_loading): Renamed and changed to pass the appropriate
      	values in to the nautilus_directory_file_monitor_add call -- this
      	is the actual bug fix.
      	(filtering_changed_callback): Remove the desktop special case,
      	since this function will now never be called for the desktop.
      
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_file_monitor_add): Pass through the new
      	"monitor hidden files" and "monitor backup files" parameters.
      	(nautilus_self_check_directory): Pass TRUE for both.
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(vfs_file_monitor_add): Pass through the new "monitor hidden
      	files" and "monitor backup files" parameters.
      
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_file_monitor_add), (monitor_add_directory): Store the
      	"monitor hidden files" and "monitor backup files" and pass them
      	through to the individual directory monitor calls.
      
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_node_begin_monitoring_no_connect):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_monitor_add):
      	* libnautilus-extensions/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_initialize):
      	* src/nautilus-applicable-views.c:
      	(got_minimum_file_info_callback):
      	Pass in TRUE for "monitor hidden files" and "monitor backup files"
      	to get the same behavior as before. (In some cases the booleans
      	are just ignored, in other cases we just monitor all files as we
      	used to.)
      
      	* RENAMING: Remind myself to change the name of the
      	NAUTILUS_CALL_VIRTUAL macro to NAUTILUS_CALL_METHOD some day.
      f649b991
  19. 30 Nov, 2000 1 commit
    • Maciej Stachowiak's avatar
      reviewed by: Darin Adler <darin@eazel.com> · bf02801c
      Maciej Stachowiak authored
      	Fixed bugs 4385 (Nautilus doesn't gracefully handle deleting
      	in-use image file), 3240 (reloading a directory doesn't update
      	directory counts of the entries) and 4683 (embedded text on icon
      	isn't updated when text changes) by implementing forgetting of
      	file attributes and using it when appropriate.
      
      	Also fixed various other bugs cought by testing of these fixes or
      	reading the code.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_forget_attributes): New function that makes the
      	file forget the specified attributes, including cancelling
      	possible in-progress I/O for them, and kicking off new I/O if
      	anyone is monitoring any of the attributes or has a pending
      	call_when_ready.
      	(nautilus_file_forget_attributes_internal): Forget all attributes
      	of this file, *not* including cancelling in-progress I/O, or
      	kicking off new I/O. This is for the benefit of NautilusDirectory
      	being able to forget the attributes of all files it is monitoring
      	at one go.
      	(nautilus_file_forget_all_attributes): Forget all attributes of
      	this file, including cancelling in-progress I/O, and kicking off
      	new I/O.
      	(forget_directory_count, forget_deep_counts, forget_mime_list,
      	forget_top_left_text, forget_file_info, forget_activation_uri):
      	Helper functions to forget individual attributes.
      	(nautilus_file_forget_activation_uri): Removed as obsolete.
      	(destroy): use `nautilus_g_list_free_deep' to free the mime list.
      
      	* libnautilus-extensions/nautilus-directory-notify.h: Remove
      	prototype for `nautilus_file_forget_activation_uri'.
      
      	* libnautilus-extensions/nautilus-file-private.h: Prototype
      	`nautilus_file_forget_attributes_internal'.
      
      	* libnautilus-extensions/nautilus-file.h:
      	`nautilus_file_forget_attributes' and
      	`nautilus_file_forget_all_attributes'.
      
      	* libnautilus-extensions/nautilus-link.c
      	(nautilus_link_local_set_link_uri): Use
      	`nautilus_file_forget_attributes', not
      	`nautilus_file_forget_activation_uri' to ensure reload of the
      	activation URI.
      	(forget_file_activation_uri): Helper function for the above.
      
      	* libnautilus-extensions/nautilus-directory-async.c
      	(nautilus_directory_cancel_loading_file_attributes): Function to
      	cancel in-progress I/O for a given set of attributes but only if
      	it is in progress for the specified file. This function is used to
      	implement part of `nautilus_file_forget_attributes'.
      	(cancel_directory_count_for_file, cancel_deep_counts_for_file,
      	cancel_mime_list_for_file, cancel_top_left_text_for_file,
      	cancel_file_info_for_file, cancel_activation_uri_for_file): Helper
      	functions for the above.
      	(nautilus_directory_force_reload): Add a `file_attributes'
      	argument and make sure to forget the specified
      	attributes. Forgetting the attributes fixes bugs 3240 and 4683.
      	(nautilus_directory_forget_file_attributes): Function to forget
      	the specified attributes for all files. It makes sure to only
      	cancel and kick off new I/O once.
      	(cancel_loading_attributes): helper function for the above that
      	cancels in-progress loads for the specified attributes, regardless
      	of for what file.
      	(request_is_satisfied): The request is not satisfied if the
      	request calls for top left text and the file lacks it.
      	(top_left_read_callback): Set 1got_top_left_text' field of the
      	NautilusFile to TRUE. This problem was masked by the problem with
      	`request_is_satisfied' fixed above.
      	(set_up_request_by_file_attributes): Make sure to request the
      	file_info as well if top left text is requested, since
      	applicability of top left text depends on the mime type.
      	(get_info_callback): Mark the file gone if we get
      	GNOME_VFS_ERROR_NOT_FOUND; we can only get this error for files
      	gnome-vfs should know about but that do not exist. This is needed
      	to detect files that are removed on a reload.
      
      	* libnautilus-extensions/nautilus-directory-private.h: Update
      	prototype for `nautilus_directory_force_reload'; Prototype
      	`nautilus_directory_cancel_loading_file_attributes'
      
      	* libnautilus-extensions/nautilus-vfs-directory.c
      	(vfs_file_monitor_add): Pass the file attributes to
      	`nautilus_directory_force_reload' since it now wants them.
      
      	* src/nautilus-window-manage-views.c
      	(viewed_file_changed_callback): Cancel location change before
      	closing the window, since detecting the file is gone is now likely
      	to happen in the middle of an in-progress reload, and we get
      	crashes if this is not done.
      	(nautilus_window_begin_location_change): If we're doing a reload,
      	forget all file attributes of the NautilusFile for the currently
      	viewed location. This is to make sure we detect if the file is
      	gone, and also update the sidebar panel icon and other info
      	appropriately. This fixes bug 4385.
      bf02801c
  20. 12 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Use `nautilus_file_get_existing', not `nautilus_file_get', to check if a · 9874534d
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_removed,
      	nautilus_directory_notify_files_moved): Use
      	`nautilus_file_get_existing', not `nautilus_file_get', to check if
      	a file is already known. `nautilus_file_get' would have created
      	new NautilusFiles and NautilusDirectories only to do redundant
      	notification later in the function. Also, the old code was a bit
      	silly because `nautilus_file_get' only returns NULL for a NULL
      	URI.
      
      	Work towards bug 3362, eliminate directory metadata.
      
      	* libnautilus-extensions/nautilus-file-attributes.h: Added
      	NAUTILUS_FILE_ATTRIBUTE_METADATA attribute.
      
      	* libnautilus-extensions/nautilus-directory-async.c
      	(set_up_request_by_file_attributes):
      
      	* libnautilus-extensions/nautilus-wait-until-ready.h,
      	libnautilus-extensions/nautilus-file.h,
      	libnautilus-extensions/nautilus-directory.h,
      	libnautilus-extensions/nautilus-directory.c,
      	libnautilus-extensions/nautilus-file.c
      	(nautilus_directory_call_when_ready,
      	nautilus_directory_wait_until_ready,
      	nautilus_directory_file_monitor_add,
      	nautilus_self_check_directory, nautilus_file_monitor_add,
      	nautilus_file_call_when_ready, nautilus_file_wait_until_ready):
      	Remove monitor_metadata or wait_for_metadata attribtues from these
      	calls; the new way to do it is to monitor or wait for the METADATA
      	file attribute.
      
      	* libnautilus-extensions/nautilus-directory-private.h
      	libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_monitor_add_internal,
      	nautilus_directory_call_when_ready_internal,
      	nautilus_directory_check_if_ready_internal): Eliminate
      	monitor_metadata, wait_for_metadata, etc arguments.
      
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_callback_connect_directory), (merged_call_when_ready),
      	(merged_file_monitor_add), (monitor_add_directory):
      
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(vfs_call_when_ready), (vfs_file_monitor_add):
      
      	* libnautilus-extensions/nautilus-directory-background.c
      	(nautilus_connect_background_to_directory_metadata): Monitor
      	metadata the new approved way.
      
      	* libnautilus-extensions/nautilus-mime-actions.c
      	(nautilus_directory_wait_for_metadata,
      	nautilus_mime_get_default_component_for_uri_internal,
      	nautilus_mime_get_short_list_components_for_uri,
      	nautilus_mime_get_all_components_for_uri,
      	get_mime_type_from_file): Wait for metadata the new approved way.
      
      	* src/file-manager/fm-directory-view.c
      	(fm_directory_view_activate_file, fm_directory_view_load_uri,
      	finish_loading_uri, metadata_ready_callback):
      	Monitor/call_when_ready using the new API.
      
      	* src/file-manager/fm-properties-window.c:
      	(create_properties_window, fm_properties_window_present):
      	Monitor/call_when_ready using the new API.
      
      	* src/file-manager/fm-search-list-view.c (real_adding_file):
      	Monitor/call_when_ready using the new API.
      
      	* src/file-manager/nautilus-trash-monitor.c
      	(nautilus_trash_monitor_initialize): Monitor/call_when_ready using
      	the new API.
      
      	* src/nautilus-applicable-views.c (nautilus_navigation_info_new):
      	Monitor/call_when_ready using the new API.
      
      	* components/notes/nautilus-notes.c (notes_load_metainfo):
      	Monitor/call_when_ready using the new API.
      
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_monitor_add,
      	nautilus_tree_model_monitor_node): Monitor/call_when_ready using the new API.
      
      	* src/nautilus-sidebar-title.c, src/nautilus-sidebar-title.h
      	(nautilus_sidebar_title_set_uri): Monitor/call_when_ready using
      	the new API, and use file metadata instead of directory metadata.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_destroy,
      	nautilus_sidebar_add_panel_items,
      	nautilus_sidebar_background_is_default, receive_dropped_uri_list,
      	receive_dropped_color, receive_dropped_keyword,
      	(background_settings_changed_callback,
      	background_appearance_changed_callback, background_reset_callback,
      	open_with_callback, nautilus_sidebar_update_buttons,
      	nautilus_sidebar_update_appearance, nautilus_sidebar_set_uri):
      	Monitor/call_when_ready using the new API, and use file metadata
      	instead of directory metadata. Keep around a NautilusFile
      	representing the current sidebar location, simplifying bunches of
      	code and hopefully eliminating potential redundant I/O.
      
      	* src/nautilus-window-manage-views.c
      	(viewed_file_changed_callback, position_and_show_window_callback,
      	nautilus_window_end_location_change_callback):
      	Monitor/call_when_ready using the new API, and use file metadata
      	instead of directory metadata. Keep around a NautilusFile
      	representing the current sidebar location, simplifying bunches of
      	code and hopefully eliminating potential redundant I/O.
      
      	* src/nautilus-window.c (nautilus_window_save_geometry): Use file
      	metadata instead of directory metadata.
      9874534d
  21. 11 Oct, 2000 1 commit
    • Darin Adler's avatar
      Added a hash table to make access of files by name fast. · 86af18b8
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(dequeue_pending_idle_callback): Call the new
      	nautilus_directory_remove_file function to do the removing instead
      	of doing it here. Call the new nautilus_directory_add_file
      	function to do the adding instead of doing it here.
      	* libnautilus-extensions/nautilus-directory-private.h: Added hash
      	table.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_initialize): Create hash table.
      	(nautilus_directory_destroy): Destroy hash table.
      	(add_to_hash_table), (extract_from_hash_table),
      	(nautilus_directory_add_file), (nautilus_directory_remove_file):
      	New functions to add and remove files that put things into hash
      	table as well.
      	(nautilus_directory_begin_file_name_change),
      	(nautilus_directory_end_file_name_change): Functions to deal with
      	cases where the name changes so the hash table entry can be moved.
      	(nautilus_directory_find_file): Use the hash table instead of
      	searching the list.
      	(nautilus_directory_notify_files_moved): Use
      	nautilus_directory_remove_file and nautilus_directory_add_file
      	instead of modifying the file list directly.
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_internal): Use nautilus_directory_add_file
      	instead of adding to the file list directly.
      	(destroy): Use nautilus_directory_remove_file instead of removing
      	from the file list directly.
      	(rename_update_info_and_metafile), (nautilus_file_update_info),
      	(nautilus_file_update_name): Use the new file name change calls to
      	let the directory know it needs to move the hash table entry.
      	(nautilus_file_mark_gone): Use nautilus_directory_remove_file
      	instead of removing from the file list directly.
      	* libnautilus-extensions/nautilus-vfs-directory.c: Update for name
      	change of file list field.
      
      	* src/nautilus-window.c: (nautilus_window_clear_status): Take
      	advantage of Bonobo fix. We now use NULL to tell the status bar to
      	erase our status message.
      86af18b8
  22. 02 Sep, 2000 1 commit
    • Darin Adler's avatar
      Made this function public because it's needed to get the assert right. · ee13aa80
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_is_anyone_monitoring_file_list):
      	Made this function public because it's needed to get the
      	assert right.
      	(start_or_stop_io): Use it by the new public name.
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(vfs_is_not_empty): Use the new function to get the assert
      	right, which fixes bug 2706 (crash at startup with
      	bookmark for nonexistent trash file).
      
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(remove_trash_volume): Fix a NautilusDirectory leak.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(print_key_string), (free_hash_tables_at_exit):
      	Print keys before complaining about hash table so you
      	see them first if you have things set to drop into
      	the debugger on warnings.
      ee13aa80
  23. 17 Aug, 2000 1 commit
    • Darin Adler's avatar
      Remove extra parameters now that the initial files callback is gone. It · 56d7a027
      Darin Adler authored
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_monitor_node):
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_monitor_add_internal):
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_connect_background_to_directory_metadata):
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_file_monitor_add),
      	(nautilus_self_check_directory):
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_monitor_add):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(trash_file_monitor_add):
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(vfs_file_monitor_add):
      	* src/file-manager/fm-directory-view.c: (finish_loading_uri):
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_metadata_ready_callback):
      	Remove extra parameters now that the initial files callback is
      	gone. It turns out emitting another files_added signal works just
      	fine. If it wasn't for the search list view, I could also merge
      	the "file_added" and "files_changed" signals easily. Both of these
      	changes would simplify the work on the virtual trash directory.
      
      	* libnautilus-extensions/nautilus-link.h:
      	* libnautilus-extensions/nautilus-link.c:
      	Get rid of NAUTILUS_LINK constant, which looked like a link type,
      	but was really an unrelated implementation detail.
      
      	* libnautilus-extensions/nautilus-icon-container.c: (sort_icons),
      	(resort), (lay_down_icons_tblr), (finish_adding_new_icons):
      	Removed the file-manager-specific stuff Gene added for the desktop.
      	I fight the continuing battle to keep NautilusIconContainer a
      	general icon container, and not just for the Nautilus icon view.
      	The drag code is still an exception to this that needs to be fixed
      	some day (for NautilusList too).
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_initialize),
      	(get_local_path), (get_sort_category),
      	(desktop_icons_compare_callback):
      	Rewrote sorting code from NautilusIconContainer and moved it
      	here where it belongs.
      56d7a027
  24. 15 Aug, 2000 1 commit
    • Darin Adler's avatar
      Getting closer to an implementation of the shared trash. Did a bit · 8d0a34c5
      Darin Adler authored
      	of factoring so that the trash has its own NautilusDirectory
      	subclass now, and the appropriate functions are virtual.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_are_all_files_seen),
      	(nautilus_directory_contains_file),
      	(nautilus_directory_call_when_ready),
      	(nautilus_directory_cancel_callback),
      	(nautilus_directory_file_monitor_add),
      	(nautilus_directory_file_monitor_remove),
      	(nautilus_directory_is_not_empty): Made all these functions
      	virtual.
      	(wait_until_ready_callback),
      	(nautilus_directory_wait_until_ready): Fixed some names and got
      	rid of some type casts.
      
      	* libnautilus-extensions/nautilus-gtk-macros.h: Added a new macro
      	to make calls to virtual functions easier to read.
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_initialize):
      	Minor cleanup and name changes.
      
      	* libnautilus-extensions/nautilus-lib-self-check-functions.h:
      	* libnautilus-extensions/nautilus-search-uri.h:
      	* libnautilus-extensions/nautilus-search-uri.c:
      	(nautilus_is_search_uri): Added a function to tell if a URI is a
      	search URI.
      	(nautilus_self_check_search_uri): Added self-checks.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(allow_metafile):
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_set_location):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_end_location_change_callback):
      	Changed to use the is_search_uri function.
      
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(trash_destroy), (trash_contains_file), (trash_call_when_ready),
      	(trash_cancel_callback), (trash_file_monitor_add),
      	(trash_file_monitor_remove), (trash_are_all_files_seen),
      	(trash_is_not_empty), (nautilus_trash_directory_initialize_class):
      	Trash versions of the virtual functions.
      
      	* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy),
      	(vfs_contains_file), (vfs_call_when_ready), (vfs_cancel_callback),
      	(vfs_file_monitor_add), (vfs_file_monitor_remove),
      	(vfs_are_all_files_seen), (any_non_metafile_item),
      	(vfs_is_not_empty), (nautilus_vfs_directory_initialize_class):
      	Non-trash versions of the virtual functions (mostly code moved
      	from nautilus-directory.c).
      
      	* src/file-manager/fm-directory-view.c:
      	(disconnect_model_handlers): Fix a place that relied on doing a
      	call with a NautilusDirectory of NULL. We don't need to be so
      	tolerant of NULL any more now that nautilus_directory_get always
      	returns a non-NULL result for any URI.
      
      	* src/nautilus-window.c: (nautilus_window_realize):
      	A little code cleanup.
      	(nautilus_window_load_content_view_menu): Fixed a storage leak
      	of the method string.
      
      	* src/nautilus.oafinfo: Added trash and gnome-trash as additional
      	URIs supported by the icon and list view.
      8d0a34c5
  25. 14 Aug, 2000 1 commit
    • Darin Adler's avatar
      More prep work for the trash directory. · 5baaa578
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(nautilus_trash_directory_initialize_class),
      	(nautilus_trash_directory_initialize),
      	(nautilus_trash_directory_destroy):
      	* libnautilus-extensions/nautilus-trash-directory.h:
      	* libnautilus-extensions/nautilus-vfs-directory.c:
      	(nautilus_vfs_directory_initialize_class),
      	(nautilus_vfs_directory_initialize),
      	(nautilus_vfs_directory_destroy):
      	* libnautilus-extensions/nautilus-vfs-directory.h:
      	Add subclasses for the trash and for general VFS directories.
      	Using refactoring techniques to move code down into these
      	subclasses. This is not intended to be a general framework,
      	but should be good enough to handle both these cases.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(can_use_public_metafile), (metafile_read_check_for_directory),
      	(metafile_read_failed), (metafile_read_start), (allow_metafile),
      	(metafile_write_success_close_callback),
      	(nautilus_metafile_write_start), (start_monitoring_file_list),
      	(get_corresponding_file), (start_getting_file_info):
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy), (make_uri_canonical),
      	(nautilus_directory_get_internal), (nautilus_directory_get_uri),
      	(construct_private_metafile_uri), (nautilus_directory_new),
      	(nautilus_directory_is_local), (nautilus_directory_is_not_empty),
      	(nautilus_self_check_directory):
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_internal), (nautilus_file_rename),
      	(nautilus_file_get_gnome_vfs_uri), (nautilus_file_matches_uri),
      	(nautilus_file_compare_by_name),
      	(nautilus_file_compare_by_directory_name),
      	(nautilus_file_compare_for_sort), (nautilus_file_get_uri),
      	(nautilus_file_set_permissions),
      	(nautilus_file_get_string_attribute),
      	(nautilus_file_get_mime_type), (nautilus_file_is_in_trash),
      	(nautilus_file_contains_text), (nautilus_file_get_directory_name),
      	(nautilus_file_mark_gone), (nautilus_file_changed):
      	* libnautilus-extensions/nautilus-file.h:
      	Add code to handle case of directory that can't be handled by
      	gnome-vfs. Mostly some NULL checks. Also renamed fields to make
      	it clear that the text URI is the "real" one. Added code to
      	handle the "gnome-trash:" and "trash:" schemes specially in the
      	code to make URIs canonical.
      
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(get_mime_type_from_uri): Return "application/octet-stream"
      	instead of NULL for unknown MIME type.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_display_selection_info): Eliminated the
      	nautilus_file_get_real_name call.
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_set_location): Eliminated
      	the nautilus_directory_is_search_directory call.
      
      	* src/file-manager/fm-search-list-view.c: (real_adding_file):
      	Fixed formatting mistake.
      
      	* src/nautilus-view-frame.c: (set_up_for_new_location): Emit
      	the title_changed signal for each change in location.
      5baaa578