1. 11 Aug, 2000 2 commits
    • Darin Adler's avatar
      Fixed bug 1891 (calling set_title before report_load_underway has · c54c5854
      Darin Adler authored
      	no effect).
      
      	* libnautilus-extensions/nautilus-file.c: (destroy):
      	Fix a leak in the symbolic link target hash table.
      
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_create_desktop_window),
      	(nautilus_application_open_desktop),
      	(nautilus_application_close_desktop),
      	(nautilus_application_destroyed_window),
      	(nautilus_application_create_window):
      	Simplified the logic for creating and destroying the desktop
      	window a little bit and made it actually unref the desktop
      	window instead of just destroying it.
      
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_initialize),
      	(nautilus_switchable_navigation_bar_set_mode),
      	(nautilus_switchable_navigation_bar_set_location):
      	Added missing code to send out the mode_changed signal and
      	took out a gratuitous FIXME.
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_initialize), (nautilus_view_frame_destroy),
      	(set_up_for_new_location), (nautilus_view_frame_load_location),
      	(nautilus_view_frame_report_location_change),
      	(nautilus_view_frame_set_title), (nautilus_view_frame_get_title):
      	Changed it so the view frame keeps around the title as passed by
      	the view. It now emits a "title_changed" signal instead of a
      	"set_title" signal and you can get the title with a call to
      	nautilus_view_frame_get_title.
      
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_title_changed_callback),
      	(nautilus_window_connect_view):
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_get_current_location_title),
      	(nautilus_window_update_title),
      	(nautilus_window_set_displayed_location),
      	(nautilus_window_title_changed), (handle_go_elsewhere),
      	(nautilus_window_has_really_changed),
      	(nautilus_window_update_state):
      	Manage the title in a simpler way now that the view frame keeps
      	the title around.
      
      	* src/nautilus-window-toolbars.c: (set_up_button): Fixed error
      	that would result in a call to gnome_stock_set_icon with NULL.
      
      	* RPMs-README: Fixed a typo.
      c54c5854
    • Maciej Stachowiak's avatar
      Made copyright headers consistent in style; also made sure to refer to · 175ac684
      Maciej Stachowiak authored
      	* src/nautilus-applicable-views.c,
      	src/nautilus-applicable-views.h, src/nautilus-application.c,
      	src/nautilus-application.h, src/nautilus-bookmark-list.c,
      	src/nautilus-bookmark-list.h, src/nautilus-bookmark-parsing.c,
      	src/nautilus-bookmark-parsing.h, src/nautilus-bookmarks-window.c,
      	src/nautilus-bookmarks-window.h,
      	src/nautilus-complex-search-bar.c,
      	src/nautilus-complex-search-bar.h, src/nautilus-desktop-window.c,
      	src/nautilus-desktop-window.h, src/nautilus-first-time-druid.c,
      	src/nautilus-first-time-druid.h, src/nautilus-history-frame.c,
      	src/nautilus-history-frame.h, src/nautilus-link-set-window.c,
      	src/nautilus-link-set-window.h, src/nautilus-location-bar.c,
      	src/nautilus-location-bar.h, src/nautilus-main.c,
      	src/nautilus-navigation-bar.c, src/nautilus-navigation-bar.h,
      	src/nautilus-property-browser.c, src/nautilus-property-browser.h,
      	src/nautilus-search-bar-private.h, src/nautilus-search-bar.c,
      	src/nautilus-search-bar.h, src/nautilus-self-check-functions.c,
      	src/nautilus-self-check-functions.h, src/nautilus-shell.c,
      	src/nautilus-shell.h, src/nautilus-sidebar-tabs.c,
      	src/nautilus-sidebar-tabs.h, src/nautilus-sidebar-title.c,
      	src/nautilus-sidebar-title.h, src/nautilus-sidebar.c,
      	src/nautilus-sidebar.h, src/nautilus-signaller.c,
      	src/nautilus-signaller.h, src/nautilus-simple-search-bar.c,
      	src/nautilus-simple-search-bar.h,
      	src/nautilus-switchable-navigation-bar.c,
      	src/nautilus-switchable-navigation-bar.h,
      	src/nautilus-switchable-search-bar.c,
      	src/nautilus-switchable-search-bar.h, src/nautilus-toolbar.c,
      	src/nautilus-toolbar.h, src/nautilus-view-frame-bonobo-control.c,
      	src/nautilus-view-frame-bonobo-embeddable.c,
      	src/nautilus-view-frame-corba.c,
      	src/nautilus-view-frame-nautilus-view.c,
      	src/nautilus-view-frame-private.h,
      	src/nautilus-view-frame.c,src/nautilus-view-frame.h,
      	src/nautilus-window-manage-views.c,
      	src/nautilus-window-manage-views.h, src/nautilus-window-menus.c,
      	src/nautilus-window-private.h, src/nautilus-window-toolbars.c,
      	src/nautilus-window.c, src/nautilus-window.h,
      	src/nautilus-zoom-control.c, src/nautilus-zoom-control.h,
      	src/nautilus-zoomable-frame-corba.c: Made copyright headers
      	consistent in style; also made sure to refer to Nautilus as
      	Nautilus, not "this library" or "The GNOME Library".
      175ac684
  2. 04 Aug, 2000 1 commit
    • Ramiro Estrugo's avatar
      Fix bugs 1890 and 1902. · db88c222
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_get_dialog),
      	(global_preferences_register_for_ui),
      	(nautilus_global_preferences_dialog_update),
      	(nautilus_global_preferences_initialize):
      	* libnautilus-extensions/nautilus-global-preferences.h:
      
      	Expose the initialization call once again.  I suppose explicit
      	initialzation was a dream.  It seems to break everytime we add
      	something new at startup that needs preferences, so lets just make
      	sure preferences defaults exist once and for all.
      
      	* src/nautilus-application.c: (nautilus_application_initialize),
      	(nautilus_application_destroy), (nautilus_application_startup),
      	(check_for_and_run_as_super_user), (need_to_show_first_time_druid):
      
      	Change the way we check whether the first time wizrard needs to be
      	presented.  Instead of checking for the user's 'top' directory, we
      	check a flag file: ~/.nautilus/first-time-wizard.
      
      	Checking the user's top directory doesnt work after my last
      	preferences changes, since the preferences initialization call i
      	added causes the 'top' directory to exist and this confuses the
      	first time druid.
      db88c222
  3. 03 Aug, 2000 1 commit
    • Mike Engber's avatar
      Changed command line options: renamed --manage-destop to --start-desktop, · 6d4d325e
      Mike Engber authored
      
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_close_desktop),
      	(nautilus_application_close_all_windows):
      	* src/nautilus-application.h:
      	* src/nautilus-first-time-druid.c: (druid_finished):
      	* src/nautilus-main.c: (main):
      	* src/nautilus-shell-interface.idl:
      	* src/nautilus-shell.c: (nautilus_shell_get_epv),
      	(corba_start_desktop), (corba_stop_desktop), (corba_quit):
      	Changed command line options: renamed --manage-destop to
      	--start-desktop, added --stop-desktop, added --quit. Bug#1847
      	2 new corba calls for nautilus shell, one for starting the
      	desktop and one for quitting.
      6d4d325e
  4. 01 Aug, 2000 1 commit
    • Mike Engber's avatar
      Removed "Close Nautilus Desktop" from the desktop's right click menu. · 2992c099
      Mike Engber authored
      
      	* libnautilus/nautilus-bonobo-ui.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	* src/file-manager/fm-directory-view.c:
      	(reset_bonobo_trash_delete_menu),
      	(fm_directory_view_real_merge_menus):
      	* src/file-manager/fm-directory-view.h:
      	* src/nautilus-application.c:
      	(nautilus_application_close_all_windows):
      	* src/nautilus-application.h:
      	* src/nautilus-window-menus.c:
      	(file_menu_close_all_windows_callback),
      	(nautilus_window_initialize_menus):
      	Removed "Close Nautilus Desktop" from the desktop's
      	right click menu. Removed "Exit" from the File menu.
      	Added "Close All Windows" t the File menu. Bug# 1846
      2992c099
  5. 27 Jul, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 1474, special handling for running as root · c77e1301
      Gene Z. Ragan authored
      2000-07-27  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 1474, special handling for running as root
      
      	* src/nautilus-application.c:
      	(check_for_and_run_as_super_user):
      	New function to determine if app is being run if root. If so,
      	warn the user and allow them to cancel execution of
      	the app.  Return users decision.
      
      	(nautilus_application_startup):
      	Call check_for_and_run_as_super_user. If the user is root
      	and decides to quit, end program execution.
      c77e1301
  6. 26 Jul, 2000 1 commit
    • Darin Adler's avatar
      No parameters is indicated by "(void)" instead of "()". · 08b61728
      Darin Adler authored
      	* components/help/help-method.c: (help_uri_new): No parameters
      	is indicated by "(void)" instead of "()".
      	(help_uri_to_string): Changed to share more code (I think I might
      	have fixed a leak too).
      	(init_help_module): No parameters is indicated by "(void)"
      	instead of "()". Also fixed a bug where the wrong lock is unlocked.
      	(convert_file_to_uri): Use g_strcasecmp instead of strcmp since we
      	are checking MIME types.
      	(transform_file), (transform_absolute_file), (file_from_path),
      	(find_help_file), (transform_relative_file): Merged these so they
      	share a lot of common code.
      
      	* components/services/vault/command-line/vault-operations.c:
      	(vault_list): Fixed a g_strconcat that was missing a trailing NULL.
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-file-attributes.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(cancel_top_left_read), (top_left_read_done),
      	(top_left_read_callback), (top_left_read_more_callback),
      	(start_getting_top_lefts), Changed top_left code to use
      	nautilus_read_file calls.
      	(cancel_metafile_read),
      	Changed to reflect name changes in nautilus_read_file calls.
      	(cancel_get_activation_uri), (nautilus_directory_cancel),
      	(set_up_request_by_file_attributes),
      	(nautilus_async_destroying_file), (lacks_activation_uri),
      	(wants_activation_uri), (request_is_satisfied),
      	(activation_uri_found),
      	(activation_uri_nautilus_link_read_callback),
      	(activation_uri_gmc_link_read_callback),
      	(activation_uri_gmc_link_read_more_callback),
      	(start_getting_activation_uris),
      	(nautilus_directory_async_state_changed): Add code to fetch
      	activation URIs for either GMC or Nautilus-style link files.
      	(lacks_top_left): Changed to share common
      	nautilus_file_should_get_top_left_text function so we don't have
      	lots of different code reading the preferences about top-left
      	text.
      	(is_needy): Enhanced and renamed is_wanted so it takes into
      	account files that are and aren't interesting.
      	(start_getting_directory_counts), (deep_count_start):
      	(start_getting_file_info), Change to use is_needy.
      
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	Tweaked spacing.
      
      	* libnautilus-extensions/nautilus-file-private.h:
      	Added a self_owned flag so we do better with files that don't have
      	parent directories and the fields to support activation_uri.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(read_file_close_callback), (read_file_close),
      	(read_file_succeeded), (read_file_failed),
      	(read_file_read_callback), (read_file_read_chunk),
      	(read_file_open_callback), (nautilus_read_file_async),
      	(nautilus_read_entire_file_async), (nautilus_read_file_cancel):
      	Added a variation of the read file call that takes a function to
      	decide whether to keep reading or not.
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_name), (nautilus_file_get),
      	(nautilus_file_get_parent_uri_as_string),
      	(get_file_for_parent_directory), (nautilus_file_rename),
      	(nautilus_file_get_gnome_vfs_uri),
      	(nautilus_file_get_uri),
      	Add code that handles the "self_owned" flag to make files without
      	parents work better.
      	(destroy): Fixed some leaks I noticed.
      	(nautilus_file_get_top_left_text),
      	(nautilus_file_should_get_top_left_text): Added this so that all
      	code can share a single call when deciding whether to get text
      	based on local vs. non-local.
      	(nautilus_file_get_activation_uri): Changed to work with new
      	async. code to fetch this.
      
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_for_file): Call
      	nautilus_file_should_get_top_left_text.
      
      	* libnautilus-extensions/nautilus-link.h:
      	* libnautilus-extensions/nautilus-link.c:
      	(nautilus_link_is_link_file_name): Named so it's clear it looks
      	at the file name only.
      	(xml_get_root_property), (nautilus_link_get_root_property):
      	Added these to share a lot of common code.
      	(nautilus_link_get_additional_text): Use the new calls.
      	(make_local_path), (icon_read_done_callback),
      	(nautilus_link_get_image_uri), (nautilus_link_get_link_uri),
      	(nautilus_link_get_display_name): Other cleanup and rewrite.
      	(nautilus_link_get_link_uri_given_file_contents): Add API that
      	can work with the async. I/O version.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(timed_wait_free), (nautilus_timed_wait_start):
      	Added some asserts.
      
      	* src/file-manager/fm-directory-view.c: (activate_callback),
      	(fm_directory_view_activate_file): Use call_when_ready and
      	the new async. stuff.
      
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_setting_group): Added a (low-quality) error
      	message for the case where you aren't alowed to change the
      	group of something.
      
      	* src/file-manager/fm-icon-view.c:
      	(icon_position_changed_callback): Added missing NULL in a call
      	to g_strconcat.
      	(get_icon_text_callback): Fix storage leak.
      
      	* src/file-manager/fm-properties-window.c:
      	(activate_owner_callback): Fixed a timed_wait_start/stop mismatch
      	that was causing an assert and other badness when you changed the
      	owner.
      
      	* src/file-manager/fm-search-list-view.c:
      	(get_attribute_from_column): Added a missing case to prevent a
      	crash, but had to put in a FIXME since the code isn't really working.
      
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Fixed bug where you wouldn't see error messages on startup.  Also
      	improved one of the error messages by adding some blank lines.
      08b61728
  7. 20 Jul, 2000 1 commit
    • Rebecca Schulman's avatar
      Created initial list view for search results, as a subclass (sort of) of · ece324a6
      Rebecca Schulman authored
      2000-07-19  Rebecca Schulman  <rebecka@eazel.com>
              Created initial list view for search results, as a subclass (sort of)
      	of fm-list-view
      
      	* src/file-manager/fm-list-view.h:
      	* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
      	(fm_list_view_initialize), (fm_list_view_list_is_instantiated),
      	(fm_list_view_set_instantiated), (fm_list_view_create_list),
      	(fm_list_view_setup_list), (add_to_list), (get_list),
      	(fm_list_view_set_zoom_level), (fm_list_view_install_row_images),
      	(update_icons):
      	added new create_list signal to FM_LIST_VIEW, and instantiate the
      	actual widget not in fm_list_view_initialize, but later, so that
      	the search subclass can create its own separate clist widget
      
      	* src/file-manager/fm-search-list-view.c:
      	(fm_search_list_view_initialize_class),
      	(fm_search_list_view_initialize), (fm_search_list_view_add_file),
      	(add_to_list), (get_list), (fm_search_list_view_create_list),
      	(compare_rows), (sort_criterion_from_column),
      	(get_attribute_from_column), (fm_search_list_view_destroy):
      	* src/file-manager/fm-search-list-view.h:
      	adjusted list-view appearance for search results, by adding a directory
      	column to show the actual path of files in a search result directory
      
      	* src/nautilus-application.c: (manufactures), (create_object):
      	* src/nautilus.oafinfo:
      	register the search list view
      
      	* src/file-manager/Makefile.am: added new fm-search-list-view.* files
      ece324a6
  8. 13 Jul, 2000 1 commit
    • Mike Engber's avatar
      Changed desktop menu to offer close desktop instead of quit nautilus. · 96835d31
      Mike Engber authored
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.c:
      	* libnautilus/nautilus-view.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_close_desktop_menu_item_callback),
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_close_desktop):
      	* src/file-manager/fm-directory-view.h:
      	* src/nautilus-application.c: (nautilus_application_windows),
      	(nautilus_application_startup),
      	(nautilus_application_destroy_desktop_window),
      	(nautilus_application_create_desktop_window),
      	(nautilus_application_open_desktop),
      	(nautilus_application_close_desktop),
      	(nautilus_application_destroy_window),
      	(nautilus_application_create_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-shell.c: (corba_manage_desktop):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_set_title):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_set_title):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window-manage-views.c: (open_location):
      	* src/nautilus-window.c: (nautilus_window_connect_view):
      	Changed desktop menu to offer close desktop instead of
      	quit nautilus. Also, changed the menu item's action to
      	use a direct fn call instead of CORBA.
      96835d31
  9. 12 Jul, 2000 2 commits
    • Darin Adler's avatar
      Change to use bonobo_object_unref now that the leaks have been fixed. This · 41f3913c
      Darin Adler authored
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
      	Change to use bonobo_object_unref now that the leaks have been
      	fixed.  This requires the new Bonobo or you'll have lots of leaked
      	processes. Luckily, Nautilus won't compile without the new Bonobo
      	due to my use of bonobo_object_shutdown in main :-)
      
      	* configure.in:
      	Fix the way -Werror works so it affects all directories, not just
      	ones where we use WERROR.
      
      	* components/hardware/Makefile.am:
      	* components/help/Makefile.am:
      	* components/history/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/music/Makefile.am:
      	* components/notes/Makefile.am:
      	* components/rpmview/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/server/Makefile.am:
      	* components/services/inventory/lib/Makefile.am:
      	* components/services/inventory/nautilus-view/Makefile.am:
      	* components/services/inventory/service/Makefile.am:
      	* components/services/login/lib/Makefile.am:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/login/service/Makefile.am:
      	* components/services/startup/command-line/Makefile.am:
      	* components/services/startup/lib/Makefile.am:
      	* components/services/startup/nautilus-view/Makefile.am:
      	* components/services/summary/lib/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* components/services/summary/service/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/helper/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/.cvsignore:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/lib/Makefile.am:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* components/services/vault/command-line/Makefile.am:
      	* components/services/vault/lib/Makefile.am:
      	* components/services/vault/nautilus-view/Makefile.am:
      	* components/services/vault/service/Makefile.am:
      	* components/tree/Makefile.am:
      	* components/websearch/Makefile.am:
      	* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
      	* helper-utilities/authenticate/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus/Makefile.am:
      	* librsvg/Makefile.am:
      	* nautilus-installer/src/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	* test/Makefile.am:
      	Got rid of the WERROR shell variable. The -Werror switch is no
      	longer a per-directory thing.
      
      	* librsvg/Makefile.am:
      	Added libpng to the libraries for the test program. Maybe this was
      	the wrong thing to do, but before this change the link failed.
      
      	* components/sample/Makefile.am:
      	* components/sample/main.c:
      	* components/sample/nautilus-sample-content-view.c:
      	* components/sample/nautilus-sample-content-view.h:
      	A clean-up of the sample, including fixing many bugs and adding
      	lots of comments. I figure we want this to be as close to
      	exemplary as possible since people will continue to start with it
      	for new components.
      
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a
      	NautilusFile object that I spotted in here.
      
      	* src/nautilus-application.c: (nautilus_application_destroy_window):
      	Re-added the code to quit when the last window is closed that Mike
      	removed in his recent check-in.
      
      	* src/nautilus-main.c: (main): Added a call to bonobo_shutdown.
      	We don't need this call, but I say, "Why not?"
      41f3913c
    • Mike Engber's avatar
      Hooked up the quit menu in the desktop context menu to quit Nautilus. Now, · a409c1bb
      Mike Engber authored
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.c: (nautilus_view_quit_nautilus):
      	* libnautilus/nautilus-view.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_quit_menu_item_callback),
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_quit_nautilus):
      	* src/file-manager/fm-directory-view.h:
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_destroy_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_set_title),
      	(impl_Nautilus_ViewFrame_quit_nautilus):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_set_title),
      	(nautilus_view_frame_quit_nautilus):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_load_content_view):
      	* src/nautilus-window.c: (nautilus_window_quit_nautilus_callback),
      	(nautilus_window_connect_view):
      	Hooked up the quit menu in the desktop context menu to quit Nautilus.
      	Now, if Nautilus is managing the desktop no default window is created
      	and Nautilus does not quit when the last window is closed - i.e. use
      	the quit menu item instead. Bugs 1050 and 1051.
      a409c1bb
  10. 11 Jul, 2000 3 commits
    • Darin Adler's avatar
      Fixed a bug I introduced at application startup time where it would quit · 9fd02a0d
      Darin Adler authored
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	* src/nautilus-main.c: (main):
      	Fixed a bug I introduced at application startup time where it
      	would quit right away instead of running the first time druid.
      	(Calling it a druid is so lame, who are we kidding?)
      
      	* RENAMING: Some renaming ideas. In particular, we can deprecate
      	"null-tolerance" a little bit by including it in the names of the
      	functions.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_set_mini_icon):
      	* libnautilus-extensions/nautilus-gdk-extensions.h:
      	* libnautilus-extensions/nautilus-mini-icon.c: [removed]
      	* libnautilus-extensions/nautilus-mini-icon.h: [removed]
      	* src/nautilus-window.c:
      	Moved the single function from its own file into the gdk
      	extensions file instead and changed the single place that uses it
      	to get it from there.
      9fd02a0d
    • Darin Adler's avatar
      Changed history list to include a separate position field instead of · 88838071
      Darin Adler authored
      	* components/history/nautilus-history-view.c:
      	(history_view_update_icons), (get_history_list),
      	(hyperbola_navigation_history_load_location):
      	* libnautilus/nautilus-view-component.idl:
      	* src/nautilus-history-frame.c:
      	(impl_Nautilus_HistoryFrame_get_history_list):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_get_history_list):
      	* src/nautilus-window.c:
      	(nautilus_window_get_history_list_callback),
      	(nautilus_window_connect_view):
      	Changed history list to include a separate position field
      	instead of having a position in each entry.
      
      	* components/notes/nautilus-notes.c: (done_with_file):
      	Name changed from nautilus_file_cancel_callback to
      	nautilus_file_cancel_call_when_ready to reduce confusion with
      	nautilus_file_cancel.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_get): Made NULL for URI be legal (and result
      	in NULL for the directory object).
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(get_mime_type_from_uri): Made NULL for URI be legal (and result
      	in NULL for MIME type).
      
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_set_text): Minor tweak.
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c: (operation_new),
      	(operation_free), (operation_complete), (operation_cancel),
      	(rename_update_info_and_metafile), (rename_callback),
      	(nautilus_file_rename), (nautilus_file_cancel),
      	(nautilus_file_set_owner), (nautilus_file_cancel_call_when_ready):
      	Added cancelling to rename as a prelude to doing the same for
      	set_file_info-based calls.
      
      	* libnautilus-extensions/nautilus-graphic.c:
      	Fixed a formatting mistake and a typo.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(timed_wait_hash), (timed_wait_hash_equal),
      	(nautilus_timed_wait_start), (nautilus_timed_wait_free),
      	(nautilus_timed_wait_stop): Re-did timed wait API now that
      	we are really using it. Still unimplemented.
      
      	* src/Makefile.am:
      	Since IDL dependencies are not understood by automake, added
      	an explicit one so we pick up the change to the libnautilus
      	view component IDL.
      
      	* src/file-manager/fm-error-reporting.h:
      	* src/file-manager/fm-error-reporting.c: (rename_callback),
      	(cancel_rename_callback), (fm_rename_file): Moved code for
      	renaming into here so it can be shared between the icon view
      	and the properties dialog. Perhaps it needs to be renamed.
      
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_icon_text_changed_callback): Use the shared
      	code instead of having the rename code here.
      
      	* src/nautilus-application.c: (create_object): Make a new
      	shell object each time instead of trying to share one.
      	(nautilus_application_startup): Activate the shell object
      	using OAF. This makes it work across processes and adds
      	the feature.
      
      	* src/nautilus-main.c: (main): Call bonobo_activate explicitly so
      	CORBA calls work before the main loop.
      
      	* src/nautilus-shell.c: (display_caveat_first_time),
      	(corba_manage_desktop): Got rid of all state in NautilusShell
      	so we can use multiple shell objects if we want.
      
      	* src/nautilus-sidebar.c: (nautilus_sidebar_update_info):
      	Got rid of code that checks for NULL.
      88838071
    • Mike Engber's avatar
      First half of putting a quit menu item on the desktop's right-click menu. · fddfc8e8
      Mike Engber authored
      
      	* src/file-manager/Makefile.am:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_initialize_class),
      	(fm_desktop_icon_view_initialize),
      	(fm_desktop_icon_view_quit_menu_item_callback),
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	* src/file-manager/fm-desktop-icon-view.h:
      	* src/nautilus-application.c: (manufactures), (create_object):
      	* src/nautilus-application.h:
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_load_content_view):
      	* src/nautilus.oafinfo:
      	First half of putting a quit menu item on the desktop's
      	right-click menu. Still need to hook up the quit item.
      fddfc8e8
  11. 07 Jul, 2000 3 commits
    • Darin Adler's avatar
      Got rid of unneeded CORBA_Environment variable. · daa5d16f
      Darin Adler authored
      	* components/music/main.c: (music_view_make_object), (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	Got rid of unneeded CORBA_Environment variable.
      
      	* components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
      	Fixed a typo that was making the view not work.
      
      	* src/nautilus-applicable-views.c: (got_file_info_callback):
      	Reformatted.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_update_state): Added a FIXME for a place where an
      	error happens and it's not reported.
      
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Fixed a double-destroy problem with the CORBA object I just added.
      daa5d16f
    • Darin Adler's avatar
      Oops. · 4ac3cf9b
      Darin Adler authored
      4ac3cf9b
    • Darin Adler's avatar
      Removed the obsolete Nautilus/ContentView and Nautilus/MetaView. · c717f714
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.oafinfo:
      	* components/help/help-contents.oafinfo:
      	* components/help/help-index.oafinfo:
      	* components/help/help-search.oafinfo:
      	* components/history/nautilus-history-view.oafinfo:
      	* components/html/ntl-web-browser.oafinfo:
      	* components/loser/content/nautilus-content-loser.oafinfo:
      	* components/loser/sidebar/nautilus-sidebar-loser.oafinfo:
      	* components/mozilla/nautilus-mozilla-content-view.oafinfo:
      	* components/music/nautilus-music-view.oafinfo:
      	* components/notes/nautilus-notes.oafinfo:
      	* components/rpmview/nautilus-rpm-view.oafinfo:
      	* components/sample/nautilus-sample-content-view.oafinfo:
      	* components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo:
      	* components/services/login/nautilus-view/nautilus-login-view.oafinfo:
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.oafinfo:
      	* components/services/summary/nautilus-view/nautilus-summary-view.oafinfo:
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.oafinfo:
      	* components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
      	* components/shell/shell.oafinfo:
      	* components/tree/nautilus-tree-view.oafinfo:
      	* components/websearch/ntl-web-search.oafinfo:
      	Removed the obsolete Nautilus/ContentView and Nautilus/MetaView.
      
      	* components/services/install/command-line/.cvsignore:
      	Added a generated file.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_done), (allow_metafile),
      	(nautilus_directory_request_read_metafile): Another quick cut at
      	leaving out metafiles for some schemes.
      	(dequeue_pending_idle_callback): Get rid of "pending file info is
      	NULL!" message and "approve" the change that made Maciej put it
      	in.
      
      	* libnautilus/nautilus-view.c: (nautilus_uri_list_from_g_list):
      	Use CORBA_TRUE to truly use CORBA correctly.
      
      	* src/nautilus-shell-interface.idl:
      	* src/.cvsignore:
      	* src/Makefile.am:
      	* src/nautilus.oafinfo:
      	* src/nautilus-shell.h:
      	* src/nautilus-shell.c: (nautilus_shell_initialize_class),
      	(nautilus_shell_get_epv), (nautilus_shell_get_vepv),
      	(nautilus_shell_create_servant), (nautilus_shell_initialize),
      	(destroy), (nautilus_shell_new), (display_caveat),
      	(display_caveat_first_time), (open_window), (corba_open_windows),
      	(corba_open_default_window), (corba_manage_desktop): Added a new
      	CORBA file for the interface of the Nautilus shell itself and a
      	class for a server side of it. Moved some code in here from
      	NautilusApplication.
      
      	* src/nautilus-application.c: (manufactures), (create_object),
      	(create_factory), (nautilus_application_initialize),
      	(nautilus_strv_length), (nautilus_make_uri_list_from_strv),
      	(nautilus_application_startup): Moved the IID strings into
      	constants for easier code reading. Added the code that can yield
      	up the shell object, although it's not used yet. Changed startup
      	code to use the NautilusShell object to do the work. This doesn't
      	work cross-process yet, but it's ready to.
      
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_initialize_class),
      	(nautilus_window_initialize), (goto_uri_callback),
      	(navigation_bar_mode_changed_callback),
      	(nautilus_window_constructed), (nautilus_window_destroy),
      	(nautilus_window_realize): Misc. cleanup, including getting rid of
      	the strange old way of doing parent_class.
      c717f714
  12. 05 Jul, 2000 3 commits
    • Darin Adler's avatar
      Fix a divide-by-zero problem. (play_status_display), · 6263d07e
      Darin Adler authored
      	* components/music/nautilus-music-view.c: (fetch_play_time):
      	Fix a divide-by-zero problem.
      	(play_status_display), (slider_moved_callback),
      	(slider_release_callback): Added FIXMEs at other possible
      	divide-by-zero problems where I am less sure what the solution is.
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(allow_metafile), (nautilus_directory_request_read_metafile),
      	(nautilus_directory_request_write_metafile): Disable metafile
      	reading and writing for "pipe:" URIs for now. This turns off the
      	creation of alternate metafiles too. Hope this turns out to be
      	good.
      	(start_monitoring_file_list): Fixed a wrong assert.
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_gnome_canvas_fill_with_gradient): Fixed a divide by zero
      	bug in here.
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      	(directory_view_font_family_changed_callback),
      	(fm_icon_view_initialize): Changed spelling of "familiy" to the more
      	standard "family".
      	* src/nautilus-application.c: (nautilus_application_startup): Put
      	in some more verbose detailed error messages; we'll have to do more
      	iteration on these.
      6263d07e
    • Ramiro Estrugo's avatar
      Change file utilities special directory access functions to always return · 5ed6ea8a
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-directory.c:
      (construct_alternate_metafile_uri):
      * libnautilus-extensions/nautilus-file-utilities.c:
      (nautilus_make_path), (nautilus_get_user_directory),
      (nautilus_get_desktop_directory),
      (nautilus_get_user_main_directory),
      (nautilus_get_pixmap_directory):
      * libnautilus-extensions/nautilus-file-utilities.h:
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_register_for_ui):
      * libnautilus-extensions/nautilus-icon-factory.c:
      (get_themed_icon_file_path):
      * libnautilus-extensions/nautilus-preferences-item.c:
      (add_icon_themes):
      * src/file-manager/fm-properties-window.c: (get_property_names):
      * src/nautilus-application.c:
      (nautilus_application_check_user_directories):
      * src/nautilus-bookmark-list.c:
      (nautilus_bookmark_list_get_file_path):
      * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      * src/nautilus-first-time-druid.c: (druid_finished):
      * src/nautilus-property-browser.c:
      (nautilus_property_browser_drag_data_get), (make_drag_image),
      (remove_color), (remove_background), (remove_emblem),
      (get_xml_path), (add_background_to_browser), (add_color_to_file),
      (emblem_dialog_clicked), (make_properties_from_directory):
      Change file utilities special directory access functions to always
      return allocated strings.  Change all callers to match the new
      functions and free the results.
      
      Also change the file utilities functions to always create the
      special directories if needed.
      5ed6ea8a
    • Andy Hertzfeld's avatar
      first cut at the first-time preferences druid. It's still not hooked-up · eec7aa25
      Andy Hertzfeld authored
      
      	first cut at the first-time preferences druid.  It's still not
      	hooked-up yet and it's appearance needs some work.
      eec7aa25
  13. 01 Jul, 2000 1 commit
  14. 28 Jun, 2000 1 commit
    • Darin Adler's avatar
      Changed to use new call that's for receiving dropped images. · 711e7694
      Darin Adler authored
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_drag_data_received):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(receive_dropped_tile_image):
      	* src/nautilus-sidebar.c: (receive_dropped_uri_list):
      	Changed to use new call that's for receiving dropped images.
      
      	* src/nautilus-sidebar.c: (background_settings_changed_callback),
      	(background_appearance_changed_callback),
      	(background_reset_callback), (nautilus_sidebar_update_info):
      	Changed signal handlers to use the normal form instead of
      	connect_object. Changed the reset callback to stop the reset
      	signal from going any further now that there's a default handler
      	for reset.
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(background_reset_callback): Add a call to stop the reset signal
      	from going any further now that there's a default handler for
      	reset.
      
      	* libnautilus-extensions/nautilus-background.h:
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_initialize_class),
      	(nautilus_background_receive_dropped_background_image),
      	(nautilus_background_set_tile_image_uri),
      	(nautilus_background_reset), (nautilus_background_real_reset):
      	Made nautilus_background_reset set the color and image to NULL by
      	default instead of doing nothing. Also added a new call to receive
      	a dropped background image and only pay attention to the special
      	"reset" image name there instead of hacking it into
      	_set_tile_image_uri itself.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(find_message_label), (find_message_label_callback),
      	(show_message_box), (show_ok_box), (nautilus_info_dialog),
      	(nautilus_warning_dialog), (nautilus_error_dialog),
      	(clicked_callback), (nautilus_error_dialog_with_details),
      	(nautilus_yes_no_dialog): Change the API for stock dialogs
      	to be a little simpler, getting rid of the separate parented
      	variant. Also added a new dialog for errors that have a second
      	more detailed error message.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_show_no_choices_message):
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application_parented):
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_renaming_file), (fm_report_error_setting_group),
      	(fm_report_error_setting_owner),
      	(fm_report_error_setting_permissions):
      	* src/nautilus-property-browser.c: (emblem_image_file_changed),
      	(add_background_to_browser):
      	* src/nautilus-window-manage-views.c:
      	(handle_unreadable_location),
      	(nautilus_window_end_location_change_callback),
      	(report_content_view_failure_to_user):
      	* src/nautilus-window-menus.c: (show_bogus_bookmark_window):
      	Change to use new API for stock dialogs.
      
      	* src/nautilus-application.c: (create_factory),
      	(nautilus_application_initialize),
      	(nautilus_application_check_user_directories),
      	(nautilus_application_startup):
      	Moved OAF registration to application_startup and added some
      	error handling for the case where we have two copies of Nautilus.
      
      	* libnautilus-extensions/nautilus-file.h: Move get_mapped_uri
      	out of the "good part" of the header and add a FIXME.
      
      	* components/services/install/lib/.cvsignore:
      	Ignore some new generated files. Maybe some day I can get Eskil to
      	make these himself as he adds new things.
      711e7694
  15. 26 Jun, 2000 1 commit
    • Darin Adler's avatar
      Ignore some additional generated files. · 63bc589b
      Darin Adler authored
      	* components/services/install/command-line/.cvsignore:
      	* components/services/install/lib/.cvsignore:
      	Ignore some additional generated files.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	Moved stock dialog functions to nautilus-stock-dialogs.[ch].
      	(nautilus_gnome_canvas_item_request_update_deep),
      	(nautilus_gnome_canvas_request_update_all),
      	(nautilus_gnome_canvas_set_scroll_region),
      	(nautilus_gnome_canvas_set_scroll_region_left_justify):
      	Added a bunch of functions that were previously private inside
      	NautilusIconContainer.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_adjustment_set_value),
      	(nautilus_gtk_adjustment_clamp_value):
      	Added functions that treat the value range in a GtkAdjustment the
      	same way scroll bars do, taking the page size into account.
      
      	* libnautilus-extensions/nautilus-horizontal-splitter.h:
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_initialize),
      	(toggle_splitter_position),
      	(nautilus_horizontal_splitter_button_press),
      	(nautilus_horizontal_splitter_button_release):
      	Fixed logic so that splitter will only open or close if you both
      	click and release within the splitter itself.
      
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(icon_toggle_selected): Move icons to front when they are selected.
      	(set_scroll_region): Moved workaround that sets scroll region to
      	be large enough to fill the widget allocation into a function in
      	nautilus-gnome-extensions.h. In the process, I fixed the problem
      	where it would do the job wrong when the view was zoomed.
      	(lay_down_icons), (relayout), (reload_icon_positions):
      	Started work on sharing code between automatic layout of the entire
      	container and layout of new icons as the arrive.
      	(nautilus_icon_container_clear), (nautilus_icon_container_add):
      	Got started on the mechanism for laying out new icons as they arrive
      	in bunches instead of one at a time.
      
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	* src/file-manager/dfos-xfer.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-error-reporting.c:
      	* src/nautilus-application.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	Added includes to source files that use the stock dialogs.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(nautilus_timed_wait_stop), (convert_varargs_to_name_array),
      	(nautilus_simple_dialog), (turn_on_line_wrap_flag),
      	(turn_on_line_wrap_flag_callback), (show_ok_box),
      	(show_yes_no_box), (nautilus_info_dialog),
      	(nautilus_info_dialog_parented), (nautilus_warning_dialog),
      	(nautilus_warning_dialog_parented), (nautilus_error_dialog),
      	(nautilus_error_dialog_parented), (nautilus_yes_no_dialog),
      	(nautilus_yes_no_dialog_parented):
      	Moved all the stock dialog code in here.
      
      	* src/nautilus-sidebar-title.c: (update_icon): Only display the
      	icon when it's ready, instead of showing generic document icon
      	before that time.
      	(update_title), (update_more_info), (update_emblems),
      	(update_notes): Added FIXMEs about doing the same with other info.
      	(nautilus_sidebar_title_button_press_event): Added a FIXME to the
      	half-baked code in here.
      63bc589b
  16. 13 Jun, 2000 2 commits
    • Darin Adler's avatar
      Some build fixes. · 6efd7c1b
      Darin Adler authored
      	* acconfig.h:
      	* configure.in:
      	Removed the NAUTILUS_PREFIX that I added. I did it wrong.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_pixmap_file):
      	* components/hardware/nautilus-hardware-view.c:
      	(setup_overview_form):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(setup_form_title), (setup_signup_form), (setup_config_form):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(make_full_icon_path):
      	* src/nautilus-application.c: (display_caveat):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_initialize),
      	(nautilus_emblem_dialog_new), (make_category_link):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
      	Replaced most uses of gnome_pixmap_file on "nautilus/"
      	with a call to a new nautilus_pixmap_file in an attempt to
      	make installations where nautilus has a different prefix
      	from gnome-libs work. I now think this is a waste of time,
      	but Mathieu Lacage says this is still an improvement.
      
      	* components/help/Makefile.am:
      	* components/help/hyperbola-filefmt.c: (fmt_map_entry):
      	Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
      
      	* components/websearch/ntl-web-search.c:
      	(web_search_populate_engines):
      	Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_content_view_set_busy_cursor),
      	(mozilla_content_view_request_progress_change),
      	(mozilla_content_view_clear_busy_cursor),
      	(mozilla_load_location_callback), (bonobo_mozilla_callback),
      	(mozilla_merge_bonobo_items_callback),
      	(mozilla_title_changed_callback),
      	(mozilla_location_changed_callback), (mozilla_net_status_callback),
      	(mozilla_link_message_callback), (mozilla_progress_callback),
      	(mozilla_open_uri_callback):
      	Took a cut at fixing the Mozilla component for the new API.
      	Ramiro will have to take care of the rest.
      
      	* components/services/install/lib/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* libnautilus/Makefile.am:
      	Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
      	in the form of a patch by Martijn van Beers.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_user_main_directory),
      	(nautilus_get_pixmap_directory):
      	* libnautilus-extensions/nautilus-link-set.c:
      	(get_link_set_document):
      	* src/Makefile.am:
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_data_get), (make_drag_image),
      	(get_xml_path), (make_properties_from_directory):
      	* src/nautilus-link-set-window.c: (get_link_set_names):
      	* src/file-manager/Makefile.am:
      	* src/file-manager/fm-properties-window.c: (get_property_names):
      	Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_uri_from_local_path): Added a new helper function for
      	use when you have a path and need a URI. This does a better job
      	than just adding a "file://" on the front.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(get_first_callback), (nautilus_gtk_container_get_first_child):
      	* src/nautilus-window-toolbars.c: (setup_button):
      	* src/nautilus-window.c:
      	(replace_special_current_view_in_content_view_menu):
      	Implemented the first_child function and used it where appropriate.
      
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(add_icon_themes): Use nautilus_get_pixmap_directory intead of
      	misusing gnome_pixmap_file by calling it on a directory name.
      
      	* nautilus-installer/src/support.c: (create_pixmap),
      	(create_image): Added FIXMEs since it isn't clear if this code
      	will work with a Nautilus prefix that's not the same as the
      	gnome-libs prefix.
      
      	* Makefile.am: Tweaked white space.
      6efd7c1b
    • Darin Adler's avatar
      Renamed and changed around parameters for the basic operations on · 14aba5ce
      Darin Adler authored
      	views to simplify and clarify Nautilus. Later we will be able to
      	clean up the state machine.
      
      	Some "theoretical" stuff may be lost in this process, but we can
      	easily re-add what we really need. The old stuff had many
      	unimplemented placeholders and half-baked ideas.
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level):
      	* src/nautilus-applicable-views.c: (got_file_info_callback),
      	(got_metadata_callback), (nautilus_navigation_info_new),
      	(nautilus_navigation_info_free):
      	* src/nautilus-applicable-views.h:
      	* src/nautilus-view-frame-bonobo-control.c:
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client), (bonobo_control_load_location):
      	* src/nautilus-view-frame-bonobo-embeddable.c:
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_open_location),
      	(impl_Nautilus_ViewFrame_open_location_in_new_window),
      	(impl_Nautilus_ViewFrame_report_location_change),
      	(impl_Nautilus_ViewFrame_report_selection_change),
      	(impl_Nautilus_ViewFrame_report_status),
      	(impl_Nautilus_ViewFrame_report_load_underway),
      	(impl_Nautilus_ViewFrame_report_load_progress),
      	(impl_Nautilus_ViewFrame_report_load_complete),
      	(impl_Nautilus_ViewFrame_report_load_failed),
      	(impl_Nautilus_ViewFrame_set_title):
      	* src/nautilus-view-frame-nautilus-view.c:
      	(nautilus_view_try_load_client), (load_location), (stop_loading),
      	(selection_changed):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_new), (nautilus_view_frame_load_client),
      	(nautilus_view_frame_load_location),
      	(nautilus_view_frame_stop_loading),
      	(nautilus_view_frame_selection_changed),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_open_location),
      	(nautilus_view_frame_open_location_in_new_window),
      	(nautilus_view_frame_report_location_change),
      	(nautilus_view_frame_report_selection_change),
      	(nautilus_view_frame_report_status),
      	(nautilus_view_frame_report_load_underway),
      	(nautilus_view_frame_report_load_progress),
      	(nautilus_view_frame_report_load_complete),
      	(nautilus_view_frame_report_load_failed),
      	(nautilus_view_frame_set_title),
      	(nautilus_view_frame_zoom_level_changed):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-zoomable-frame-corba.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_zoom_level_changed):
      	Changed the API and added a ton of comments.
      
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(hardware_view_load_location_callback):
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_load_location),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/nautilus-history-view.c:
      	(hyperbola_navigation_history_load_location),
      	(hyperbola_navigation_history_select_row), (make_obj):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(loser_load_location_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_load_location_callback):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize),
      	(music_view_load_location_callback):
      	* components/notes/nautilus-notes.c: (notes_load_location),
      	(make_notes_view):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (go_to_button_callback),
      	(rpm_view_load_location_callback):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(sample_load_location_callback):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(service_load_location_callback):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
      	(trilobite_eazel_time_view_initialize), (load_location_callback):
      	* components/websearch/ntl-web-search.c: (do_search), (make_obj):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_switch_location),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(load_location_callback), (selection_changed_callback),
      	(stop_loading_callback), (done_loading), (finish_loading_uri):
      	Switch components to use the new API.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	Added a placeholder for a new operation to get the first child of a
      	container. This will be way more efficient than all the code that
      	gets a list of all the children and then looks at the first one.
      
      	* src/nautilus-application.c: (manufactures), (create_object),
      	(create_factory), (nautilus_application_initialize_class),
      	(nautilus_application_initialize), (nautilus_application_new),
      	(nautilus_application_destroy),
      	(nautilus_application_check_user_directories),
      	(nautilus_application_startup),
      	(nautilus_application_destroy_window), (nautilus_application_quit),
      	(nautilus_application_create_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-main.c: (main):
      	Renamed NautilusApp -> NautilusApplication while changing it around.
      
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	Add a blank line.
      
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c: (compare_strings),
      	(nautilus_window_report_selection_change): Changed code so that it
      	won't report the same selection change twice.
      	(nautilus_window_report_status),
      	(nautilus_window_report_load_underway),
      	(nautilus_window_report_load_progress),
      	(nautilus_window_report_load_complete),
      	(nautilus_window_report_load_failed), (compute_default_title),
      	(nautilus_window_set_title), (handle_go_back), (handle_go_forward),
      	(handle_go_elsewhere), (update_up_button),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed),
      	(nautilus_window_has_really_changed),
      	(nautilus_window_load_sidebar_panel), (open_location),
      	(nautilus_window_open_location),
      	(nautilus_window_open_location_in_new_window),
      	(nautilus_window_report_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state),
      	(nautilus_window_end_location_change_callback),
      	(nautilus_window_begin_location_change): Updated everything for the
      	new API.
      
      	* src/nautilus-window-menus.c: (file_menu_new_window_callback),
      	(edit_menu_undo_callback), (edit_menu_cut_callback),
      	(edit_menu_copy_callback), (edit_menu_paste_callback),
      	(edit_menu_clear_callback), (append_bookmark_to_menu),
      	(clear_appended_bookmark_items),
      	(nautilus_window_add_bookmark_for_current_location),
      	(append_separator), (new_top_level_menu),
      	(nautilus_window_initialize_menus), (update_user_level_menu_items):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-toolbars.c: (setup_button),
      	(nautilus_window_initialize_toolbars),
      	(nautilus_window_toolbar_remove_theme_callback):
      	* src/nautilus-window.c: (nautilus_window_class_init),
      	(nautilus_window_goto_uri), (nautilus_window_constructed),
      	(nautilus_window_set_arg), (nautilus_window_get_arg),
      	(nautilus_window_destroy), (nautilus_window_switch_views),
      	(view_menu_choose_view_callback),
      	(nautilus_window_load_content_view_menu),
      	(nautilus_window_back_or_forward), (nautilus_window_go_up),
      	(nautilus_window_allow_back), (nautilus_window_allow_forward),
      	(nautilus_window_allow_up),
      	(nautilus_window_open_location_callback),
      	(nautilus_window_open_location_in_new_window_callback),
      	(nautilus_window_report_location_change_callback),
      	(nautilus_window_report_selection_change_callback),
      	(nautilus_window_report_status_callback),
      	(nautilus_window_report_load_underway_callback),
      	(nautilus_window_report_load_progress_callback),
      	(nautilus_window_report_load_complete_callback),
      	(nautilus_window_report_load_failed_callback),
      	(nautilus_window_set_title_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view), (nautilus_window_reload),
      	(window_update_sidebar_panels_from_preferences):
      	* src/nautilus-window.h:
      	Other changes related to the API switchover.
      
      	* src/nautilus.oafinfo: Changed the ntl-xx iids to use the work
      	nautilus instead.
      14aba5ce
  17. 08 Jun, 2000 1 commit
    • Darin Adler's avatar
      Leak-checking-related fixes. · f94c3b49
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c: (destroy):
      	Fixed a storage leak (we weren't freeing file->details).
      	* libnautilus-extensions/nautilus-self-checks.c:
      	(nautilus_check_string_result): Fixed a storage leak.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_done), (metafile_read_failed),
      	(metafile_read_complete): Added some asserts.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_self_check_directory): Added one more "assert".
      
      	* libnautilus-extensions/nautilus-lib-self-check-functions.c:
      	(nautilus_run_lib_self_checks): Formatting tweaks.
      	* nautilus-widgets/nautilus-widgets-self-check-functions.c:
      	(nautilus_widgets_run_self_checks): Formatting tweaks.
      
      	* nautilus-widgets/nautilus-preference.c:
      	(nautilus_widgets_self_check_preference): Made the test
      	not repeat things so many times. It doesn't help find the
      	leaks, it actually hurts :-)
      
      	* src/nautilus-application.c: (nautilus_app_quit):
      	* src/nautilus-main.c: (main):
      	Moved the gnome_vfs_shutdown out to the main loop instead of
      	putting it inside nautilus-application.c since that matches
      	how we do the initializing.
      f94c3b49
  18. 07 Jun, 2000 1 commit
    • Darin Adler's avatar
      The main change here is revamping the undo manager. · 62ae0377
      Darin Adler authored
      	To get a complete check-out you might have to delete
      	the file named libnautilus/nautilus-undo.h that used
      	to be a generated file and is now checked-in.
      
      	* components/help/help-method.c: (vfs_module_transform):
      	Removed a bogus extraneous FIXME.
      
      	* libnautilus-extensions/Makefile.am:
      	Moved the undo manager into libnautilus-extensions
      	since it's not needed by Nautilus components.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* libnautilus/nautilus-view.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c:
      	Updated includes and a few small function name changes.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(alive_disconnecter),
      	(nautilus_gtk_signal_connect_full_while_alive):
      	Added a new function that combines the features of
      	gtk_signal_connect_full with gtk_signal_connect_while_alive.
      
      	* libnautilus/nautilus-undo-context.h: [removed]
      	* libnautilus/nautilus-undo-context.c: [removed]
      	* libnautilus-extensions/nautilus-undo-context.h:
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__destroy),
      	(impl_Nautilus_Undo_Context__create),
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (destroy),
      	(nautilus_undo_context_initialize_class):
      	Rewrote this class to simplify it (after moving it here).
      
      	* libnautilus/nautilus-undo-manager.h: [removed]
      	* libnautilus/nautilus-undo-manager.c: [removed]
      	* libnautilus/nautilus-undo-manager-private.h: [removed]
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__destroy),
      	(impl_Nautilus_Undo_Manager__create),
      	(impl_Nautilus_Undo_Manager__append),
      	(impl_Nautilus_Undo_Manager__forget),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_undo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_forget_transaction),
      	(nautilus_undo_manager_set_queue_depth),
      	(nautilus_undo_manager_attach),
      	(nautilus_undo_manager_add_interface), (update_undo_menu_item),
      	(undo_menu_handler_connection_free),
      	(undo_menu_handler_connection_free_cover),
      	(nautilus_undo_manager_set_up_bonobo_ui_handler_undo_item):
      	Rewrote this class to simplify it. Got rid of many old
      	interfaces and added some new ones.
      
      	* libnautilus/.cvsignore:
      	* libnautilus/Makefile.am:
      	Renamed the old nautilus-undo.idl to
      	nautilus-distributed-undo.idl.  The IDL is only about the internal
      	part of the undo framework.  Clients use calls that are in
      	nautilus-undo.h. The part that's public needs the prettier name.
      
      	* libnautilus/nautilus-undo.idl: [removed]
      	* libnautilus/nautilus-distributed-undo.idl:
      	Updated the names of menu-item-related things to better match the
      	standard terminology.
      
      	* libnautilus/nautilus-undo-private.h:
      	Added this new header for things needed by the undo manager that
      	are in libnautilus. Maybe we can eliminate this later.
      
      	* libnautilus/nautilus-undo-transaction.h:
      	* libnautilus/nautilus-undo-transaction.c:
      	(impl_Nautilus_Undo_Transaction__destroy),
      	(impl_Nautilus_Undo_Transaction__create),
      	(impl_Nautilus_Undo_Transaction__get_undo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_redo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_operation_name),
      	(impl_Nautilus_Undo_Transaction__undo),
      	(nautilus_undo_transaction_new),
      	(nautilus_undo_transaction_initialize),
      	(remove_transaction_from_object),
      	(nautilus_undo_transaction_destroy),
      	(nautilus_undo_transaction_initialize_class),
      	(nautilus_undo_transaction_add_atom),
      	(nautilus_undo_transaction_undo),
      	(nautilus_undo_transaction_add_to_undo_manager), (remove_atoms),
      	(remove_atoms_cover),
      	(nautilus_undo_transaction_unregister_object), (undo_atom_free),
      	(undo_atom_undo_and_free), (undo_atom_free_cover),
      	(undo_atom_undo_and_free_cover), (undo_atom_list_free),
      	(undo_atom_list_undo_and_free):
      	Rewrote and simplified this class and got rid of all uses of
      	NautilusUndoable.
      
      	* libnautilus/nautilus-undoable.h: [removed]
      	* libnautilus/nautilus-undoable.c: [removed]
      	* libnautilus/nautilus-undo.h:
      	* libnautilus/nautilus-undo.c: (nautilus_undo_register),
      	(nautilus_undo_register_full), (nautilus_undo_unregister),
      	(nautilus_undo), (nautilus_undo_get_undo_manager),
      	(undo_manager_ref), (undo_manager_unref),
      	(undo_manager_unref_cover), (nautilus_undo_attach_undo_manager),
      	(nautilus_undo_share_undo_manager), (set_up_bonobo_control),
      	(nautilus_undo_set_up_bonobo_control):
      	Added this new file with the public interface of the undo code and
      	most of the basic implementation. Most of this was previously in
      	nautilus-undoable.c.
      
      	* nautilus-widgets/nautilus-preferences.c:
      	(preferences_hash_node_free), (preferences_hash_node_add_callback),
      	(preferences_hash_node_remove_callback),
      	(preferences_hash_node_check_changes_func),
      	(preferences_callback_node_alloc),
      	(preferences_callback_node_free),
      	(preferences_callback_node_free_func),
      	(preferences_callback_node_invoke_func),
      	(preferences_gconf_callback):
      	Fixed a repeated spelling error in this file.
      
      	* src/nautilus-application.c: (nautilus_app_init):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus):
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Changed to use public parts of the undo API instead of the old
      	stuff that used private secret stuff. Many places use nice new
      	convenient calls that do a lot of the work for you.
      62ae0377
  19. 06 Jun, 2000 1 commit
    • John Sullivan's avatar
      Added bug numbers to FIXMEs. · 4d83a5d8
      John Sullivan authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_type_as_string):
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_control_activate_callback), (new_folder_done),
      	(fm_directory_view_real_create_background_context_menu_items):
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
      	* src/nautilus-application.c: (nautilus_app_startup):
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new), (realize):
      	* src/nautilus-property-browser.c: (remove_background),
      	(remove_emblem), (add_background_to_browser):
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame-bonobo-embeddable.c:
      	(bonobo_subdoc_notify_location_change):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Added bug numbers to FIXMEs.
      4d83a5d8
  20. 05 Jun, 2000 1 commit
    • Ramiro Estrugo's avatar
      Bug 647. Should report missing special directories to user. · 5aef445a
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-file-utilities.c:
      (nautilus_get_user_directory), (nautilus_get_desktop_directory),
      (nautilus_get_user_main_directory):
      Fixed uninitialized static pointers.  Remove FIXME blurbs are
      error checking happens "above" in nautilus-application now.
      
      * src/nautilus-application.c:
      (nautilus_app_check_user_directories), (nautilus_app_startup):
      Add error checking for missing user directories with appropiate
      FIXME for current bad names for these dirs.
      5aef445a
  21. 31 May, 2000 3 commits
    • Darin Adler's avatar
      Make a new window even when you say --manage-desktop for now, because · 3daa4850
      Darin Adler authored
      	* src/nautilus-application.c: (nautilus_app_startup):
      	Make a new window even when you say --manage-desktop for now,
      	because closing the last window or Quit is the only way to get
      	rid of the desktop until we do some more work on it.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Always open in a new window when starting with the desktop.
      
      	* src/nautilus-window.c: (nautilus_window_goto_uri_callback),
      	(nautilus_window_constructed): Tiny formatting tweak.
      3daa4850
    • Darin Adler's avatar
      Another cut on the desktop. Way closer. · 91fc8d21
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-generous-bin.h:
      	* libnautilus-extensions/nautilus-generous-bin.c:
      	Added a new class NautilusGenerousBin. This is a GtkBin
      	subclass that gives its entire allocation to its child.
      	Used both in the widgetry for desktop windows and as a
      	base class for NautilusViewFrame for now.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(turn_on_line_wrap_flag), (turn_on_line_wrap_flag_callback):
      	Changed to use gtk_container_foreach instead of the old
      	gtk_container_children, since I now understand that the
      	latter is just a convenience cover for the former.
      
      	* src/Makefile.am:
      	* src/nautilus-window-state.c: [removed]
      	* src/nautilus-window-state.h: [removed]
      	The only function in here was a wonky one that did goto_uri
      	of go_home depending on the parameter. Changed the callers
      	and things got clearer anyway.
      
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (display_caveat),
      	(nautilus_app_startup):
      	* src/nautilus-main.c: (main):
      	Changed rules about which windows are created on startup. This
      	puts us into a slightly bad state because it's now easy to
      	create a desktop window with no way to get rid of it.
      
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize), (destroy), (realize):
      	A better cut at the desktop window creation that now mostly works.
      
      	* src/nautilus-main.c: (main):
      	Changed the "--desktop" option's name to "--manage-desktop".
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_initialize),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy),
      	(nautilus_view_frame_construct_arg_set):
      	Changed to use NautilusGenerousBin as base class. Also use the
      	Nautilus boilerplate macros.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Use goto_uri instead of set_initial_state.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_go_home):
      	Make go_home public and move the actual code needed to go to the
      	home package into the function.
      
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Reduced the amount of hackery on behalf of the desktop window and
      	used the NautilusGenerousBin class.
      91fc8d21
    • Darin Adler's avatar
      Small updates. · a0095deb
      Darin Adler authored
      	* RENAMING: Small updates.
      
      	* components/help/converters/gnome-info2html2/main.c: (main):
      	* components/html/glibwww-init.c: (glibwww_parse_proxy_env):
      	* components/html/ntl-web-browser.c: (main):
      	* components/loser/content/nautilus-content-loser.c:
      	(ensure_fail_env):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(ensure_fail_env):
      	* components/notes/nautilus-notes.c: (main):
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(get_lang_list):
      	* src/nautilus-application.c: (nautilus_app_startup):
      	* src/nautilus-main.c: (main):
      	Changed from getenv to g_getenv, even though it makes no
      	difference right now, because it's "the right thing to do (tm)".
      
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
      	Fixed include (the build was broken for me or anyone who doesn't
      	have old .h files sitting around in their install directory).
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(construct_alternate_metafile_uri):
      	Use nautilus_get_user_directory instead of hard-coding the name
      	of the user directory.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_user_directory), (nautilus_get_user_main_directory):
      	Use #defines instead of global constants since these are things
      	that do not change and this is not C++ :-) Added "get_" to the
      	names of these functions so they would be verbs instead of nouns.
      	(nautilus_get_desktop_directory): Added this new function for use
      	by the desktop code.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      	(nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers),
      	(global_preferences_register_sidebar_panels_preferences_for_ui):
      	* libnautilus-extensions/nautilus-view-identifier.h:
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_list_free):
      	* src/nautilus-applicable-views.c: (nautilus_navigation_info_free):
      	Changed nautilus_view_identifier_free_list to *_list_free to match
      	other calls with similar names.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(user_level_changed_callback):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_themed_icon_file_path):
      	* src/file-manager/fm-properties-window.c: (get_property_names):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_get_file_path):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_data_get), (make_drag_image),
      	(remove_color), (remove_background), (remove_emblem),
      	(get_xml_path), (add_background_to_browser), (add_color_to_file),
      	(emblem_dialog_clicked), (make_properties_from_directory):
      	Change to use directory calls by new "get_" names.
      
      	* src/Makefile.am: Removed nautilus.h since it is long gone,
      	and fixed spelling of nautlus-window-state.h.
      
      	* src/file-manager/.cvsignore: Stop ignoring things that we
      	no longer generated.
      
      	* src/file-manager/desktop-item.c: [removed]
      	* src/file-manager/desktop-item.h: [removed]
      	* src/file-manager/desktop-layout.c: [removed]
      	* src/file-manager/desktop-layout.h: [removed]
      	* src/file-manager/desktop-window.c: [removed]
      	* src/file-manager/desktop-window.h: [removed]
      	The rest of the code has been harvested from the desktop
      	implementation. As I said before we can always recover it if we
      	decide we want to reuse it.
      
      	* src/file-manager/fm-main.c: [removed]
      	This was no longer used and was getting out of date. The file manager
      	is now compiled in rather than being a separate process.
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new), (realize):
      	Another cut at the desktop code. Still not working too well,
      	but way further along.
      
      	* src/nautilus-sidebar.h:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_handle_client_destroy_2):
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c:
      	* src/nautilus-window-private.h:
      	Changed the names to use Sidebar instead of IndexPanel.
      	Also changed to say sidebar panel instead of meta view in many
      	places.
      a0095deb
  22. 30 May, 2000 1 commit
    • Ramiro Estrugo's avatar
      Change preferences startup code to occur in only one place. · 9a05e06f
      Ramiro Estrugo authored
      * components/history/nautilus-history-view.c: (main):
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_startup):
      * libnautilus-extensions/nautilus-global-preferences.h:
      * src/nautilus-application.c: (nautilus_app_class_init):
      * src/nautilus-main.c: (main):
      
      Change preferences startup code to occur in only one place.
      9a05e06f
  23. 28 May, 2000 1 commit
    • Pavel Cisler's avatar
      Used the fixed-up gnome_vfs_shutdown to properly synchronize with GnomeVFS · 3bc14c44
      Pavel Cisler authored
      2000-05-27  Pavel Cisler  <pavel@eazel.com>
      
      	* src/nautilus-application.c: (nautilus_app_quit):
      	Used the fixed-up gnome_vfs_shutdown to properly synchronize
      	with GnomeVFS threads that are still finishing up. Got rid of
      	nautilus_app_real_quit and the other hacky code that I used
      	to do this before gnome_vfs_shutdown was working properly.
      	Got rid of a bunch of FIXMEs that are now take care of.
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(cancel_directory_counts), (top_left_read_close),
      	(cancel_top_left_read), (nautilus_metafile_read_cancel),
      	(start_getting_directory_counts), (start_getting_top_lefts):
      	Added cancel calls to the different GnomeVFS async tasks that
      	can be running when opening a Nautilus window, called them
      	from the NautilusDirectory destroy call.
      
      	Nautilus now shuts down GnomeVFS jobs cleanly during a quit.
      	There is still a problem where in some cases it will take a
      	while before the async jobs go away. This seems to be because
      	the corresponding NautilusDirectory doesn't get destroyed right
      	away when a window is closed. I need to get Darin to help me fix
      	this.
      3bc14c44
  24. 27 May, 2000 2 commits
    • Maciej Stachowiak's avatar
      components/history/ntl-history-view.c -> · a15fd9f8
      Maciej Stachowiak authored
      	* Renamed files as follows, as per RENAMING:
      	components/history/ntl-history-view.c -> components/history/nautilus-history-view.c
      	components/history/ntl-history-view.oafinfo -> components/history/nautilus-history-view.oafinfo
      	components/notes/ntl-notes.c -> components/notes/nautilus-notes.c
      	components/notes/ntl-notes.oafinfo -> components/notes/nautilus-notes.oafinfo
      	libnautilus-extensions/gtkscrollframe.c -> libnautilus-extensions/nautilus-scroll-frame.c
      	libnautilus-extensions/gtkscrollframe.h -> libnautilus-extensions/nautilus-scroll-frame.h
      	libnautilus/nautilus-view-frame.c -> libnautilus/nautilus-view.c
      	libnautilus/nautilus-view-frame.h -> libnautilus/nautilus-view.h
      	src/nautilus-index-tabs.c -> src/nautilus-sidebar-tabs.c
      	src/nautilus-index-tabs.h -> src/nautilus-sidebar-tabs.h
      	src/nautilus-index-title.c -> src/nautilus-sidebar-title.c
      	src/nautilus-index-title.h -> src/nautilus-sidebar-title.h
      	src/nautilus-zoomable-frame-svr.c -> src/nautilus-zoomable-frame-corba.c
      	src/ntl-app.c -> src/nautilus-application.c
      	src/ntl-app.h -> src/nautilus-application.h
      	src/ntl-index-panel.c -> src/nautilus-sidebar.c
      	src/ntl-index-panel.h -> src/nautilus-sidebar.h
      	src/ntl-main.c -> src/nautilus-main.c
      	src/ntl-miniicon.c -> libnautilus-extensions/nautilus-mini-icon.c
      	src/ntl-miniicon.h -> libnautilus-extensions/nautilus-mini-icon.h
      	src/ntl-uri-map.c -> src/nautilus-applicable-views.c
      	src/ntl-uri-map.h -> src/nautilus-applicable-views.h
      	src/ntl-view-bonobo-control.c -> src/nautilus-view-frame-bonobo-control.c
      	src/ntl-view-bonobo-subdoc.c -> src/nautilus-view-frame-bonobo-embeddable.c
      	src/ntl-view-frame-svr.c -> src/nautilus-view-frame-corba.c
      	src/ntl-view-nautilus.c -> src/nautilus-view-frame-nautilus-view.c
      	src/ntl-view-private.h -> src/nautilus-view-frame-private.h
      	src/ntl-view.c -> src/nautilus-view-frame.c
      	src/ntl-view.h -> src/nautilus-view-frame.h
      	src/ntl-window-msgs.c -> src/nautilus-window-manage-views.c
      	src/ntl-window-msgs.h -> src/nautilus-window-manage-views.h
      	src/ntl-window-private.h -> src/nautilus-window-private.h
      	src/ntl-window-state.c -> src/nautilus-window-state.c
      	src/ntl-window-state.h -> src/nautilus-window-state.h
      	src/ntl-window.c -> src/nautilus-window.c
      	src/ntl-window.h -> src/nautilus-window.h
      
      	* components/history/Makefile.am, components/notes/Makefile.am,
      	libnautilus-extensions/Makefile.am, libnautilus/Makefile.am,
      	po/POTFILES.in, src/Makefile.am,
      	components/hardware/nautilus-hardware-view.h,
      	components/loser/content/nautilus-content-loser.h,
      	components/loser/sidebar/nautilus-sidebar-loser.h,
      	components/mozilla/nautilus-mozilla-content-view.h,
      	components/music/nautilus-music-view.h,
      	components/rpmview/nautilus-rpm-view.h,
      	components/sample/nautilus-sample-content-view.h,
      	components/services/startup/nautilus-view/nautilus-service-startup-view.h,
      	libnautilus/libnautilus.h, src/nautilus-desktop-window.h,
      	src/nautilus-window-menus.c, src/nautilus-window-toolbars.c,
      	src/file-manager/fm-directory-view.h : Updated for renamings.
      
      	* RENAMING: removed old renamings
      a15fd9f8
    • Darin Adler's avatar
      A little more desktop window work. · 63d4a318
      Darin Adler authored
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new):
      	* src/nautilus-desktop-window.h:
      	* src/ntl-app.c: (nautilus_app_startup), (nautilus_app_quit),
      	(nautilus_app_create_window):
      	* src/ntl-app.h:
      	* src/ntl-main.c: (main):
      	Made a desktop window that's created when you start the program
      	if you pass the --desktop option. At the moment it's a normal
      	window and not set up to take over the desktop.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_self_check_glib_extensions): Fixed some broken self-
      	checks. Now we have one really broken self-check in the
      	nautilus-directory.c file. I might turn that one off soon so we
      	can at least run the others.
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Changed how some of the macros work. Few of these macros were used
      	in Nautilus. I hope they aren't used in the Mozilla component,
      	because then I broke it.
      
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_motion),
      	(nautilus_list_column_title_button_press),
      	(nautilus_list_column_title_button_release):
      	Updated to use NAUTILUS_INVOKE_METHOD instead of NAUTILUS_KLASS,
      	because I renamed it to NAUTILUS_CLASS and had to change these
      	anyway.
      
      	A little sweep for code that should be using
      	CORBA_Object_is_nil instead of direct compares with
      	CORBA_OBJECT_NIL.
      
      	* components/html/main.c: (url_requested_cb):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_create):
      	* libnautilus/nautilus-undo-manager.c:
      	(set_up_bonobo_control):
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
      	(nautilus_undo_unregister), (nautilus_undo):
      	* src/file-manager/dfos.c: (dfos_new):
      	Switch to use CORBA_Object_is_nil.
      
      	* libnautilus/nautilus-undo-manager.c: (undo_manager_unref),
      	(nautilus_attach_undo_manager), (nautilus_share_undo_manager),
      	(set_up_bonobo_control):
      	Do some missing duplicate and release calls.
      
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_unregister):
      	Fix a place where we'd keep a reference to a freed list.
      	Change O(n^2) walk of list by index to O(n) walk by pointer.
      
      	* src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
      	Changed g_warning to a g_return_if_fail, which was designed for
      	cases just like this one.
      
      	* src/ntl-view-bonobo-subdoc.c:
      	(bonobo_subdoc_notify_location_change):
      	Put in a better version of the FIXME.
      
      	* RENAMING: More updates.
      63d4a318
  25. 26 May, 2000 3 commits
    • John Sullivan's avatar
      Added a missing space. · e52cc990
      John Sullivan authored
      2000-05-25  John Sullivan  <sullivan@eazel.com>
      
      	* src/ntl-app.c: (display_caveat): Added a missing space.
      
      
      	More work on the "Open with Other" dialogs. Most of
      	the UI features are present now, but they don't do
      	anything since there's no API to call yet.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h,
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_clist_get_first_selected_row),
      	(nautilus_gtk_clist_get_last_selected_row):
      	Moved these functions to here from NautilusList, since
      	they only require a GtkCList and I needed to use one
      	of them outside of NautilusList.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_get_first_selected_row),
      	(nautilus_list_get_last_selected_row),
      	(nautilus_list_keyboard_navigation_key_press),
      	(nautilus_list_new_with_titles):
      	Removed get_first and get_last_selected_row, and updated
      	callers to call new nautilus_gtk_clist versions.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list), (nautilus_program_chooser_get_file),
      	(nautilus_program_chooser_get_clist),
      	(nautilus_program_chooser_get_frame),
      	(nautilus_program_chooser_get_status_label),
      	(nautilus_program_chooser_set_file),
      	(nautilus_program_chooser_set_clist),
      	(nautilus_program_chooser_set_frame),
      	(nautilus_program_chooser_set_status_label), (is_in_short_list),
      	(is_in_metadata_list), (update_selected_item_details),
      	(program_list_selection_changed_callback), (pack_radio_button),
      	(run_program_configurator_callback),
      	(nautilus_program_chooser_new):
      	Whole bunch of changes to push the "Open with Other" dialogs
      	closer to reality.
      
      	* src/ntl-window.c:
      	(view_menu_choose_view_callback): Comment changes only.
      	(nautilus_window_load_content_view_menu): Changed menu item
      	text from "View as ..." to "View as Other..."
      e52cc990
    • Darin Adler's avatar
      I am getting a little careless. This must end. · 082b0a23
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission): Fixed some checks
      	that I had reversed.
      
      	* src/ntl-app.c: (display_caveat): Took out some test code I
      	checked in.
      082b0a23
    • Darin Adler's avatar
      Made the permission check match the Unix access model. Maciej points out · 0e9ba92d
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission),
      	(nautilus_file_can_set_permissions): Made the permission check
      	match the Unix access model. Maciej points out that this is
      	still not good enough, and Pavel points out that bug 458 is
      	about just this problem.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(turn_on_line_wrap_flag): Got rid of a bad g_free that was
      	trashing memory when locating the label for line wrapping.
      
      	* src/ntl-app.c: (display_caveat): Used line wrapping, now that
      	I know wrapping wasn't the cause of the bug before.
      0e9ba92d
  26. 25 May, 2000 1 commit
    • Darin Adler's avatar
      [removed] [removed] · 346de152
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/loser/content/nautilus-content-loser.h:
      	* components/loser/sidebar/main.c: (loser_make_object):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/mozilla/main.c: (mozilla_make_object):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_content_view_request_progress_change),
      	(mozilla_content_view_request_location_change),
      	(mozilla_notify_location_change_callback),
      	(mozilla_title_changed_callback), (mozilla_link_message_callback):
      	* components/mozilla/nautilus-mozilla-content-view.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (click_column_callback),
      	(music_view_notify_location_change_callback),
      	(nautilus_music_view_drag_data_received):
      	* components/music/nautilus-music-view.h:
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize),
      	(rpm_view_notify_location_change_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	* components/sample/main.c: (sample_make_object):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(sample_notify_location_change_callback):
      	* components/sample/nautilus-sample-content-view.h:
      	* components/services/startup/nautilus-view/main.c:
      	(services_make_object):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* libnautilus/Makefile.am:
      	* libnautilus/libnautilus.h:
      	* libnautilus/nautilus-content-view-frame.c: [removed]
      	* libnautilus/nautilus-content-view-frame.h: [removed]
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view-frame-private.h:
      	* libnautilus/nautilus-view-frame.c:
      	(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
      	(impl_Nautilus_View_notify_location_change),
      	(impl_Nautilus_View_show_properties),
      	(impl_Nautilus_View_notify_selection_change),
      	(impl_Nautilus_View_stop_location_change),
      	(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
      	(nautilus_view_initialize_class), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(get_view_frame), (nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_request_title_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window):
      	* libnautilus/nautilus-view-frame.h:
      	* src/Makefile.am:
      	* src/file-manager/fm-directory-view.c: (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback), (stop_location_change_callback),
      	(done_loading), (fm_directory_view_activate_file_internal),
      	(finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object):
      	* src/ntl-content-view.c: [removed]
      	* src/ntl-content-view.h: [removed]
      	* src/ntl-uri-map.c: (make_oaf_query_with_known_mime_type),
      	(make_oaf_query_with_uri_scheme_only):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame__get_main_window),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change),
      	(impl_Nautilus_ViewFrame_request_title_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_class_init),
      	(nautilus_view_frame_set_arg), (nautilus_view_frame_get_arg),
      	(nautilus_view_frame_request_location_change),
      	(nautilus_view_frame_request_selection_change),
      	(nautilus_view_frame_request_status_change),
      	(nautilus_view_frame_request_progress_change),
      	(nautilus_view_frame_request_title_change),
      	(nautilus_view_frame_set_label), (nautilus_view_frame_activate):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_request_title_change),
      	(nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c:
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	Got rid of ContentView and ContentViewFrame.
      346de152