1. 07 Mar, 2002 2 commits
    • Darin Adler's avatar
      Because lots of recent bugs were due to "signal handler called after · 136742e4
      Darin Adler authored
      	* Tons of files:
      	Because lots of recent bugs were due to "signal handler called after
      	object gone" problems, switched many calls of g_signal_connect and
      	g_signal_connect_swapped to use g_signal_connect_object instead.
      	Also did other signal-related cleanup and changed some destroys to
      	finalizes.
      
      	* libnautilus/nautilus-view-standard-main.h:
      	We no longer need to include nautilus-view.h in here. So include it
      	in the files that use this instead.
      
      	Did merges from stable branch:
      
      	2001-10-25  Darin Adler  <darin@bentspoon.com>
      
              * libnautilus-private/nautilus-directory.c:
              (call_files_changed_common), (call_files_changed_free_list),
              (call_files_changed_unref_free_list),
              (nautilus_directory_notify_files_changed): Move call to
              nautilus_directory_add_file_to_work_queue into a better
              bottleneck; now it catches all the notify cases, not just changed.
              Also tell it to re-get top-left text and link info too when we get
              a changed notice.
      
              * src/file-manager/fm-directory-view.c: (queue_pending_files):
              Don't use the timeout (and the hysteresis) when queuing files once
              the initial directory load is complete. Doing this was causing
              delays processing changes that came in later, which we don't want.
      
              * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
      	(update_all), (nautilus_sidebar_title_set_file): Monitor the
      	directory count once we get it the first time. This makes sure
      	that changes in the directory count get reflected in the sidebar
      	without creating a race with the main view to see who calculates
      	it first.
      
      	2001-10-25  Alex Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-directory.c
      	(nautilus_directory_notify_files_changed): Call
      	nautilus_directory_add_file_to_work_queue() when file_info is
      	invalidated.  Otherwise it will not be read again.
      136742e4
    • Michael Meeks's avatar
      impl. to cope with having a paned with no child2, without doing lots of · 6b579803
      Michael Meeks authored
      2002-03-07  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-horizontal-splitter.c
      	(nautilus_horizontal_splitter_size_allocate): impl. to
      	cope with having a paned with no child2, without doing
      	lots of bogus size re-allocation.
      	(nautilus_horizontal_splitter_class_init): upd.
      	(nautilus_horizontal_splitter_pack2): impl, since
      	gtkpaned relies on the re-size to generate an expose
      	to re-render it's splitter grabber thing.a
      
      	* src/nautilus-sidebar.c
      	(nautilus_sidebar_set_width): impl. moving all sidebar
      	preferences here,
      	(nautilus_sidebar_init): move auto value setup
      	here from class_init to save possible re-enterancy
      	issue. Request the size we want for the sidebar,
      	the pane will under-allocate if neccessary.
      	Set the old_width to the correct size so we don't
      	re-render the paned lots as it swiches about.
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): reflow to simplify,
      	call sidebar_set_width.
      	(nautilus_window_set_content_view_widget): use
      	nautilus_..._pack2 instead of gtk_paned to fix rendering.
      
      2002-03-06  Michael Meeks  <michael@ximian.com>
      
      	* components/notes/nautilus-notes.c
      	(make_notes_view): upd.
      
      	* components/news/nautilus-news.c
      	(rss_read_done_callback): parse the RTF, but don't spew
      	warnings everywhere.
      	(make_news_view): upd.
      
      	* components/throbber/main.c
      	(cb_create_throbber): impl.
      	(throbber_object_destroyed, throbber_make_object):
      	axe cut & paste.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_create_from_get_type_function):
      	widen from NautilusView to BonoboObject, this
      	code has a much wider application.
      	(make_object): ditto.
      
      	* components/hardware/nautilus-hardware-view.c
      	(nautilus_hardware_view_get_nautilus_view): upd.
      
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_new): kill.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): use gdk_get_display.
      
      	* libnautilus-private/nautilus-bonobo-extensions.c
      	(nautilus_bonobo_activation_register_for_display): impl.
      
      	* src/nautilus-application.c
      	(nautilus_application_startup): use it.
      
      	* src/nautilus-window-toolbars.c
      	(location_change_at_idle_callback),
      	(throbber_callback): move from nautilus-window.c
      	(nautilus_window_allow_stop): move this here,
      	prune redundant sets, simplify property bag
      	extraction.
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): move throbber
      	location changed code out of here.
      	(nautilus_window_unrealize): no explicit removal
      	from remote property bag neccessary & upd.
      
      	* libnautilus-private/nautilus-metafile-factory.c
      	(corba_open): reduce complexity.
      6b579803
  2. 06 Mar, 2002 1 commit
    • Darin Adler's avatar
      Say "Close" instead of "Done". · 4e516697
      Darin Adler authored
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	Say "Close" instead of "Done".
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init): Say "Close" instead of "Done".
      
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): Use
      	g_signal_connect_object instead of g_signal_connect_swapped.  This
      	will probably fix the theme-switching problem people have been
      	complaining about.
      
      	* src/nautilus-preferences-dialog.c: Tweak formatting.
      	* src/file-manager/fm-properties-window.c: Tweak formatting.
      
      	* src/nautilus-application.c: Fix bug # in a comment.
      4e516697
  3. 27 Feb, 2002 2 commits
    • Darin Adler's avatar
      Just release, don't unref. (get_metafile): Don't keep a ref. Also fix · 3035a352
      Darin Adler authored
              * libnautilus-private/nautilus-directory-metafile.c:
              (free_factory): Just release, don't unref.
              (get_metafile): Don't keep a ref. Also fix CORBA objref leak.
      
              * libnautilus-private/nautilus-icon-factory.c:
              (get_icon_from_cache):
      
              * libnautilus-private/nautilus-metafile-factory.c:
              (nautilus_metafile_factory_get_instance): Return the same
              instance each time, don't ref, since lifetime is not managed
              by ref counting.
      
              * libnautilus/nautilus-clipboard.c:
              (initialize_clipboard_component_with_callback_data):
              Get rid of BonoboUIComponent leak.
      
              * src/nautilus-application.c: Formatting tweaks.
              * libnautilus-private/nautilus-bookmark.c: Minor cleanup.
      
              * test/Makefile.am:
              * test/test-nautilus-async-activation.c: Remove.
      3035a352
    • Darin Adler's avatar
      Simplified calls to bonobo_object_ref/unref. · f5874fd2
      Darin Adler authored
      	* Many files:
      	Simplified calls to bonobo_object_ref/unref.
      
      	* components/history/nautilus-history-view.c: (update_history):
      	Fixed so that a history update while one is already in progress
      	will work properly.
      
      	* libnautilus/nautilus-view.c:
      	(remove_listener): New.
      	(update_listener): Renamed from nautilus_view_set_frame, made it
      	handle various cases better. Fixed leak of property bag.
      	(forget_cached_view_frame): New.
      	(nautilus_view_set_frame_callback): Use new forget_cached_view_frame
      	and update_listener.
      	(nautilus_view_construct_from_bonobo_control): Use
      	g_signal_connect_object.  Not sure if this is better, since they
      	are part of the same aggregate.
      	(nautilus_view_finalize): Use new forget_cached_view_frame and
      	remove_listener.
      	(nautilus_view_dispose): Use new forget_cached_view_frame and
      	remove_listener.
      	(nautilus_view_get_view_frame): Fixed leak of control frame.
      	(nautilus_view_set_listener_mask): Simplified, and made it work even
      	if you call it multiple times, by calling new update_listener.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(create_label_layout): Handle NULL font_name case just in case.
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_set_zoom_level): Use
      	invalidate_label_sizes instead of setting update_icon_font.
      	(nautilus_icon_container_set_font_name): Do nothing if font name
      	doesn't change. If it does, use invalidate_label_sizes rather than
      	setting update_icon_font.
      	(nautilus_icon_container_set_font_size_table): Only redraw if font
      	size changes. Also, use invalidate_label_sizes rather than setting
      	update_icon_font.
      
      	* libnautilus-private/nautilus-directory.c:
      	(add_preferences_callbacks):
      	* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory):
      	Initialize global preferences as needed.
      
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_finalize):
      	* src/file-manager/fm-search-list-view.c: (real_destroy):
      	* src/nautilus-application.c: (nautilus_application_destroy),
      	(nautilus_application_create_window),
      	(nautilus_application_class_init):
      	* src/nautilus-main.c: (main):
      
      	* src/nautilus-view-frame.c: (create_corba_objects): Fix property
      	bag leak.
      f5874fd2
  4. 14 Feb, 2002 1 commit
    • jacob berkman's avatar
      add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated · 8d0aed09
      jacob berkman authored
      2002-02-14  jacob berkman  <jacob@ximian.com>
      
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to
      	disable glib, gtk, and gnome deprecated calls
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/nautilus-about.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-main.c:
      	* src/nautilus-navigation-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-tabs.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-switchable-navigation-bar.c:
      	* src/nautilus-switchable-search-bar.c:
      	* src/nautilus-theme-selector.c:
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window-toolbars.c:
      	* src/nautilus-window.c:
      	* src/nautilus-zoom-control.c: port to non-deprecated calls.  This
      	was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal
      8d0aed09
  5. 05 Feb, 2002 1 commit
    • Anders Carlsson's avatar
      Port to GtkTreeView, lots of work still remains though. · c1758967
      Anders Carlsson authored
      2002-02-05  Anders Carlsson  <andersca@gnu.org>
      
      	* components/tree/Makefile.am:
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_node_set_parent), (nautilus_tree_node_new),
      	(nautilus_dummy_tree_node_new), (nautilus_tree_node_update_icons),
      	(nautilus_tree_model_get_type), (nautilus_tree_model_init),
      	(nautilus_tree_model_class_init), (uri_get_parent_text),
      	(nautilus_tree_model_get_node_from_file),
      	(nautilus_tree_model_get_node), (report_node_changed),
      	(report_root_node_if_possible), (process_file_change),
      	(nautilus_tree_model_directory_files_changed_callback),
      	(nautilus_tree_model_directory_done_loading_callback),
      	(nautilus_tree_model_begin_monitoring_directory),
      	(nautilus_tree_model_get_n_columns),
      	(nautilus_tree_model_get_column_type),
      	(nautilus_tree_model_get_iter), (nautilus_tree_model_get_path),
      	(nautilus_tree_model_get_value), (nautilus_tree_model_iter_next),
      	(nautilus_tree_model_iter_children),
      	(nautilus_tree_model_iter_parent),
      	(nautilus_tree_model_iter_has_child),
      	(nautilus_tree_model_iter_nth_child),
      	(nautilus_tree_model_tree_model_init),
      	(nautilus_tree_model_root_node_file_monitor),
      	(nautilus_tree_model_set_root_uri), (nautilus_tree_model_new),
      	(nautilus_tree_model_dump_helper), (nautilus_tree_model_dump):
      	* components/tree/nautilus-tree-model.h:
      	* components/tree/nautilus-tree-view.c: (create_tree),
      	(tree_activate_callback), (dump_tree), (nautilus_tree_view_init),
      	(nautilus_tree_view_class_init):
      	* components/tree/nautilus-tree-view.h:
      	Port to GtkTreeView, lots of work still remains though.
      
      	* src/nautilus-application.c: (finish_startup):
      	Remove GMC trash migration.
      c1758967
  6. 01 Feb, 2002 1 commit
    • John Harper's avatar
      Make the search feature work again: · f828c6c3
      John Harper authored
      2002-01-31  John Harper  <jsh@unfactored.org>
      
      	Make the search feature work again:
      
      	* configure.in: fixed how HAVE_MEDUSA is defined. Add
      	MEDUSA_CFLAGS to CORE_CFLAGS
      
      	* src/file-manager/fm-search-list-view.c: moved some of the
      	GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a
      	functional object, just without some of the features of the
      	original
      
      	* src/nautilus-shell-ui.xml: copied search parts from nautilus
      	1 version
      
      	* src/nautilus-application.c (create_object): reenable
      	search-list-view creation
      
      	* src/file-manager/nautilus-indexing-info.c: random changes to
      	make it compile (untested as yet)
      f828c6c3
  7. 23 Jan, 2002 1 commit
    • Michael Meeks's avatar
      re-remove the per display IID creation scheme - it's broken. · e7c91ff2
      Michael Meeks authored
      2002-01-23  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): re-remove the
      	per display IID creation scheme - it's broken.
      
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_draw): kill, no draw methods
      	in gtk 2.0
      	(draw_throbber_image): remove bonobo bug
      	workaround, if it still exists it should be fixed
      	in bonobo and fold into
      	(nautilus_throbber_expose): here
      	(draw_pixbuf): fold into
      	(nautilus_throbber_expose): here, and fix
      	rendering bugs.
      	(nautilus_throbber_size_allocate): kill bogus
      	sizing logic.
      	(nautilus_throbber_button_release_event): do
      	conversion.
      	(nautilus_throbber_destroy): remove
      	force_destroy_later.
      
      2002-01-21  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c,
      	* src/nautilus-application.c,
      	* src/nautilus-view-frame.c,
      	* libnautilus-private/nautilus-undo-manager.c,
      	* libnautilus-private/nautilus-metafile-factory.c,
      	* libnautilus/nautilus-undo-transaction.c,
      	s/bonobo_object_corba_objref/BONOBO_OBJREF/
      
      	* libnautilus-private/nautilus-directory-metafile.c
      	(get_factory): update referencing.
      
      	* libnautilus/nautilus-view.c
      	(nautilus_view_get_view_frame): impl. helper to
      	reduce sync CORBA traffic.
      	(view_frame_call_end, view_frame_call_begin): upd.
      	(nautilus_view_dispose): release the CORBA ref. if we
      	took it.
      	(nautilus_view_set_frame): unset the frame if we
      	loose it.
      
      	* libnautilus-private/nautilus-bonobo-extensions.c
      	(add_numbered_menu_item_internal): kill the label encoding.
      	(nautilus_bonobo_add_submenu): ditto.
      	(nautilus_bonobo_set_icon): kill unused.
      
      	* components/adaptor/bonobo-stream-vfs.[ch]: remove, now
      	inside gnome-vfs.
      e7c91ff2
  8. 17 Jan, 2002 1 commit
    • Darin Adler's avatar
      Remove unneeded code and restore display-specific registration. This gets · 639ce8e4
      Darin Adler authored
      	* components/hardware/main.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/throbber/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi),
      	(nautilus_view_create_from_get_type_function):
      	* src/nautilus-main.c: (main):
      	Remove unneeded code and restore display-specific registration.
      	This gets rid of a bunch of GNOME2_CONVERSION_COMPLETE ifdefs.
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.h:
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-metafile-factory.h:
      	* libnautilus-private/nautilus-metafile.h:
      	These had emacs mode lines that said they were IDL files.
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus-private/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	* src/nautilus-application.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-view-frame-corba.c:
      	Use BONOBO_CLASS_BOILERPLATE_FULL instead of EEL_BONOBO_BOILERPLATE_FULL.
      
      	* src/nautilus-sidebar-title.c: (measure_width_callback),
      	(update_more_info): First cut at implementing date that fits into
      	sidebar. Not working yet.
      
      	* src/nautilus-theme-selector.c:
      	(install_theme_button_clicked_callback):
      	Remove eel_gtk_window_set_up_close_accelerator call, since this is a
      	GtkDialog that comes its own close accelerator.
      639ce8e4
  9. 08 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      Remove preferences calback in ::finalize. · ab5fb6c7
      Anders Carlsson authored
      2002-01-08  Anders Carlsson  <andersca@gnu.org>
      
      	* src/nautilus-zoom-control.c (nautilus_zoom_control_finalize): Remove
      	preferences calback in ::finalize.
      	(nautilus_zoom_control_unload_images): Set image pointers to NULL after
      	unloading images.
      
      	* src/nautilus-window-menus.c: Remove some userlevel #defines.
      
      	* src/nautilus-switchable-search-bar.c
      	(nautilus_switchable_search_bar_finalize): Remove the preferences callback
      	in ::finalize instead of ::destroy.
      
      	* src/nautilus-switchable-navigation-bar.c: Create the search bar lazily.
      	Creating the search bar came up high on the profile when creating new windows,
      	and doing it lazily helps, especially when we don't have medusa support yet.
      	(nautilus_switchable_navigation_bar_finalize): Free details in ::finalize.
      
      	* src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_finalize):
      	Free details in ::finalize.
      	(nautilus_simple_search_bar_destroy): Disable the undo stuff. Perhaps we could
      	call connect to "destroy" in nautilus_undo_set_up_nautilus_entry_for_undo
      	and call nautilus_undo_tear_down_nautilus_entry_for_undo there instead.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_init): Ref and sink the title tab.
      	(nautilus_sidebar_finalize): Move things from ::finalize to ::destroy.
      
      	* src/nautilus-preferences-dialog.c
      	(preferences_dialog_populate_themes_group): The image chooser isn't
      	broken anymore so we can enable it now.
      
      	* src/nautilus-main.c (main): Call gtk_main instead of bonobo_main
      	since bonobo_main is for non-gui apps and won't be affected by
      	gtk_main_quit.
      
      	* src/nautilus-location-bar.c: Destroy things in ::finalize
      	instead of in ::destroy.
      
      	* src/nautilus-profiler.c: Port to GtkTextView.
      
      	* src/nautilus-application.c (nautilus_application_new):
      	Call bonobo_generic_factory_construct_noreg so that we set
      	the IID.
      	(nautilus_application_destroy): Unref the undo manager
      	in ::destroy instead.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	Use g_list_sort_with_data when sorting icons so we can get rid
      	of the hack_icon_container hack.
      
      	* libnautilus-private/nautilus-entry.c: Free details struct
      	in ::finalize instead of in ::destroy
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(confirm_switch_to_manual_layout): Compare with GTK_RESPONSE_YES.
      
      	* libnautilus-private/nautilus-file-operations.c
      	(confirm_empty_trash): Compare with GTK_RESPONSE_YES.
      
      So now you know what I've been doing during christmas...
      ab5fb6c7
  10. 12 Dec, 2001 1 commit
    • Michael Meeks's avatar
      protect vs. double destroy. · f9769d4c
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c (nautilus_window_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-window-manage-views.c (disconnect_view):
      	start macro definitions on the first line.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-sidebar-tabs.c
      	(nautilus_sidebar_tabs_destroy): protect vs. double destroy
      	and theoretical re-enterancy hazard.
      
      	* src/nautilus-sidebar-title.c
      	(nautilus_sidebar_title_destroy): protect vs. double
      	destroys.
      
      	* src/nautilus-application.c (create_object): re-enable
      	list view.
      
      	* src/file-manager/fm-list-view.c: re-enable.
      f9769d4c
  11. 09 Nov, 2001 1 commit
  12. 08 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove Nautilus 1 news. This file is empty for now. Add some renaming · 3f4aeca2
      Darin Adler authored
      	* NEWS: Remove Nautilus 1 news. This file is empty for now.
      	* RENAMING: Add some renaming ideas.
      	* TODO: Add a tiny porting to-do list. I should take that
      	survey of GNOME2_CONVERSION_COMPLETE that Havoc did and put
      	it in here.
      	* TRADEMARK_NOTICE: Removed this file. Eazel logo isn't in
      	here any more.
      	* Makefile.am: Remove TRADEMARK_NOTICE.
      
      	* components/help/hyperbola-nav-index.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* libnautilus-private/nautilus-authn-manager.c:
      	* libnautilus-private/nautilus-file-operations-progress.c:
      	* libnautilus-private/nautilus-file-operations-progress.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-program-chooser.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-about.h:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window.c:
      	First cut at converting to GtkDialog from GnomeDialog.
      3f4aeca2
  13. 07 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove nautilus-clean.sh -- use bonobo-slay instead. · 0bdc094f
      Darin Adler authored
      	* Makefile.am:
      	* README:
      	* nautilus-clean.sh:
      	* nautilus.spec.in:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Remove nautilus-clean.sh -- use bonobo-slay instead.
      
      	* libnautilus-private/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new): The -2 feature is gone from
      	gtk_window_set_default_size, so use -1.
      
      	* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
      	(nautilus_sidebar_title_select_text_color), (update_title_font),
      	(update_title), (measure_width_callback), (update_more_info),
      	(sidebar_title_create_title_label),
      	(sidebar_title_create_more_info_label): Change to use GtkLabel
      	instead of EelLabel for now -- that makes us actually get a label.
      0bdc094f
  14. 04 Nov, 2001 3 commits
    • Darin Adler's avatar
      Tons of files. More GtkObject -> GObject stuff. · bdcd4787
      Darin Adler authored
      	* Tons of files.
      	More GtkObject -> GObject stuff.
      bdcd4787
    • Darin Adler's avatar
      More GtkObject -> GObject stuff. · 612ee980
      Darin Adler authored
      	* components/text/nautilus-text-view.c: (nautilus_text_view_init):
      	* libnautilus/nautilus-view.c:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_init):
      	* src/file-manager/fm-properties-window.c:
      	(append_directory_contents_fields),
      	(append_special_execution_flags):
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_create_window):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_initialize_bookmarks_menu),
      	(nautilus_window_initialize_menus_part_1):
      	* src/nautilus-window.c: (add_sidebar_panel_callback):
      	More GtkObject -> GObject stuff.
      612ee980
    • Darin Adler's avatar
      Many files. Update for change in Eel boilerplate macro names. · c9109022
      Darin Adler authored
      	* Many files.
      	Update for change in Eel boilerplate macro names.
      
      	* src/nautilus-application.c: (nautilus_application_startup):
      	GtkObject -> GObject.
      	* src/nautilus-shell.c: (nautilus_shell_class_init), (finalize),
      	(nautilus_shell_new):
      	GtkObject -> GObject.
      c9109022
  15. 02 Nov, 2001 1 commit
    • Darin Adler's avatar
      More changes to make Nautilus get closer to running. · 9ab32f9c
      Darin Adler authored
      	* libnautilus-private/nautilus-bonobo-extensions.h: Remove
      	NAUTILUS_BONOBO_X_BOILERPLATE, superceded by EEL_DEFINE_
      	BONOBO_BOILERPLATE
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	Same fixes Havoc did, formatted differently.
      
      	* libnautilus-private/nautilus-undo-manager.c: (corba_append),
      	(corba_forget), (corba_undo), (nautilus_undo_manager_new),
      	(finalize), (nautilus_undo_manager_class_init):
      	GtkObject -> GObject fixes. bonobo_object_from_servant fixes.
      
      	* nautilus-clean.sh: Not sure if we still need this, but
      	change gconfd-1 to gconfd-2 and oafd to bonobo-activation-server.
      
      	* nautilus.spec.in: Some updates, not sure if they are right.
      
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_finalize), (nautilus_application_class_init):
      	GtkObject -> GObject fixes.
      
      	* src/nautilus-main.c: (main): Use gnome_program_init.
      
      	* src/Makefile.am: Define a bunch more stuff used by
      	GNOME_PROGRAM_STANDARD_PROPERTIES.
      9ab32f9c
  16. 31 Oct, 2001 1 commit
  17. 30 Oct, 2001 1 commit
  18. 28 Oct, 2001 1 commit
  19. 15 Sep, 2001 1 commit
  20. 05 Sep, 2001 1 commit
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · 47a2fa6e
      Alexander Larsson authored
      2001-09-04  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* libnautilus-private/nautilus-file-utilities.[ch]
      	(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
      	Get rid of these. No more ~/Nautilus
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	(default_home_location_callback): Always use your normal homedir
      	as the home dir.
      
      	* src/nautilus-application.c (check_required_directories): Don't
      	create ~/Nautilus.
      	(create_starthere_link_callback, nautilus_application_startup):
      	Create a start here icon on the desktop.
      	Turn of first time druid (by setting first time flag).
      	(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
      	has_wm_state, get_self_typed_prop)
      	Don't manage the desktop if kdesktop is running.
      
      	* src/nautilus-first-time-druid.[ch]:
      	Remove ~/Nautilus handling.
      	s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/
      
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-menus.c:
      	Add start here to the go menu. Remove leftovers of the "support" menuimem.
      
      	* src/file-manager/fm-directory-view.c:
      	Move scripts to ~/.gnome/nautilus-scripts
      
      	* Makefile.am:
      	Add starthere icons
      
      	* data/Makefile.am:
      	* data/*.desktop.in:
      	* data/*.directory.in:
      	Add starthere desktop files.
      47a2fa6e
  21. 02 Sep, 2001 1 commit
    • Maciej Stachowiak's avatar
      Replace authn with authentication throughout. · 3dfb1edf
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-authn-manager.h,
      	libnautilus-private/nautilus-authn-manager.c:
      	(construct_password_dialog),
      	(present_authentication_dialog_blocking),
      	(authentication_dialog_button_clicked),
      	(authentication_dialog_closed), (authentication_dialog_destroyed),
      	(present_authentication_dialog_nonblocking),
      	(run_authentication_dialog_on_main_thread),
      	(vfs_authentication_callback),
      	(nautilus_authentication_manager_initialize):
      
      	Replace authn with authentication throughout.
      
      	* src/nautilus-application.c (finish_startup): Adjust to rename.
      
      	* RENAMING: Suggest renaming nautilus-authn-manager to
      	nautillus-authentication-manager.c
      3dfb1edf
  22. 15 Aug, 2001 2 commits
    • Darin Adler's avatar
      A pass at cleaning up the volume monitor. Made all the details of · c4b8cdd4
      Darin Adler authored
      	NautilusVolume private.
      
      	* libnautilus-private/filesystem-attributes.xml: Changed the
      	"description" string to be named "default_volume_name" and also
      	marked it to be localized.
      
      	* libnautilus-private/nautilus-file-utilities.h:
      	* libnautilus-private/nautilus-file-utilities.c:
      	(nautilus_get_data_file_path):
      	Added a new utility function to locate a file that's either in the
      	user's directory or in the Nautilus datadir.
      
      	* src/nautilus-property-browser.c: (read_browser_xml): Use
      	nautilus_get_data_file_path.
      
      	* libnautilus-private/nautilus-trash-directory.c:
      	(get_trash_volume):
      	* libnautilus-private/nautilus-trash-monitor.c:
      	(add_one_volume_trash):
      	* src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list),
      	(create_unique_volume_name), (create_mount_link),
      	(volume_unmounted_callback), (update_disks_menu):
      	* src/nautilus-application.c: (volume_mounted_callback),
      	(volume_unmounted_callback):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_get_file_path):
      	Use only calls from the NautilusVolume public API -- no getting at
      	the structure directly. Also fix callers that were using
      	nautilus_volume_monitor_get_volume_mount_uri to correctly
      	understand that they get the mount path, not the mount URI.
      
      	* libnautilus-private/nautilus-volume-monitor.h:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	(load_file_system_table): Fix storage leaks. Use the new
      	nautilus_get_data_file_path. Translate the default volume names as
      	they are loaded. Check for duplicate entries while loading the
      	table. Don't bother checking the name of the root node, since
      	there are plenty of other things about the file that we don't
      	check and there's no reason we particularly need to check that.
      	Fix some storage leaks. Free the doc, since I'm not seeing a
      	"nautilus --quit" segfault.
      	(nautilus_volume_monitor_initialize): Only initialize stuff that
      	g_new0 won't set up for us.
      	(nautilus_volume_is_removable): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(volume_is_removable): Fix logic so we don't have to have so many
      	different calls to fclose.
      	(nautilus_volume_get_name): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(modify_volume_name_for_display): Don't bother supplying a name if
      	passed NULL, since that won't ever be helpful the way this is used.
      	(nautilus_volume_get_target_uri): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor.
      	(nautilus_volume_should_integrate_trash): Rename so it's a call on
      	NautilusVolume, not the NautilusVolumeMonitor. Get the information
      	from the file system type, so we don't have to copy it into each
      	NautilusVolume object.
      	(nautilus_volume_get_mount_path): Rename so it's a call on
      	NautilusVolume, and don't call it a URI since it's really a path.
      	(nautilus_volume_get_device_type): New call.
      	(make_volume_name_from_path): Get the default from the file system
      	type rather than passing it in.
      	(free_mount_list): Get rid of some dumb extra code.
      	(copy_volume), (nautilus_volume_free): Update for smaller set of
      	fields.
      	(create_volume), (finish_creating_volume),
      	(finish_creating_volume_and_prepend): Restructure so we don't need
      	to keep so much stuff around in the NautilusVolume object.
      
      	* src/nautilus-first-time-druid.c:
      	(druid_set_first_time_file_flag): Some tiny tweaking.
      c4b8cdd4
    • Seth Nickell's avatar
      Load filesystems from an XML file rather than hardcoding the various · 64ff8e32
      Seth Nickell authored
      2001-08-14  Seth Nickell  <snickell@stanford.edu>
      
      	Load filesystems from an XML file rather than hardcoding
      	the various attributes and behaviors. Some properties, such
      	as for CDDA and NFS, are still hardcoded because they require
      	actual code. This also makes it easier to add new filesystems.
      
      	* libnautilus-private/filesystem-attributes.xml
      
      	Filesystem description file.
      
      	* libnautilus-private/Makefile.am:
      
      	Add filesystem-attribute.xml to the build.
      
      	* libnautilus-private/nautilus-volume-monitor.c:
      
      	(mount_volume_prepend_filesystem):
      
      	Don't try to detect filesystem strings and associate them
      	with an enumeration type...nix the enumeration altogether
      	since its not compatible with dynamically loading the
      	filesystems.
      
      	(get_xml_path), (load_filesystem_attributes_table)
      
      	Functions for reading in filesystem-attribute.xml and
      	loading the various filesystems into a hashtable.
      
      	(nautilus_volume_monitor_initialize)
      
      	Read in the filesystem attributes table.
      
      	(get_removable_volumes), (mount_volume_deactivate),
      	(get_mount_list), (get_current_mount_list),
      	(verify_current_mount_state)
      
      	Take a file attributes hashtable, or pass one to a
      	subfunction.
      
      	(nautilus_volume_monitor_get_target_uri),
      
      	CDDA is the only system we need to deal with in an unusual
      	way. Take out a long list and just check for CDDA.
      
      	(nautilus_volume_monitor_should_integrate_trash)
      
      	Use information read from the file rather than hardcoding
      	a list of filesystems that can use trash (should be the
      	same for now).
      
      	(make_volume_name_from_path), (mount_volume_make_name)
      
      	Get name out of the filesystem table rather than hardcoding.
      
      	(mount_volume_iso9660_add)
      
      	We were deciding if a device was *really* a CDROM by
      	doing an ioctl on it to determine the drive status. This
      	is a good check...except that on systems using DevFS
      	devices can be user mountable without being user readable
      	by default. Also, on my system it fails if there's no
      	disk in the drive itself.
      
      	(mount_volume_auto_add)
      
      	Continue setting the device if its a floppy drive (eventually
      	this should probably be cleaned out too), but don't set the
      	filesystem type since we don't use the enum anymore.
      
      	(mount_volume_cdda_add)
      
      	Set as a CDDA device, but not a CDDA volume (since we don't
      	have hardcoded volume types anymore).
      
      	(mount_volume_nfs_add)
      
      	Don't set NFS type since the enum was blown away.
      
      	(create_volume)
      
      	Accept a filesystem table and set attributes read from
      	filesystem-attributes.xml if a volume's filesystem is found
      	in the table. Perhaps eventually we should just assign a
      	reference to the volume entry, but this was simpler for
      	now since some functions modify things like the description.
      
      	(copy_volume)
      
      	Deal with copying the new attributes.
      
      	* libnautilus-private/nautilus-volume-monitor.h:
      
      	Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM
      	to NAUTILUS_DEVICE_CDROM
      
      	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
      	(update_disks_menu):
      
      	Deal with rename of NAUTILUS_DEVICE_CD_ROM
      
      	* src/nautilus-application.c: (volume_mounted_callback):
      
      	Deal with rename of NAUTILUS_DEVICE_CD_ROM
      
      	* AUTHORS:
      
      	Update E-mail address.
      
      	* configure.in:
      
      	Make "FAM not found" warning a little more serious and
      	informative. We particularly want to encourage distributors
      	to enable FAM support.
      64ff8e32
  23. 02 Aug, 2001 1 commit
    • Michael Fleming's avatar
      Added gnome-vfs authentication dialog support. Currently works with HTTP · 77cb5a29
      Michael Fleming authored
      
              Added gnome-vfs authentication dialog support.
              Currently works with HTTP basic and proxy authentication.
      
              A bug causes the dialog to appear more than once in quick succession
              in some cases.
      
              Separate processes (eg sidebar components) that need to access
              a protected URL will also pop open their own individual dialogs
              at this point
      
              There's also no integration with Mozilla at this point, so
              Mozilla too will prompt separately.
      
              This code works against gnome-vfs head and the gnome-vfs-1-0
              branch, as well as the soon-to-be-released gnome-vfs 1.0.2
      77cb5a29
  24. 11 Jun, 2001 1 commit
    • Darin Adler's avatar
      Updated version to 1.0.3.2 for the 1.0.4 candidate build. · 0974316c
      Darin Adler authored
      	* configure.in: Updated version to 1.0.3.2 for the 1.0.4
      	candidate build.
      
      	* icons/gnome/Makefile.am: Added missing backslash character.
      	Without it, many icons didn't get installed.
      
      	* src/nautilus-application.c: (need_to_show_first_time_druid):
      	Fix some code that was building a URL by sticking a file://
      	onto the front of a file name. I just changed it to use the
      	path directly and do a plain unlink instead of gnome_vfs_unlink.
      
      	* src/nautilus-profiler.c:
      	(nautilus_profiler_bonobo_ui_report_callback):
      	Use gnome_vfs_get_uri_from_local_path instead of just sticking
      	a file:// on the front of a path name.
      0974316c
  25. 10 May, 2001 1 commit
    • Darin Adler's avatar
      Integrated a patch from peter@ximian.com to move the · 3ac90bea
      Darin Adler authored
      	MOZILLA_FIVE_HOME-setting code from the main Nautilus program
      	(where it does no good) to the Mozilla component (which is a nicer
      	place for it anyway).
      
      	While integrating the patch I made some other small cleanups to
      	the Mozilla component and the patch itself. I removed the code to
      	set up LD_LIBRARY_PATH, since it's not needed, and changed the name
      	of some things and simplified others.
      
      	* components/mozilla/Makefile.am: Define PREFIX.
      	* components/mozilla/main.c: (is_good_mozilla_path),
      	(get_mozilla_path), (set_up_MOZILLA_FIVE_HOME), (main): Add the
      	new code to set up MOZILLA_FIVE_HOME.
      
      	* src/nautilus-application.c: (finish_startup): Remove the code
      	from the old place.
      
      	* check-THANKS.pl: Updated.
      3ac90bea
  26. 07 May, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 3646403e
      Darin Adler authored
      	Fix bug 8251 (Mozilla component crashes every time I try to view a
      	web page) by putting the same logic for locating Mozilla that is
      	used by galeon into Nautilus.
      
      	* src/nautilus-application.c: (is_mozilla_path_good),
      	(get_mozilla_path), (find_mozilla): Code to find Mozilla and set
      	up some environment variables that matches the code in galeon's
      	startup script.
      	(finish_startup): New function for initialization code that should
      	be done only in the main Nautilus, not in clients that are going
      	to contact the main Nautilus. More initialization should be moved
      	in here over time. Calls find_mozilla among other things.
      	(nautilus_application_startup): Moved the sound initialization and
      	the code to migrate desktop directory contents inside the new
      	initialization function.
      3646403e
  27. 04 May, 2001 2 commits
  28. 03 May, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 40a99771
      Darin Adler authored
      	Fixed bug 8232 (Trash.gmc and home directory link files made by
      	gmc show on Desktop):
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_should_show): Moved special case for gmc files in
      	here.
      	(filter_hidden_and_backup_partition_callback): Removed special
      	case for gmc files, since it's now in the lower level. Also fixed
      	code that was casting a pointer to an int without using
      	GPOINTER_TO_INT.
      
      	* src/nautilus-application.c: Fix typo.
      40a99771
  29. 28 Apr, 2001 1 commit
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 77e82924
      John Harper authored
      2001-04-27  John Harper  <jsh@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	Fixed bug 7732 (opening window from prompt spawns endless
      	process cycle):
      
      	* src/nautilus-application.c (desktop_changed_callback): call
      	update_session () directly
      
      	(update_session): don't check the SHOW_DESKTOP preference to
      	see if we should add ourselves to the session, check that the
      	current process has actually _created_ a desktop window
      
      	(init_session): don't register a listener for the SHOW_DESKTOP
      	preference since it's called by desktop_changed_callback ()
      77e82924
  30. 27 Apr, 2001 2 commits
  31. 24 Apr, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · a72923da
      Darin Adler authored
      	Add a new command-line option "--no-desktop" as requested by
      	fcrozat on behalf of people who want to run Nautilus under KDE as
      	well as under GNOME. The option has no effect if Nautilus is
      	already running, but if it's the first invocation of Nautilus,
      	then no desktop-related preferences show up and the desktop is
      	not shown regardless of the setting of those preferences.
      
      	* src/nautilus-main.c: (main): Add the no-desktop option. Make the
      	desktop-related preferences invisible if it's on, and pass it down
      	to the NautilusApplication.
      
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Don't start the desktop if no_desktop is passed in. Otherwise
      	decide based on the preference.
      
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(preferences_box_find_row): Mark this private function static.
      	(preferences_box_populate_pane): Get rid of code that would
      	translate the pane_name twice.
      	(nautilus_preferences_dialog_new): Simplified this code a bit.
      
      	* libnautilus-extensions/nautilus-preferences.h:
      	* libnautilus-extensions/nautilus-preferences.c:
      	(preferences_make_user_level_filtered_key),
      	(nautilus_preferences_get_is_invisible),
      	(nautilus_preferences_set_is_invisible),
      	(preferences_key_make_for_getter),
      	(nautilus_preferences_visible_in_current_user_level),
      	(nautilus_preferences_is_visible): Added new flag to make a
      	preference invisible.
      
      	* src/nautilus-first-time-druid.h:
      	* src/nautilus-first-time-druid.c: (set_up_gmc_transition_page),
      	(nautilus_first_time_druid_show): Removed code that used to make
      	the druid default based on the desktop preference.
      
      	Fixed the Tinderbox.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(default_default_folder_viewer_callback): Allow NULL because that
      	happens during self-check.
      a72923da
  32. 23 Apr, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 4bcb92e2
      John Sullivan authored
      	Fixed bug 8024 (Default folder viewer chosen from "View As..."
      	window is not reflected in Preferences dialog)
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	Put iids for Icon and List view here since they must be accessed
      	from multiple places now. Add NAUTILUS_DEFAULT_FOLDER_VIEWER_OTHER
      	enum case. Add prototype for
      	nautilus_global_preferences_set_default_folder_viewer.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(get_default_folder_viewer_preference_from_iid): New helper function,
      	returns appropriate NAUTILUS_DEFAULT_FOLDER_VIEWER preference value
      	based on folder-viewing iid.
      	(default_default_folder_viewer_callback): New function to determine
      	default value of NAUTILUS_DEFAULT_FOLDER_VIEWER preference; uses
      	gnome_vfs_mime (name is not a typo).
      	(set_default_folder_viewer_in_gnome_vfs): New function,
      	updates gnome-vfs mime database properly for new folder-viewing iid.
      	(default_folder_viewer_changed_callback): New function, reacts
      	to change in NAUTILUS_DEFAULT_FOLDER_VIEWER preference by updating
      	gnome-vfs mime database (moved here from nautilus-application.c).
      	(nautilus_global_preferences_set_default_folder_viewer): New public
      	function to set the default folder viewer with an iid; handles setting
      	both gnome-vfs and gconf's values.
      	(nautilus_global_preferences_initialize): Add callback for when
      	default folder viewer changes (moved here from nautilus-application.c).
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(set_default_for_type): Special-case folder viewer to call
      	nautilus_global_preferences_set_default_folder_viewer.
      
      	* src/file-manager/nautilus-directory-view-ui.xml: Changed
      	"Reset to View Preferences" to "Reset View to Match Preferences".
      	It's really long, but the former was very unclear. Improvements
      	to wording are hereby solicited.
      
      	* src/nautilus-application.c: (manufactures), (create_object),
      	(default_folder_viewer_changed_callback): Updated for #define
      	name changes.
      	(nautilus_application_startup): Moved code that reacted to
      	default folder viewer preference to nautilus-global-preferences.c.
      4bcb92e2
  33. 21 Apr, 2001 1 commit
    • Gene Z. Ragan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 5900c441
      Gene Z. Ragan authored
      2001-04-20  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	Fixed bug 8073, roll over Red Hat patches for their
      	"plug-n-play" feature to Nautilus.
      
      	The code does not use magicdev, but instead uses our
      	distribution agnostic volume monitor to achieve identical,
      	and in some cases superior, results.
      
      	* libnautilus-extensions/nautilus-volume-monitor.c: (floppy_sort),
      	(nautilus_volume_monitor_get_target_uri),
      	(nautilus_volume_monitor_should_integrate_trash),
      	(mount_volume_get_name), (mount_volume_activate),
      	(mount_volume_deactivate), (mount_volume_floppy_add),
      	(mount_volume_ext2_add), (mount_volume_udf_add),
      	(mount_volume_vfat_add), (mount_volume_msdos_add),
      	(mount_volume_iso9660_add), (mount_volume_affs_add),
      	(mount_volume_auto_add), (mount_volume_cdda_add),
      	(mount_volume_fat_add), (mount_volume_hpfs_add),
      	(mount_volume_hsfs_add), (mount_volume_minix_add),
      	(mount_volume_nfs_add), (mount_volume_proc_add),
      	(mount_volume_reiserfs_add), (mount_volume_ufs_add),
      	(mount_volume_smb_add), (mount_volume_unsdos_add),
      	(mount_volume_xenix_add), (mount_volume_xiafs_add), (find_volumes),
      	(create_volume), (copy_volume), (mount_volume_add_filesystem):
      	Determine device type when performing volume type specific mount tasks.
      
      	* libnautilus-extensions/nautilus-volume-monitor.h:
      	Add new device type enumeration.
      
      	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link):
      
      	* src/nautilus-application.c: (volume_mounted_callback):
      	Check for cdroms being mounted and open a window to the cdrom
      	mount point if the user has specified that behavior in the
      	gnome preferences.
      5900c441