1. 11 Jul, 2000 1 commit
    • 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
  2. 07 Jul, 2000 1 commit
    • 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
  3. 19 Jun, 2000 1 commit
    • Maciej Stachowiak's avatar
      Make sort conditions syntactically valid when we don't have a MIME type. · 60e23dcb
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_default_component_for_uri_internal),
      	(nautilus_mime_get_short_list_components_for_uri),
      	(make_oaf_query_with_known_mime_type),
      	(make_oaf_query_with_uri_scheme_only): Make sort conditions
      	syntactically valid when we don't have a MIME type. Added a FIXME
      	to report the error properly when we have better error handling.
      	* src/nautilus.oafinfo: Remove hardware: as a supported URI scheme
      	from the list view.
      60e23dcb
  4. 16 Jun, 2000 1 commit
    • Pavel Cisler's avatar
      Convert a bunch of illegal mime types "special/*" to legal equivalents. · 814058c1
      Pavel Cisler authored
      2000-06-15  Pavel Cisler  <pavel@eazel.com>
      
      	* components/hardware/nautilus-hardware-view.c:
      	* components/html/ntl-web-browser.oafinfo:
      	* components/mozilla/nautilus-mozilla-content-view.oafinfo:
      	* components/music/nautilus-music-view.c:
      	* components/music/nautilus-music-view.oafinfo:
      	* components/rpmview/nautilus-rpm-view.c:
      	* components/shell/shell.oafinfo:
      	* libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_build_selection_list):
      	* libnautilus-extensions/nautilus-drag.h:
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_get_type_as_string):
      	* src/nautilus-sidebar.c:
      	* src/nautilus.oafinfo:
      	Convert a bunch of illegal mime types "special/*" to
      	legal equivalents.
      814058c1
  5. 14 Jun, 2000 1 commit
    • Rebecca Schulman's avatar
      Initial changes to implement search architecture. · bd52afb2
      Rebecca Schulman authored
      2000-06-13  Rebecca Schulman  <rebecka@eazel.com>
      	Initial changes to implement search architecture.
      
      	* libnautilus-extensions/Makefile.am:
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	Changed metafile reading to skip this for search directories
      	call a separate sync reader for search directories (the
      	async handle creates a thread but doesn't talk to medusa
      	yet)
      
      	Added
      	* libnautilus-extensions/nautilus-search-async.c:
      	* libnautilus-extensions/nautilus-search-async.h:
      	location of future async search calls
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	added is_search_directory boolean field to NautilusDirectoryDetails
      	* libnautilus-extensions/nautilus-directory.c:
      	* libnautilus-extensions/nautilus-directory.h:
      	nautilus_search_directory_new supplemnts nautilus_directory_new
      	and test functions nautilus_diretory_is_search_directory and
      	nautilus_uri_is_search_uri
      
      	* src/nautilus-window.c:
      	* src/nautilus-window-toolbars.c:
      	added search button (icon to come!)
      
      	* src/nautilus.oafinfo:
      	added search: to list of acceptable
      	content for list view
      bd52afb2
  6. 13 Jun, 2000 1 commit
    • 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
  7. 27 Apr, 2000 1 commit
    • Maciej Stachowiak's avatar
      Added all relevant general, bonobo and nautilus properties to content · 756c9bbd
      Maciej Stachowiak authored
      	* components/hardware/nautilus-hardware-view.oafinfo,
      	components/help/hyperbola.oafinfo,
      	components/html/ntl-web-browser.oafinfo,
      	components/mozilla/nautilus-mozilla-content-view.oafinfo,
      	components/music/nautilus-music-view.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/rpmview/nautilus-rpm-view.oafinfo,
      	components/sample/nautilus-sample-content-view.oafinfo,
      	components/services/startup/nautilus-service-startup-view.oafinfo,
      	components/websearch/ntl-web-search.oafinfo, src/nautilus.oafinfo:
      	Added all relevant general, bonobo and nautilus properties to
      	content views; some to meta views.
      756c9bbd
  8. 19 Apr, 2000 1 commit
    • Maciej Stachowiak's avatar
      OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf · f6e6b471
      Maciej Stachowiak authored
      
      	OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf
      
      	* configure.in: Check for OAF
      
      	* libnautilus/nautilus-view-component.idl: Inherit from
      	Bonobo::Unknown instead of GNOME::Unknown.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h: Refer to
      	meta views by OAFIID, not GOAD ID.
      
      	* src/ntl-uri-map.c (my_notify_when_ready): Replaced hardcoded
      	list of GOAD IDs with a hardcoded list of OAFIIDs.
      	(add_components_from_metadata): Changed the expected format; it is
      	now label=component instead of component:label since OAFIIDs
      	contain colons.
      
      	* src/ntl-view.c (nautilus_view_destroy_client): unref the
      	Zoomable interface of the View, if any.
      
      	* src/file-manager/dfos-corba.c, src/file-manager/dfos.c: replace
      	GOAD calls with OAF ones; untested since this code is not really
      	used right now.
      
      	* src/ntl-main.c: Use OAF calls to intialize CORBA.
      
      	* src/ntl-app.c: Replace GOAD IDs with OAFIIDs. Use
      	Bonobo_Generic_Factory instead of GNOME_Generic_Factory to make
      	the linker happy. Register the factory server with OAF, not GOAD.
      
      	* src/nautilus.h: Include <liboaf/liboaf.h> instead of <libgnorba/gnorba.h>
      
      
      	* components/help/Makefile.am, components/history/Makefile.am,
      	components/html/Makefile.am, components/mozilla/Makefile.am,
      	components/music/Makefile.am, components/notes/Makefile.am,
      	components/rpmview/Makefile.am, components/sample/Makefile.am,
      	components/services/startup/Makefile.am,
      	components/websearch/Makefile.am, libnautilus/Makefile.am,
      	libnautilus-extensions/Makefile.am, src/Makefile.am,
      	src/file-manager/Makefile.am: Updated for OAF; install .oafinfo
      	files instead of .gnorba.
      
      	* components/help/hyperbola-main.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c, components/mozilla/main.c,
      	components/music/main.c, components/notes/ntl-notes.c,
      	components/rpmview/main.c, components/sample/main.c,
      	components/services/startup/main.c,
      	components/websearch/ntl-web-search.c: Convert to OAF; use OAFIIDs
      	and oaf intialization functions.
      
      	* src/nautilus.oafinfo, components/help/hyperbola.oafinfo,
      	components/history/ntl-history-view.oafinfo,
      	components/html/ntl-web-browser.oafinfo,
      	components/music/nautilus-music-view.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/rpmview/nautilus-rpm-view.oafinfo,
      	components/services/startup/nautilus-service-startup-view.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/sample/nautilus-sample-content-view.oafinfo,
      	components/mozilla/nautilus-mozilla-content-view.oafinfo: New OAF
      	activation records.
      
      	* src/nautilus.goad, components/help/hyperbola.goad,
      	components/history/ntl-history-view.goad,
      	components/html/ntl-web-browser.goad,
      	components/music/nautilus-music-view.goad,
      	components/notes/ntl-notes.goad,
      	components/rpmview/nautilus-rpm-view.goad,
      	components/services/startup/nautilus-service-startup-view.goad,
      	components/websearch/ntl-web-search.goad,
      	components/sample/nautilus-sample-content-view.goad,
      	components/mozilla/nautilus-mozilla-content-view.goad: Removed.
      f6e6b471