1. 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
  2. 02 Jun, 2000 1 commit
    • Ramiro Estrugo's avatar
      Once again, back to implicit initialization of preferences stuff. It makes · 8cef10fd
      Ramiro Estrugo authored
      * components/history/nautilus-history-view.c: (main):
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_get_dialog),
      (global_preferences_register_for_ui),
      (global_preferences_initialize_if_needed),
      (nautilus_global_preferences_shutdown):
      * libnautilus-extensions/nautilus-global-preferences.h:
      * nautilus-widgets/nautilus-preferences-group.c:
      (nautilus_preferences_group_add_item):
      * nautilus-widgets/nautilus-preferences-item.c:
      (preferences_item_construct), (nautilus_preferences_item_new):
      * nautilus-widgets/nautilus-preferences-pane.c:
      (nautilus_preferences_pane_add_item_to_nth_group):
      * nautilus-widgets/nautilus-preferences.c: (preferences_register),
      (set_default_value_if_needed), (preferences_hash_node_lookup),
      (preferences_hash_node_lookup_with_registration),
      (preferences_gconf_callback), (preferences_initialize_if_needed),
      (nautilus_preferences_find_preference),
      (nautilus_preferences_set_info),
      (nautilus_preferences_enum_add_entry),
      (nautilus_preferences_add_boolean_callback),
      (nautilus_preferences_add_enum_callback),
      (nautilus_preferences_add_callback),
      (nautilus_preferences_set_boolean),
      (nautilus_preferences_get_boolean),
      (nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
      (nautilus_preferences_set), (nautilus_preferences_get),
      (nautilus_preferences_shutdown):
      * nautilus-widgets/nautilus-preferences.h:
      * nautilus-widgets/test-nautilus-preferences.c: (main),
      (register_global_preferences):
      * src/nautilus-main.c: (main):
      Once again, back to implicit initialization of preferences stuff.
      It makes things simpler.
      8cef10fd
  3. 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
  4. 27 May, 2000 1 commit
    • 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
  5. 24 May, 2000 1 commit
    • Darin Adler's avatar
      [deleted] [deleted] · 70659f55
      Darin Adler authored
      	* libnautilus/Makefile.am:
      	* libnautilus/libnautilus.h:
      	* libnautilus/nautilus-meta-view-frame.c: [deleted]
      	* libnautilus/nautilus-meta-view-frame.h: [deleted]
      	* libnautilus/nautilus-view-component.idl:
      	* po/POTFILES.in:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
      	* src/ntl-window.c: (nautilus_window_add_meta_view):
      	Removed Nautilus::MetaView and all the related classes.
      	We still have Nautilus::MetaViewFrame (will go soon).
      
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new):
      	* components/history/ntl-history-view.c: (make_obj):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/notes/ntl-notes.c: (make_notes_view):
      	* components/websearch/ntl-web-search.c: (make_obj):
      	Changed to use just plain view insetad of meta_view.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(nautilus_global_preferences_get_sidebar_panel_view_identifiers),
      	(nautilus_global_preferences_get_sidebar_view_iids),
      	(nautilus_preferences_register_sidebar_view_preferences_for_ui),
      	(global_preferences_register_for_ui):
      	Changed naming to call them sidebar views instead of meta views,
      	and got rid of code that depends on MetaView interface. We now
      	use the sidebar_panel_name to determine if a view should show
      	up in the sidebar.
      
      	* src/ntl-view.h: Fixed a comment to reflect the future
      	instead of the past.
      70659f55
  6. 23 May, 2000 1 commit
    • Darin Adler's avatar
      The ViewFrame <-> View renaming. · 8ce35298
      Darin Adler authored
      	We still have to rename the files.
      
      	* RENAMING: Put in explicit cases for file name renaming.
      
      	* src/Makefile.am:
      	* src/nautilus-desktop-window.c:
      	* src/nautilus-desktop-window.h:
      	Added placeholders. I'll be putting code in here soon.
      
      	* src/ntl-app.c: (display_prototype_caveat):
      	Changed to use nautilus_simple_dialog again since otherwise it
      	comes up behind the main window. Perhaps someone will resolve
      	that issue and change it back.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_warning_dialog), (nautilus_warning_dialog_parented):
      	Added centered version of the warning dialog as well, since
      	Eskil was using gnome_warning_dialog in a case where he really
      	wanted lines wrapped.
      
      	* components/loser/.cvsignore:
      	* components/loser/content/.cvsignore:
      	* components/loser/sidebar/.cvsignore:
      	Ignore some generated files.
      
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(nautilus_hardware_view_destroy),
      	(nautilus_hardware_view_get_nautilus_view),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row),
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_notify_location_change),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/ntl-history-view.c:
      	(hyperbola_navigation_history_notify_location_change),
      	(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), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(nautilus_content_loser_destroy),
      	(nautilus_content_loser_get_nautilus_view),
      	(nautilus_content_loser_load_uri),
      	(loser_notify_location_change_callback), (bonobo_loser_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),
      	(nautilus_sidebar_loser_destroy),
      	(nautilus_sidebar_loser_get_nautilus_view),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (nautilus_music_view_destroy),
      	(nautilus_music_view_get_nautilus_view),
      	(music_view_notify_location_change_callback):
      	* components/music/nautilus-music-view.h:
      	* components/notes/ntl-notes.c: (notes_notify_location_change),
      	(make_notes_view):
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
      	(nautilus_rpm_view_get_nautilus_view),
      	(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),
      	(nautilus_sample_content_view_destroy),
      	(nautilus_sample_content_view_get_nautilus_view),
      	(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),
      	(nautilus_service_startup_view_get_nautilus_view),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* components/websearch/ntl-web-search.c:
      	(web_search_notify_location_change), (do_search), (make_obj):
      	* libnautilus/nautilus-clipboard.c:
      	(nautilus_clipboard_info_set_view),
      	(nautilus_clipboard_info_get_view),
      	(nautilus_clipboard_info_get_bonobo_control):
      	* libnautilus/nautilus-clipboard.h:
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_move_to_trash_callback), (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback),
      	(notify_selection_change_callback),
      	(stop_location_change_callback), (done_loading),
      	(fm_directory_view_get_nautilus_view),
      	(fm_directory_view_activate_file_internal), (finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	Updated for new libnautilus where the NautilusViewFrame
      	classes are now named NautilusView.
      
      	* libnautilus/nautilus-content-view-frame.c:
      	(nautilus_content_view_initialize), (nautilus_content_view_new),
      	(nautilus_content_view_new_from_bonobo_control),
      	(nautilus_content_view_destroy),
      	(nautilus_content_view_initialize_class),
      	(nautilus_content_view_request_title_change):
      	* libnautilus/nautilus-content-view-frame.h:
      	* libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_initialize), (nautilus_meta_view_new),
      	(nautilus_meta_view_new_from_bonobo_control),
      	(nautilus_meta_view_destroy),
      	(nautilus_meta_view_initialize_class):
      	* libnautilus/nautilus-meta-view-frame.h:
      	Changed Nautilus*ViewFrame classes to Nautilus*View. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonobObject * and query_interface.
      
      	* libnautilus/nautilus-undo-manager.c:
      	(nautilus_undo_setup_bonobo_control):
      	* libnautilus/nautilus-undo-manager.h:
      	Changed the BonoboControl parameter to actually be of type
      	BonoboControl * instead of BonoboObject *.
      
      	* 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_set_arg),
      	(nautilus_view_get_arg), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(nautilus_view_destroy), (nautilus_view_ensure_view_frame),
      	(nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window),
      	(nautilus_view_real_set_bonobo_control):
      	* libnautilus/nautilus-view-frame.h:
      	* libnautilus/nautilus-zoomable.c:
      	(impl_Nautilus_Zoomable__get_zoom_level),
      	(impl_Nautilus_Zoomable__set_zoom_level),
      	(impl_Nautilus_Zoomable__get_min_zoom_level),
      	(impl_Nautilus_Zoomable__get_max_zoom_level),
      	(impl_Nautilus_Zoomable__get_is_continuous),
      	(impl_Nautilus_Zoomable_zoom_in),
      	(impl_Nautilus_Zoomable_zoom_out),
      	(impl_Nautilus_Zoomable_zoom_to_fit),
      	(impl_Nautilus_Zoomable__destroy),
      	(impl_Nautilus_Zoomable__create), (marshal_NONE__DOUBLE),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
      	(nautilus_zoomable_get_arg), (nautilus_zoomable_initialize),
      	(nautilus_zoomable_new),
      	(nautilus_zoomable_new_from_bonobo_control),
      	(nautilus_zoomable_destroy),
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level),
      	(nautilus_zoomable_get_bonobo_control),
      	(nautilus_zoomable_real_set_bonobo_control):
      	* libnautilus/nautilus-zoomable.h:
      	* src/nautilus-zoomable-frame-svr.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_notify_zoom_level):
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object),
      	* src/ntl-content-view.c:
      	(impl_Nautilus_ContentViewFrame_request_title_change),
      	(nautilus_content_view_frame_get_type),
      	(nautilus_content_view_frame_class_init),
      	(nautilus_content_view_frame_init),
      	(nautilus_content_view_frame_set_active),
      	(nautilus_content_view_frame_request_title_change):
      	* src/ntl-content-view.h:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view),
      	(nautilus_index_panel_remove_meta_view):
      	* src/ntl-index-panel.h:
      	* src/ntl-meta-view.c: (nautilus_meta_view_frame_initialize_class),
      	(nautilus_meta_view_frame_initialize),
      	(nautilus_meta_view_frame_set_label),
      	(nautilus_meta_view_frame_get_label):
      	* src/ntl-meta-view.h:
      	* src/ntl-view-bonobo-control.c: (destroy_bonobo_control_view),
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client),
      	(bonobo_control_notify_location_change):
      	* src/ntl-view-bonobo-subdoc.c: (destroy_bonobo_subdoc_view),
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change):
      	* src/ntl-view-nautilus.c: (nautilus_view_try_load_client),
      	(destroy_nautilus_view), (nv_show_properties), (nv_save_state),
      	(nv_load_state), (nv_notify_location_change),
      	(nv_notify_selection_change), (nv_stop_location_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_get_type),
      	(nautilus_view_frame_class_init), (nautilus_view_frame_set_arg),
      	(nautilus_view_frame_get_arg), (nautilus_view_frame_init),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy), (nautilus_view_frame_constructed),
      	(nautilus_view_frame_construct_arg_set),
      	(nautilus_view_frame_size_request),
      	(nautilus_view_frame_size_allocate),
      	(nautilus_view_frame_handle_client_destroy),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_load_client),
      	(nautilus_view_frame_notify_location_change),
      	(nautilus_view_frame_notify_selection_change),
      	(nautilus_view_frame_load_state), (nautilus_view_frame_save_state),
      	(nautilus_view_frame_show_properties),
      	(nautilus_view_frame_stop_location_change),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_get_zoom_level),
      	(nautilus_view_frame_set_zoom_level),
      	(nautilus_view_frame_get_min_zoom_level),
      	(nautilus_view_frame_get_max_zoom_level),
      	(nautilus_view_frame_get_is_continuous),
      	(nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
      	(nautilus_view_frame_zoom_to_fit), (nautilus_view_frame_get_iid),
      	(nautilus_view_frame_get_client_objref),
      	(nautilus_view_frame_get_objref),
      	(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_notify_zoom_level), (check_object),
      	(nautilus_view_frame_set_active_errors):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_notify_selection_change),
      	(nautilus_window_request_selection_change),
      	(nautilus_window_request_status_change),
      	(nautilus_window_request_progress_change),
      	(nautilus_window_request_title_change),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed), (nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state), (nautilus_window_set_state_info),
      	(nautilus_window_begin_location_change):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c: (zoom_in_cb), (zoom_out_cb),
      	(nautilus_window_set_arg), (nautilus_window_send_show_properties),
      	(view_menu_switch_views_callback),
      	(nautilus_window_set_content_view),
      	(nautilus_window_add_meta_view),
      	(nautilus_window_remove_meta_view_real),
      	(nautilus_window_remove_meta_view),
      	(nautilus_window_request_location_change_cb),
      	(nautilus_window_request_selection_change_cb),
      	(nautilus_window_request_status_change_cb),
      	(nautilus_window_request_progress_change_cb),
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	* src/ntl-window.h:
      	Changed Nautilus*View classes to Nautilus*ViewFrame. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonoboObject * and query_interface.
      8ce35298
  7. 20 May, 2000 1 commit
    • Maciej Stachowiak's avatar
      Fix bugzilla tasks #599 (hex number is bad default for meta view · cf21c9ee
      Maciej Stachowiak authored
      	names) and #631 (nead oaf query to determine metaviews).
      
      	* libnautilus-extensions/nautilus-view-identifier.h,
      	libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_new, get_lang_list,
      	nautilus_view_identifier_new_from_oaf_server_info,
      	nautilus_view_identifier_free): Moved NautilusViewIdentifier code
      	here from ntl-uri-map.[ch].
      	(nautilus_view_identifier_new_from_content_view),
      	(nautilus_view_identifier_new_from_sidebar_panel),
      	(nautilus_view_identifier_free_callback),
      	(nautilus_view_identifier_free_list): New functions.
      	* libnautilus-extensions/Makefile.am: Add
      	nautilus-view-identifier.[ch] to build.
      	* src/ntl-types.h: Removed typedef for NautilusViewIdentifier.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c
      	(nautilus_g_list_free_deep_custom): New function, like
      	`nautilus_g_list_free_deep' but lets you pass your own free
      	function.
      	(nautilus_g_list_free_deep): Use `nautilus_g_list_free_deep_custom'
      	(nautilus_g_list_partition): New function to destructively
      	partition a GList into two, depending on whether they satisfy the
      	provided predicate or not.
      	(nautilus_test_predicate), (nautilus_self_check_glib_extensions):
      	Added unit tests for `nautilus_g_list_partition' and for
      	`nautilus_g_list_equal' since the `nautilus_g_list_partition'
      	tests rely on it.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_moved): Use
      	`nautilus_g_list_free_deep_custom'.
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c
      	(nautilus_gdk_pixbuf_list_free): Likewise.
      	* libnautilus-extensions/nautilus-icon-factory.c
      	(nautilus_scalable_icon_list_free): Likewise.
      	* libnautilus-extensions/nautilus-string-list.c
      	(nautilus_string_list_clear): Likewise.
      	* nautilus-widgets/nautilus-preferences.c (pref_hash_node_free,
      	prefs_hash_lookup_with_implicit_registration): Likewise.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h
      	(global_preferences_create_dialog,
      	nautilus_global_preferences_get_sidebar_panel_view_identifiers,
      	nautilus_global_preferences_get_meta_view_iids,
      	nautilus_preferences_register_meta_view_preferences_for_ui,
      	global_preferences_register_for_ui): Change things around to
      	determine the set of sidebar panel prefs at run time, and to pass
      	around NautilusViewIdentifiers rather than just iid strings so we
      	can use the statically defined name in the oafinfo.
      
      	* src/ntl-uri-map.h, src/ntl-uri-map.c: (set_initial_content_iid,
      	got_file_info_callback, sidebar_panel_preference_is_on,
      	(add_sidebar_panel_identifiers, nautilus_navigation_info_free):
      	Changed things around to better handle sidebar panel (AKA meta
      	view) selection, and pass around both name and iid.
      
      	* src/ntl-window-msgs.c:
      	(nautilus_window_request_selection_change,
      	nautilus_window_has_really_changed,
      	nautilus_window_load_meta_view, nautilus_window_update_state,
      	nautilus_window_set_state_info): Fixed everything to pass around
      	ViewIdentifiers instead of iids for sidebar panels and set the
      	label approrpiately when activating; replaced a whole bunch of
      	GSList usage with GList (we can always optimize this stuff later).
      	* src/ntl-window.h, src/ntl-window.c: (nautilus_window_destroy,
      	nautilus_window_load_content_view_menu,
      	nautilus_window_set_content_view, nautilus_window_add_meta_view,
      	nautilus_window_remove_meta_view_real,
      	nautilus_window_remove_meta_view): Deal with the above changes
      	(mostly GSList -> GList changes).
      
      	* src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
      	src/ntl-view-nautilus.c, src/ntl-view-private.h: Remove all
      	get_label related calls since we get that from the oafinfo now.
      	* libnautilus/nautilus-meta-view-frame.h,
      	libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_frame_initialize,
      	nautilus_meta_view_frame_new_from_bonobo_control,
      	nautilus_meta_view_frame_destroy): Remove
      	`nautilus_meta_view_frame_set_label' machinery and associated
      	machinery since we now get the label statically from the oafinfo.
      	* components/history/ntl-history-view.c: (make_obj): Don't call
      	`nautilus_meta_view_frame_set_label' any more, the label is now
      	statically determined from the oafinfo file.
      	* components/notes/ntl-notes.c: (make_notes_view): Likewise.
      	* components/websearch/ntl-web-search.c: (make_obj): Likewise.
      	* components/help/hyperbola-nav-index.c: Likewise.
      	(hyperbola_navigation_index_new): Likewise.
      	* components/help/hyperbola-nav-search.c: Likewise.
      	(hyperbola_navigation_search_new): Likewise.
      	* components/help/hyperbola-nav-tree.c: Likewise.
      	(hyperbola_navigation_tree_new): Likewise.
      	* src/ntl-meta-view.h, src/ntl-meta-view.c:
      	(nautilus_meta_view_set_label),
      	(nautilus_meta_view_get_label): Have an explicit value to set,
      	rather than trying to get it through CORBA. This is kind of a
      	hack, really we should pass around a label and a NautilusMetaView
      	separately and remove this stuff.
      	* components/help/hyperbola.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/history/ntl-history-view.oafinfo: Updated to include
      	latest Nautilus attributes.
      cf21c9ee
  8. 27 Apr, 2000 1 commit
  9. 26 Apr, 2000 1 commit
  10. 22 Apr, 2000 2 commits
  11. 21 Apr, 2000 1 commit
    • Darin Adler's avatar
      Fixed a typo that was causing the history view to fail. · ef2dc9ef
      Darin Adler authored
      	* components/history/ntl-history-view.c
      	(hyperbola_navigation_history_notify_location_change):
      	Fixed a typo that was causing the history view to fail.
      
      	* components/music/nautilus-music-view.c
      	(nautilus_music_view_initialize_class),
      	(nautilus_music_view_initialize), (setup_title_font),
      	(nautilus_music_view_realize):
      	Changed to use new nautilus_gtk_widget_set_font_by_name
      	and got rid of the old realize hack.
      
      	* components/rpmview/nautilus-rpm-view.c
      	(nautilus_rpm_view_initialize):
      	Added a FIXME about how it's bad to hard-wire a font.
      
      	* components/services/startup/nautilus-service-startup-view.c
      	(setup_title_font), (setup_form_title),
      	(nautilus_service_startup_view_initialize),
      	(nautilus_service_startup_view_realize),
      	(nautilus_service_startup_view_load_uri):
      	Changed to use new nautilus_gtk_widget_set_font_by_name
      	and got rid of the old realize hack.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c
      	(nautilus_gtk_style_set_font): Made public.
      	(nautilus_gtk_widget_set_font): Added comments and checks on
      	the parameters.
      
      	* libnautilus-extensions/nautilus-icon-container.c (relayout),
      	(idle_handler), (nautilus_icon_container_move_icon),
      	(world_width_changed), (end_stretching), (button_release_event),
      	(handle_icon_button_press), (nautilus_icon_container_add_auto),
      	(nautilus_icon_container_remove),
      	(nautilus_icon_container_set_auto_layout):
      	Some tweaks for auto-layout mode. Made it work better with
      	stretching by not laying out the currently-stretched icon,
      	simplified the code a bit, and made it relayout when an icon
      	is removed.
      
      	* src/file-manager/fm-directory-view.c (compute_menu_item_info),
      	(fm_directory_view_real_merge_menus):
      	Got rid of the "..." from "Delete...". On Macintosh, at least,
      	the "..." is only used when the dialog is something that adds
      	parameters to the command, not when it's just a confirmation.
      
      	* src/nautilus-index-title.c (update_font),
      	(nautilus_index_title_update_label),
      	(nautilus_index_title_update_info):
      	Changed to use new nautilus_gtk_widget_set_font and
      	nautilus_gtk_widget_set_font_by_name.
      
      	* src/ntl-index-panel.c (nautilus_index_panel_remove_meta_view):
      	Made the index panel do *slightly* better when a meta view
      	fails to load.
      
      	* components/help/hyperbola-main.c (main):
      	Fixed a warning.
      ef2dc9ef
  12. 20 Apr, 2000 1 commit
    • John Sullivan's avatar
      Darin and I started out thinking we were going to start entering · 406ed6a9
      John Sullivan authored
      	bugs for the FIXME items but we were distracted into fixing bugs
      	and tweaking code that we found while doing so.
      
      	* check-FIXME.pl: Won't search old ChangeLogs for FIXMEs either;
      	changed FIXME format from "FIXME bug xxx" to "FIXME bugzilla.eazel.com xxx"
      
      	* components/history/ntl-history-view.c:
      	(hyperbola_navigation_history_notify_location_change): Moved bookmark
      	naming hack here and added FIXME explaining it.
      
      	* libnautilus-extensions/nautilus-bookmark.h,
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new), (nautilus_bookmark_new_with_name):
      	Combined these two into one routine that takes both the uri and
      	title; removed hack for trying to come up with good name for
      	bookmark here.
      	(nautilus_bookmark_get_pixmap_and_mask): Changed to call
      	_get_pixbuf instead of duplicating code.
      	(nautilus_bookmark_get_pixbuf): Changed interface to return
      	pixbuf or NULL instead of boolean result & "out" parameter.
      
      	* src/nautilus-bookmark-list.c,
      	* src/nautilus-bookmarks-window.c,
      	* src/nautilus-window-menus.c,
      	* src/ntl-window-msgs.c:
      	Updated callers of nautilus_bookmark_new and _new_with_name.
      406ed6a9
  13. 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
  14. 14 Apr, 2000 1 commit
    • Ramiro Estrugo's avatar
      Split libnautilus into two pieces. · 09b3bf22
      Ramiro Estrugo authored
      libnautilus now only contains the view interfaces needed by nautilus
      components.
      
      These are the interfaces defined in nautilus-view-component.idl.
      
      libnautilus-extensions containes the remainder of the stuff.
      
      Also used the cvs repository munging opportunity to do some of the
      ntl-* renaming outlined in the RENAIMING file.
      09b3bf22
  15. 29 Mar, 2000 1 commit
  16. 28 Mar, 2000 1 commit
  17. 22 Mar, 2000 1 commit
  18. 16 Mar, 2000 1 commit
  19. 07 Mar, 2000 1 commit
  20. 24 Feb, 2000 2 commits
  21. 20 Feb, 2000 1 commit
    • Maciej Stachowiak's avatar
      Changed NautilusViewFrame to allow creation of `Nautilus::View' objects · 53c5e06a
      Maciej Stachowiak authored
      	* libnautilus/ntl-view-frame.c, libnautilus/ntl-view-frame.h:
      	Changed NautilusViewFrame to allow creation of `Nautilus::View'
      	objects that have additional interfaces while sharing the actual
      	control. This will allow, for instance, the creation of components
      	that are both a `Nautilus::View' and a `Bonobo::Embeddable'. The
      	basic changes are to require a `BonoboObject' with a
      	`Bonobo::Control' interface at construction time.
      	- Two creation functions are provided: `nautilus_view_frame_new',
      	which takes a GtkWidget, creates a new control that contains that
      	widget, and the constructs a NautilusViewFrame with that control,
      	and `nautilus_view_frame_new_from_control', which creates a
      	NautilusViewFrame that gets added as an additional interface to an
      	existing control.
      	- In the course of doing this it became clear that it would be
      	easier if NautilusViewFrame were changed to inherit from
      	BonoboObject rather than GtkBin, so this was done; as a result,
      	the nautilus_view_frame_get_bonobo_object call was removed, since
      	the view_frame _is_ a bonobo object. However, a
      	nautilus_view_frame_get_bonobo_control call was added as a
      	convenience, to allow other code to avoid having to
      	query_local_interface for the control object manually.
      	* libnautilus/ntl-meta-view-frame.c,
      	libnautilus/ntl-meta-view-frame.h,
      	libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-content-view-frame.h: Analogous changes; mainly,
      	added `nautilus_meta_view_frame_new',
      	`nautilus_meta_view_frame_new_from_control',
      	`nautilus_content_view_frame_new' and
      	`nautilus_content_view_frame_new_from_control'.
      	* components/help/hyperbola-nav-index.c,
      	components/help/hyperbola-nav-tree.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c, components/notes/ntl-notes.c,
      	components/websearch/ntl-web-search.c, src/ntl-app.c,
      	src/file-manager/fm-directory-view.c: Fixed initialization and
      	object creation functions to deal with the above API change.
      53c5e06a
  22. 18 Feb, 2000 1 commit
  23. 16 Feb, 2000 2 commits
  24. 15 Feb, 2000 1 commit
  25. 10 Feb, 2000 1 commit
    • Elliot Lee's avatar
      Add "Bonobo" to list of log domains to catch. · c9096ce9
      Elliot Lee authored
      
      
      * src/ntl-main.c: Add "Bonobo" to list of log domains to catch.
      
      * src/ntl-window.c: Do proper UIH setup for the menubar and
      toolbar. Also switch to using the hpaned temporarily, to be able
      to see/manipulate all the meta views.
      
      * components/history/ntl-history-view.c: Implement client side of
      menu merging properly.
      c9096ce9
  26. 26 Jan, 2000 1 commit
    • Maciej Stachowiak's avatar
      Build with the recent Bonobo global renaming, and Havoc's changes. A patch · a26d6288
      Maciej Stachowiak authored
      	* components/help/hyperbola-main.c,
      	components/help/hyperbola-nav-tree.c,
      	components/history/ntl-history-view.c, components/html/main.c,
      	components/html/ntl-web-browser.c,
      	components/websearch/ntl-web-search.c, idl/nautilus.idl,
      	libnautilus/gnome-icon-container.c,
      	libnautilus/gnome-progressive-loader.c,
      	libnautilus/gnome-progressive-loader.h, libnautilus/libnautilus.h,
      	libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-meta-view-frame.c, libnautilus/ntl-view-frame.c,
      	libnautilus/ntl-view-frame.h, src/nautilus.h,
      	src/ntl-index-panel.c, src/ntl-view-bonobo-control.c,
      	src/ntl-view-bonobo-subdoc.c, src/ntl-view-frame-svr.c,
      	src/ntl-view-nautilus.c, src/ntl-view-private.h, src/ntl-view.c,
      	src/ntl-view.h, src/ntl-window.c, src/ntl-window.h,
      	src/file-manager/dfos-corba.h, src/file-manager/dfos-xfer.c,
      	src/file-manager/dfos-xfer.h, src/file-manager/fm-main.c: Build
      	with the recent Bonobo global renaming, and Havoc's changes. A
      	patch from Kjartan Maraas <kmaraas@online.no> and scripts from Nat
      	Friedman <nat@helixcode.com> were a very helpful starting point.
      a26d6288
  27. 10 Jan, 2000 1 commit
    • Maciej Stachowiak's avatar
      Rename NautilusViewClient to NautilusViewFrame, NautilusContentViewClient · 78106a73
      Maciej Stachowiak authored
      	* libnautilus/ntl-view-client.c, libnautilus/ntl-view-client.h,
      	libnautilus/ntl-content-view-client.c,
      	libnautilus/ntl-content-view-client.h,
      	libnautilus/ntl-meta-view-client.c,
      	libnautilus/ntl-meta-view-client.h,: Rename NautilusViewClient to
      	NautilusViewFrame, NautilusContentViewClient to
      	NautilusContentViewFrame, and NautilusMetaViewClient to
      	NautilusMetaViewFrame.
      	* components/help/hyperbola-nav-tree.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c,
      	components/websearch/ntl-web-search.c, src/ntl-app.c,
      	src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-directory-view.h: Reflect the above renaming.
      78106a73
  28. 04 Jan, 2000 1 commit
  29. 03 Jan, 2000 1 commit
  30. 22 Dec, 1999 1 commit
    • Elliot Lee's avatar
      Testbed for UIHandler usage. Better error checking, support UIHandler · 5eff8c58
      Elliot Lee authored
      
      
      * components/history/ntl-history-view.c: Testbed for UIHandler usage.
      * src/ntl-*view*.c: Better error checking, support UIHandler usage.
      * src/ntl-window-msgs.c: Better error checking.
      * src/ntl-window.c: Better error checking, plus move menu creation so that UIHandler
      usage is easier.
      5eff8c58
  31. 21 Dec, 1999 1 commit
  32. 20 Dec, 1999 1 commit
    • Elliot Lee's avatar
      Add HTML component to build. Make process die when all objects have been · 82c18443
      Elliot Lee authored
      
      
      * configure.in, components/Makefile.am: Add HTML component to build.
      * components/help/hyperbola-main.c, components/history/ntl-history-view.c: Make process die when
        all objects have been destroyed.
      * components/history/ntl-history-view.c: Bug fixes.
      * components/html/*.[ch]: Copy glibwww over, write new NautilusViewClient for HTML browsing.
      * src/ntl-uri-map.c: Cleanup, and use ntl_web_browser as default HTML display engine.
      * src/ntl-view.c: Try to handle Bonobo views for data display.
      82c18443
  33. 16 Dec, 1999 2 commits
    • Elliot Lee's avatar
      Now works. Duplicate the URI being requested, since we don't know what the · e97c47c2
      Elliot Lee authored
      
      
      * components/history/ntl-history-view.c: Now works.
      * src/ntl-uri-map.c: Duplicate the URI being requested, since we
      don't know what the lifetime of the original value will be.
      * src/ntl-window.c: Use the paned instead of hbox, use create_menus_with_data instead.
      * src/file-manager: Misc warning fixes.
      * src/gtkscrollframe.c: Try to get rid of scrollbar chopping.
      e97c47c2
    • Elliot Lee's avatar
      Translate strings. · c7382d0d
      Elliot Lee authored
      
      
      1999-12-16  Elliot Lee  <sopwith@redhat.com>
      
      	* components/help/hyperbola-nav-tree.c: Translate strings.
      
      	* components/history/ntl-history-view.c: Bug fixes, use API
       	function for setting meta-view label.
      
      	* libnautilus/ntl-meta-view-client.[ch]:
       	s/meta_view_set_label/meta_view_client_set_label/
      
      	* src/ntl-uri-map.c: Use history view instead of help view as the
       	default meta view for now.
      
      	* src/ntl-window.c: As per the comment that was removed from
       	ntl-window.c, gnome_app_install_menu_hints() needs to be called
       	_after_ statusbar creation
      
      	* src/file-manager/fm-directory-view.c: Add more debugging assertions
      	and messages.
      c7382d0d
  34. 13 Dec, 1999 1 commit
  35. 09 Dec, 1999 1 commit