1. 09 Nov, 2001 1 commit
  2. 06 Nov, 2001 1 commit
  3. 04 Nov, 2001 2 commits
  4. 30 Oct, 2001 1 commit
  5. 28 Oct, 2001 1 commit
  6. 15 Sep, 2001 1 commit
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 18 Jan, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · e82bab8c
      Darin Adler authored
      	Fixed bug 2147 (NautilusFile for trash needs non-empty values for
      	more properties), bug 5652 (MIME type field appears but shouldn't
      	in properties window for Trash), and bug 4620 (trash sidebar
      	should show number of items).
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri): Create trash file subclass
      	when appropriate.
      	(nautilus_file_info_missing): Rename so it can be used in other
      	source files.
      	(nautilus_file_get_date): New method that returns numeric dates.
      	(nautilus_file_get_date_as_string): Change to call
      	nautilus_file_get_date to get the numeric date.
      	(nautilus_file_get_file_type): Turn into a method.
      
      	* libnautilus-extensions/nautilus-merged-directory.h:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_call_when_ready): Rolled in the old
      	merged_callback_connect_directory function.
      	(merged_contains_file): Moved down to a more appropriate part of
      	the source file.
      	(nautilus_merged_directory_get_real_directories): New public
      	function for use by trash.
      
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(trash_callback_hash), (trash_callback_equal),
      	(trash_callback_destroy), (trash_callback_check_done),
      	(trash_callback_remove_file), (ready_callback),
      	(real_file_changed_callback), (monitor_add_file), (add_real_file),
      	(trash_callback_remove_file_cover), (monitor_remove_file),
      	(remove_real_file), (add_real_file_given_directory),
      	(add_directory_callback), (remove_directory_callback),
      	(trash_file_call_when_ready), (trash_file_cancel_call_when_ready),
      	(trash_file_check_if_ready), (trash_file_monitor_add),
      	(trash_file_monitor_remove), (trash_file_get_file_type),
      	(trash_file_get_item_count), (trash_file_get_deep_counts),
      	(trash_file_get_date), (remove_all_real_files),
      	(nautilus_trash_file_initialize), (trash_destroy),
      	(nautilus_trash_file_initialize_class):
      	New code. First implementation of getting some attributes for the
      	merged trash. Gets list of directories from the
      	NautilusTrashDirectory object. The code in here is similar to the
      	NautilusMergedDirectory class and at some point perhaps we can
      	make the two share more.
      
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	(vfs_file_get_file_type), (vfs_file_get_date),
      	(nautilus_vfs_file_initialize_class): Implement the two new
      	methods for the standard vfs case.
      
      	Fixed various things that affect the properties window for the
      	trash that showed up while I was testing the above work:
      
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_name_for_regular_file),
      	(nautilus_icon_factory_get_icon_name_for_file): Move trash special
      	case out so it doesn't matter what type the trash seems to be. The
      	old code relied on trash not being a directory.
      
      	* src/file-manager/fm-properties-window.c:
      	(create_properties_window), (create_properties_window_callback),
      	(cancel_create_properties_window_callback),
      	(directory_view_destroyed_callback), (remove_pending_file): Rework
      	code to fix problems where the timed wait or the signal handler
      	wasn't properly cleaned up.
      
      	Fixed remaining bit of bug 5631 (Tear-offs of right-click menus
      	don't work.):
      
      	* src/file-manager/nautilus-desktop-icon-view-ui.xml: Mark Disks
      	right-click submenu so it won't get a tear-off item.
      
      	Fixed bug 5650 (nautilus --quit fails to return to prompt
      	sometimes):
      
      	* src/nautilus-application.c: (nautilus_application_startup): Add
      	special case so "nautilus --quit" doesn't hang waiting for a
      	response from the (now quit) "server" instance of Nautilus.
      	* src/nautilus-shell-interface.idl: Had to make the quit call no
      	longer be "oneway" to get it to work right, otherwise the quit
      	message could be lost when the sending application exited too
      	fast.
      
      	Fix bug 5675 (Nitpicks in new "could not be moved to new special
      	location" dialog):
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(handle_transfer_overwrite): Updated message wording as Eli (and
      	Vera) suggest.
      
      	Other changes:
      
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(get_lang_list): Fix comment and a small storage leak in the case
      	where lang_with_locale is non-NULL but empty.
      
      	* po/POTFILES.ignore: Obsolete file, no longer used.
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(update_home_link_and_delete_copies): Update comment to help
      	translators understand better.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(directory_load_callback): Added a new assertion that could help
      	in future gnome-vfs debugging.
      
      	* libnautilus/nautilus-view-component.idl: Removed long-ago-fixed
      	FIXME comment.
      
      	* src/nautilus-window-manage-views.c: Tweak spacing.
      e82bab8c
  13. 15 Jan, 2001 1 commit
    • Darin Adler's avatar
      Fix bug 5557 (Intermittent crash in · daee7ca5
      Darin Adler authored
      	Nautilus_View_history_changed):
      
      	* src/nautilus-view-frame.c: (send_history): Added a check for
      	NULL so we don't try to send a NULL history list through the
      	history machinery.
      
      	Fix bug 5360 ("menthos's Home" string is hard to translate):
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(update_home_link_and_delete_copies): Added comment to help
      	translators understand what to do with "%s's Home".
      
      	Fix bug 5641 ("xfree" does not work with newer versions of RPM 4
      	headers):
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_packagedata_fill_from_header): Just
      	use "free" instead of "xfree".
      
      	Fix bug 5631 (Tear-offs of right-click menus don't work):
      
      	* src/nautilus-shell-ui.xml:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/file-manager/nautilus-icon-view-ui.xml:
      	Mark popups and submenus of the popups with tearoff="0" so they
      	don't have tear-off menu items.
      
      	More work on bug 2147 (NautilusFile for trash needs non-empty
      	values for more properties).
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri),
      	(nautilus_file_new_from_info), (nautilus_file_monitor_add),
      	(nautilus_file_monitor_remove),
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts), (nautilus_file_check_if_ready),
      	(nautilus_file_call_when_ready),
      	(nautilus_file_cancel_call_when_ready):
      	Put more of the machinery in place to make enough of NautilusFile
      	virtual so that we can implement the trash case.
      
      	* libnautilus-extensions/nautilus-merged-directory.h:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_add_real_directory),
      	(nautilus_merged_directory_add_real_directory),
      	(merged_remove_real_directory),
      	(nautilus_merged_directory_remove_real_directory),
      	(remove_all_real_directories),
      	(nautilus_merged_directory_initialize_class):
      	Make adding and removing directories use signals so we can share
      	this list with the NautilusTrashFile.
      
      	* libnautilus-extensions/nautilus-trash-file.c:
      	(add_directory_callback), (remove_directory_callback),
      	(nautilus_trash_file_initialize), (trash_destroy):
      	Use a NautilusTrashDirectory object for the list of directories.
      
      	* libnautilus-extensions/nautilus-vfs-file.c:
      	(vfs_file_monitor_add), (vfs_file_monitor_remove),
      	(vfs_file_call_when_ready), (vfs_file_cancel_call_when_ready),
      	(vfs_file_check_if_ready), (vfs_file_get_item_count),
      	(vfs_file_get_deep_counts), (nautilus_vfs_file_initialize_class):
      	Move the guts of these functions into the "VFS" subclass.
      
      	Other stuff:
      
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(find_directory_start), (find_directory_end),
      	(find_directory_callback), (add_volume), (remove_trash_volume):
      	Fix bug in the recently-added timed-wait, to handle the case where
      	the call is cancelled as well as the case where it succeeds or
      	fails.
      
      	* src/file-manager/fm-directory-view.c:
      	(zoomable_set_zoom_level_callback): Formatting tweak.
      
      	* src/nautilus-main.c: (main): Fix the FIXME.
      daee7ca5
  14. 04 Jan, 2001 2 commits
    • 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
    • Darin Adler's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · f683ed79
      Darin Adler authored
      	Fix bug 5235 ("Forget History" eliminates history from Go menu,
      	not History sidebar panel).
      
      	* components/history/nautilus-history-view.c:
      	(install_icons): Fix leak of pixmap and bitmap.
      	(update_history): Replaced dual lock system with a single one.
      	(button_press_callback): Only respect button 1, ignore others.
      	(button_release_callback): Only respect button 1, ignore others,
      	(history_changed_callback): A new single callback for when the
      	history list changes to replace the multiple callbacks before.
      	(nautilus_history_view_initialize_class),
      	(nautilus_history_view_initialize),
      	(nautilus_history_view_destroy), (main): Change the history view
      	to use nautilus_view_standard_main which requires a subclass. This
      	gets rid of a lot of boilerplate code.
      
      	* libnautilus/nautilus-view-component.idl: Make every NautilusView
      	get an explicit history_changed call instead of requiring them to
      	guess when to get history. Removed the old get_history_list call
      	and also renamed the HistoryList sequence to History.
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	(impl_Nautilus_View_history_changed),
      	(nautilus_view_initialize_class): Added the necessary stuff to
      	cover the new history_changed call.
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c: (nautilus_view_frame_initialize):
      	Connect handlers so we can send history_changed calls to the
      	NautilusView when either the history or the icons change.
      	(nautilus_view_frame_destroy): Change state to EMPTY so the
      	history signal won't be sent once the frame is destroyed.
      	(view_frame_activated): Send a history_changed to every
      	newly-activated view.
      	(get_CORBA_object): Helper function to make code that makes CORBA
      	calls simpler.
      	(check_if_view_is_gone): Use get_CORBA_object.
      	(attach_client): Gave a nicer name, removed the code that makes
      	the Nautilus_HistoryFrame interface.
      	(nautilus_view_frame_load_client): Do the attach_client (formerly
      	nautilus_view_frame_set_to_component) before calling
      	view_frame_activated. This is needed since view_frame_activated
      	now sends a history_changed to the view.
      	(nautilus_view_frame_load_location),
      	(nautilus_view_frame_stop_loading),
      	(nautilus_view_frame_selection_changed),
      	(nautilus_view_frame_title_changed): Use get_CORBA_object.
      	(get_history_list): Made this private.
      	(send_history): Helper function that sends history to the view if
      	it's in the appropriate state.
      
      	* src/Makefile.am:
      	* src/nautilus-history-frame.c:
      	* src/nautilus-history-frame.h:
      	Removed the old NautilusHistoryFrame, which is no longer needed
      	since we put the history call right in the NautilusView class.
      
      	* src/nautilus-window-manage-views.c: (get_history_list_callback):
      	Updated for Nautilus_HistoryList -> Nautilus_History change.
      
      	Fix bug 5391 ("Esc" Canceling of an icon stretch doesn't restore
      	icon position.).
      
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(clear_drag_state): Add a single bottleneck function to make sure
      	the context menu timeout always gets canceled.
      	(continue_stretching): Remove the unused "update_position" parameter.
      	(undo_stretching): Consolidate the cancel_stretching function and
      	restore the icon's position as well as its size. Also use the new
      	bottleneck to clear the drag state.
      	(button_release_event): Use the new bottleneck to clear the drag
      	state.
      	(show_context_menu_callback): Use the new bottleneck to clear the
      	drag state.
      	(nautilus_icon_container_set_selection),
      	(nautilus_icon_container_select_list_unselect_others): Take
      	advantage of the defaults in g_hash_table_new and use NULL, NULL
      	instead of g_direct_hash, g_direct_equal.
      	(nautilus_icon_container_show_stretch_handles): Save the position
      	as well as the size.
      	(compute_stretch): Add a FIXME with a bug number.
      
      	Fix bug 5407 (Make "Hardware Overview" title translatable).
      
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy): Remove unused uri field.
      	(extract_info): Fix storage leak.
      	(get_RAM_description): Get rid of code that non-portably relies on
      	long long. Mark strings for translation.
      	(get_IDE_description): Get rid of code that non-portably relies on
      	long long. Mark strings for translation.
      	(setup_overview_form): Marked string for translation.
      	(setup_CPU_form), (setup_RAM_form), (setup_IDE_form),
      	(is_location), (nautilus_hardware_view_load_uri): Disable the
      	views other than the overview for now since they are not ready to
      	be seen.
      	(nautilus_hardware_view_drag_data_received): Get rid of the code
      	that makes the hardware view accept a URI list drag.
      
      	Fix bug 5405 (nautilus --check fails when using LC_ALL=sv_SE due
      	to missing entry in POTFILES.in).
      
      	* po/POTFILES.in: Added nautilus-glib-extensions.c.
      
      	Other changes.
      
      	* src/nautilus-signaller.h:
      	* src/nautilus-signaller.c: (nautilus_signaller_initialize_class),
      	(nautilus_signaller_get_current):
      	Change the NautilusSignaller class so that the interface calls the
      	object a GtkObject * and the details of the class are hidden.
      
      	* src/nautilus-property-browser.c: (emit_emblems_changed_signal):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy),
      	(nautilus_search_bar_criterion_new_from_values):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_initialize_go_menu):
      	* src/nautilus-window.c: (nautilus_send_history_list_changed):
      	Now that nautilus_signaller_get_current returns a GtkObject,
      	remove some unnecessary casts.
      
      	* components/html/glibwww-callbacks.c: (get_sock_info),
      	(glibwww_timer_register):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_initialize):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_initialize):
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(async_job_start):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_added),
      	(nautilus_directory_notify_files_removed),
      	(nautilus_directory_notify_files_moved):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_initialize):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_set_selection):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(nautilus_merged_directory_initialize):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(nautilus_trash_directory_initialize):
      	* src/file-manager/fm-properties-window.c:
      	(fm_properties_window_present):
      	Take advantage of the defaults in g_hash_table_new and use NULL,
      	NULL instead of g_direct_hash, g_direct_equal.
      f683ed79
  15. 08 Dec, 2000 1 commit
    • Rebecca Schulman's avatar
      Bug numbers for the FIXMEs in libnautilus-extensions. · d160849c
      Rebecca Schulman authored
      2000-12-07  Rebecca Schulman  <rebecka@eazel.com>
              Bug numbers for the FIXMEs in libnautilus-extensions.
      
      	* libnautilus-extensions/nautilus-customization-data.c:
      	(format_name_for_display):
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(dequeue_pending_idle_callback), (cancel_loading_attributes),
      	(nautilus_directory_cancel_loading_file_attributes):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_handle_directory_moved),
      	(nautilus_directory_notify_files_moved),
      	(nautilus_self_check_directory):
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_make_uri_canonical),
      	(pthread_nautilus_read_file_thread_entry),
      	(pthread_nautilus_read_file_async), (nautilus_read_file_cancel),
      	(nautilus_self_check_file_utilities):
      	* libnautilus-extensions/nautilus-file.c: (get_description),
      	(nautilus_file_forget_attributes_internal):
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_start_renaming_selected_item):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(receive_dropped_uri_list):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_size_allocate), (label_recompute_line_geometries):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(nautilus_merged_directory_add_real_directory):
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_default_application_for_file_internal):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_text_layout_paint):
      	* libnautilus-extensions/nautilus-search-uri.c:
      	(nautilus_self_check_search_uri):
      	* libnautilus-extensions/nautilus-string.c:
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	(editable_key_press_event), (nautilus_undo_editable_set_undo_key):
      d160849c
  16. 07 Dec, 2000 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · ca6e9f3b
      Darin Adler authored
      	Fixed bug 3245 (When an empty folder is visited, the throbbing
      	never stops), bug 2540 (Hook up done_loading signal in
      	NautilusMergedDirectory?), and bug 3067 (throbber doesn't start
      	again if you do a new "underway" call after load is complete).
      
      	* src/file-manager/fm-directory-view.c: (queue_pending_files):
      	Get rid of code that uses nautilus_directory_are_all_files_seen
      	to notice we are done loading.
      	(done_loading_callback): Use done_loading signal to notice we
      	are done loading.
      	(finish_loading_uri): Connect to the done_loading signal.
      	(disconnect_model_handlers): Disconnect from the done_loading
      	signal.
      
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(done_loading_callback),
      	(nautilus_merged_directory_add_real_directory),
      	(nautilus_merged_directory_remove_real_directory): Add code to
      	track all the trash directories and emit done_loading signals
      	once all of them are done loading.
      
      	* src/nautilus-window-manage-views.c: (change_state): Turn the
      	stop and the throbber back on when a view re-marks itself
      	underway.
      
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_file_receive_dropped_keyword): Fix storage leak by
      	doing a free_deep on the list of keywords.
      
      	* libnautilus-extensions/nautilus-file-operations.h:
      	* libnautilus-extensions/nautilus-file-operations.c:
      	Get rid of excess includes.
      
      	* libnautilus-extensions/nautilus-icon-dnd.c: Get rid of unused
      	ERASE_KEYWORD constant.
      
      	* src/nautilus-window.c: (nautilus_window_constructed): Fix a
      	typo in a comment.
      ca6e9f3b
  17. 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
  18. 29 Aug, 2000 1 commit
    • John Sullivan's avatar
      Added more bug numbers to FIXMEs. 49 to go. · 75d9047c
      John Sullivan authored
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_uninstall_downward_traverse):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(nautilus_merged_directory_add_real_directory):
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(make_oaf_query_with_known_mime_type),
      	(make_oaf_query_with_uri_scheme_only):
      	* libnautilus-extensions/nautilus-preferences.c:
      	(nautilus_preferences_set_string_list):
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(program_file_pair_compute_status), (get_supertype_from_file):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_measure_text):
      	* libnautilus/nautilus-view.c: (view_frame_call_begin):
      	* nautilus-installer/src/support.c: (create_pixmap),
      	(create_image):
      	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
      	(volume_unmounted_callback), (place_home_directory):
      	* src/file-manager/fm-icon-view.c: (get_next_position),
      	(play_file), (get_icon_text_callback):
      	* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
      	(create_list), (fm_list_view_set_zoom_level),
      	(fm_list_view_font_family_changed):
      	* src/file-manager/nautilus-indexing-info.c:
      	(nautilus_indexing_info_show_dialog):
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-first-time-druid.c:
      	(next_proxy_configuration_page_callback), (initiate_file_download):
      	* src/nautilus-property-browser.c: (add_background_to_browser):
      	* src/nautilus-shell.c:
      75d9047c
  19. 22 Aug, 2000 1 commit
    • Darin Adler's avatar
      Finished task 571 (Make a Trash "virtual directory" with trash · 72955895
      Darin Adler authored
      	from all volumes). Some loose ends are already reported in bugs
      	2146, 2243, and 2244.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-merged-directory.h:
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	Moved all the guts of NautilusTrashDirectory that are solely
      	about having a single directory that's a union of a bunch of
      	real directories into a separate base class. Also finished the
      	implementation, leaving only unimportant loose ends.
      
      	* libnautilus-extensions/nautilus-trash-directory.h:
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(get_volume_vfs_uri_if_writable), (find_directory_callback),
      	(add_volume), (remove_trash_volume), (remove_volume),
      	(add_one_volume), (volume_mounted_callback),
      	(volume_unmounted_callback), (nautilus_trash_directory_initialize),
      	(remove_trash_volume_cover), (trash_destroy),
      	(nautilus_trash_directory_initialize_class):
      	Added the code to find the trash on all volumes.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(flatten_hash_table_element),
      	(nautilus_g_hash_table_safe_for_each): Added a new version of the
      	hash table iterator that works even if the callback removes items
      	from the hash table.
      
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_largest_fitting_font_size): Added code to
      	handle the case of an empty name; the old code worked with NULL,
      	but not with "".
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_trash_state_changed_callback),
      	(find_and_rename_trash_link), (create_or_rename_trash):
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_initialize):
      	Changed to use the new "trash:" URL instead of locating one of
      	the trash folders.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize_class),
      	(fm_directory_all_selected_items_in_trash):
      	* src/file-manager/fm-search-list-view.c:
      	(fm_search_list_view_initialize_class):
      	The "share_parent" optimization didn't work for the new trash.
      	Instead of fixing it, I just removed it.
      
      	* src/nautilus-window-manage-views.c: (compute_default_title),
      	(nautilus_window_update_title): Made two changes to the default
      	title: 1) Use "" instead of "Nautilus" when there's no title.
      	We still use "Nautilus" in the window title, but not in the
      	sidebar any more. 2) Use the scheme part of a URI if there's
      	nothing after the colon. This works nicely for the trash.
      
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	(nautilus_background_canvas_group_render): Removed some unneeded
      	code and the FIXME that goes with it.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_is_not_empty): Removed an overzealous assert.
      72955895