1. 23 Feb, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 764d936a
      Darin Adler authored
      	Fix bug 6859 (GTK signal macros don't work in non-GCC compilers
      	for void return types).
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Replaced old macros that accidentally relied on gccisms with
      	new ones that are portable to other compilers.
      
      		NAUTILUS_CALL_PARENT_CLASS is replaced by
      			NAUTILUS_CALL_PARENT
      		    and NAUTILUS_CALL_PARENT_WITH_RETURN_VALUE.
      
      		NAUTILUS_CALL_VIRTUAL is replaced by
      			NAUTILUS_CALL_METHOD
      		    and NAUTILUS_CALL_METHOD_WITH_RETURN_VALUE
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_destroy),
      	(nautilus_adapter_embed_strategy_get_widget),
      	(nautilus_adapter_embed_strategy_get_zoomable):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_destroy):
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(nautilus_adapter_factory_server_destroy):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_destroy),
      	(nautilus_adapter_load_strategy_load_location),
      	(nautilus_adapter_load_strategy_stop_loading):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_destroy):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_destroy):
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy):
      	* components/history/nautilus-history-view.c:
      	(nautilus_history_view_destroy):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_destroy):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_destroy):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_destroy):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_destroy):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_destroy):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_destroy),
      	(nautilus_service_install_view_finalize):
      	* components/services/inventory-view/nautilus-inventory-config-page
      	.c: (nautilus_inventory_config_page_destroy):
      	* components/services/inventory-view/nautilus-inventory-view.c:
      	(nautilus_inventory_view_destroy):
      	* components/services/login/nautilus-view/nautilus-change-password-
      	view.c: (nautilus_change_password_view_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-foot
      	er.c: (footer_destroy):
      	* components/services/nautilus-dependent-shared/eazel-services-head
      	er.c: (header_destroy):
      	* components/services/summary/nautilus-summary-view.c:
      	(nautilus_summary_view_destroy):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.
      	c: (trilobite_eazel_time_view_destroy):
      	* components/text/nautilus-text-view.c:
      	(nautilus_text_view_destroy):
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_destroy), (nautilus_throbber_map),
      	(nautilus_throbber_size_allocate):
      	* components/tree/nautilus-tree-change-queue.c:
      	(nautilus_tree_change_queue_destroy):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_destroy):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_destroy):
      	* components/tree/nautilus-tree-node.c:
      	(nautilus_tree_node_destroy):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_destroy):
      	* help/nautilus-quick-reference/.cvsignore:
      	* help/nautilus-quick-reference/C/.cvsignore:
      	* libnautilus-extensions/nautilus-background-canvas-group.c:
      	(nautilus_background_canvas_group_update),
      	(nautilus_background_canvas_group_draw),
      	(nautilus_background_canvas_group_render):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_destroy):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_destroy):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_destroy), (nautilus_font_picker_show_all):
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_destroy),
      	(nautilus_clickable_image_realize),
      	(nautilus_clickable_image_expose_event):
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(debug_pixbuf_viewer_destroy):
      	* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
      	(destroy):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy),
      	(nautilus_directory_get_name_for_self_as_new_file),
      	(nautilus_directory_are_all_files_seen),
      	(nautilus_directory_contains_file),
      	(nautilus_directory_call_when_ready),
      	(nautilus_directory_cancel_callback),
      	(nautilus_directory_file_monitor_add),
      	(nautilus_directory_file_monitor_remove),
      	(nautilus_directory_force_reload),
      	(nautilus_directory_is_not_empty):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_destroy),
      	(nautilus_druid_page_eazel_finalize),
      	(nautilus_druid_page_eazel_size_allocate),
      	(nautilus_druid_page_eazel_size_request):
      	* libnautilus-extensions/nautilus-ellipsizing-label.c:
      	(real_size_request), (real_size_allocate), (real_style_set):
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_destroy), (nautilus_entry_key_press),
      	(nautilus_entry_motion_notify), (nautilus_entry_set_selection),
      	(nautilus_entry_insert_text), (nautilus_entry_delete_text),
      	(nautilus_entry_selection_clear):
      	* libnautilus-extensions/nautilus-file.c: (destroy),
      	(nautilus_file_monitor_add), (nautilus_file_monitor_remove),
      	(nautilus_file_get_date), (nautilus_file_get_where_string),
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts), (nautilus_file_get_file_type),
      	(nautilus_file_check_if_ready), (nautilus_file_call_when_ready),
      	(nautilus_file_cancel_call_when_ready):
      	* libnautilus-extensions/nautilus-font-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_destroy):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_destroy),
      	(nautilus_horizontal_splitter_button_press):
      	* libnautilus-extensions/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_destroy),
      	(nautilus_icon_canvas_item_update):
      	* libnautilus-extensions/nautilus-icon-container.c: (destroy),
      	(size_allocate), (realize), (unrealize), (button_press_event),
      	(button_release_event), (motion_notify_event), (key_press_event):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_destroy):
      	* libnautilus-extensions/nautilus-image-table.c:
      	(nautilus_image_table_destroy),
      	(nautilus_image_table_expose_event),
      	(nautilus_image_table_realize), (nautilus_image_table_unrealize),
      	(nautilus_image_table_remove):
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_destroy):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_size_allocate):
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_destroy), (nautilus_label_size_request),
      	(nautilus_label_size_allocate), (label_paint_pixbuf_callback):
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	(nautilus_labeled_image_destroy):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_finalize):
      	* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy),
      	(nautilus_list_button_press), (nautilus_list_button_release),
      	(nautilus_list_key_press), (nautilus_list_style_set),
      	(nautilus_list_realize), (nautilus_list_unrealize), (draw_rows),
      	(draw_all), (nautilus_list_draw), (nautilus_list_expose),
      	(nautilus_list_resize_column), (nautilus_list_set_cell_contents),
      	(set_list_cell), (nautilus_list_track_new_column_width),
      	(nautilus_list_motion), (nautilus_list_clear), (insert_row):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(merged_destroy):
      	* libnautilus-extensions/nautilus-metafile-factory.c: (destroy):
      	* libnautilus-extensions/nautilus-metafile.c: (destroy):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_destroy):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_destroy):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_destroy):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_destroy):
      	* libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_destroy):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_destroy):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(trash_destroy):
      	* libnautilus-extensions/nautilus-trash-file.c: (trash_destroy):
      	* libnautilus-extensions/nautilus-undo-context.c: (destroy):
      	* libnautilus-extensions/nautilus-undo-manager.c: (destroy):
      	* libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-vfs-file.c: (vfs_destroy):
      	* libnautilus-extensions/nautilus-viewport.c:
      	(nautilus_viewport_destroy), (nautilus_viewport_realize):
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_destroy):
      	* libnautilus-extensions/nautilus-wrap-table.c:
      	(nautilus_wrap_table_destroy):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_destroy):
      	* libnautilus/nautilus-view.c: (nautilus_view_destroy):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_destroy), (real_update_menus),
      	(real_merge_menus):
      	* src/file-manager/fm-directory-view.c:
      	(text_attribute_names_changed_callback),
      	(image_display_policy_changed_callback),
      	(directory_view_font_family_changed_callback),
      	(click_policy_changed_callback),
      	(smooth_graphics_mode_changed_callback),
      	(fm_directory_view_destroy),
      	(fm_directory_view_file_limit_reached),
      	(fm_directory_view_bump_zoom_level),
      	(fm_directory_view_zoom_to_level),
      	(fm_directory_view_restore_default_zoom_level),
      	(fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out),
      	(fm_directory_view_get_background_widget),
      	(fm_directory_view_get_selection), (reveal_newly_added_folder),
      	(fm_directory_view_get_emblem_names_to_exclude),
      	(fm_directory_view_merge_menus), (fm_directory_view_select_all),
      	(fm_directory_view_set_selection),
      	(fm_directory_get_selected_icon_locations),
      	(fm_directory_view_reveal_selection),
      	(fm_directory_view_is_read_only), (fm_directory_view_is_empty),
      	(fm_directory_view_supports_creating_files),
      	(fm_directory_view_accepts_dragged_files),
      	(fm_directory_view_supports_properties),
      	(fm_directory_view_supports_zooming),
      	(fm_directory_view_update_menus):
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
      	(fm_icon_view_clean_up), (fm_icon_view_get_directory_sort_by),
      	(fm_icon_view_set_directory_sort_by),
      	(fm_icon_view_get_directory_sort_reversed),
      	(fm_icon_view_set_directory_sort_reversed),
      	(fm_icon_view_get_directory_auto_layout),
      	(fm_icon_view_set_directory_auto_layout),
      	(fm_icon_view_get_directory_tighter_layout),
      	(fm_icon_view_set_directory_tighter_layout),
      	(fm_icon_view_supports_auto_layout),
      	(fm_icon_view_start_renaming_item), (fm_icon_view_merge_menus),
      	(fm_icon_view_update_menus):
      	* src/file-manager/fm-list-view.c: (fm_list_view_adding_file),
      	(fm_list_view_removing_file), (fm_list_view_file_still_belongs),
      	(get_number_of_columns), (get_link_column),
      	(get_default_sort_attribute), (get_column_specification):
      	* src/file-manager/fm-properties-window.c: (real_shutdown),
      	(real_destroy), (real_finalize):
      	* src/file-manager/fm-search-list-view.c: (real_destroy),
      	(real_add_file), (real_adding_file), (real_removing_file),
      	(real_merge_menus), (real_update_menus):
      	* src/nautilus-about.c: (nautilus_about_destroy):
      	* src/nautilus-application.c: (nautilus_application_destroy),
      	(nautilus_application_startup):
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_destroy):
      	* src/nautilus-desktop-window.c: (destroy), (realize):
      	* src/nautilus-location-bar.c: (destroy):
      	* src/nautilus-navigation-bar.c:
      	(nautilus_navigation_bar_get_location),
      	(nautilus_navigation_bar_set_location):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_destroy):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy):
      	* src/nautilus-shell.c: (destroy):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_destroy),
      	(nautilus_sidebar_tabs_size_allocate):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_destroy),
      	(nautilus_sidebar_title_size_allocate):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_destroy),
      	(nautilus_sidebar_size_allocate), (nautilus_sidebar_realize):
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_destroy):
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_destroy):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_destroy):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
      	(nautilus_view_frame_finalize), (nautilus_view_frame_map):
      	* src/nautilus-window.c: (nautilus_window_destroy),
      	(nautilus_window_realize), (nautilus_window_size_request),
      	(nautilus_window_add_current_location_to_history_list),
      	(nautilus_window_show):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy),
      	(nautilus_zoom_control_size_allocate):
      	Use the macros by their new names.
      
      	* RENAMING: Updated for some name changes and name change ideas.
      
      	* user-guide/C/.cvsignore:
      	* user-guide/C/html/.cvsignore:
      	* user-guide/C/img/.cvsignore:
      	* user-guide/C/sgml/.cvsignore:
      	Added missing cvsignores.
      764d936a
  2. 02 Feb, 2001 1 commit
    • Maciej Stachowiak's avatar
      reviewed by: Darin Adler <darin@eazel.com> and · 2fa1795d
      Maciej Stachowiak authored
      	             Robey Pointer  <robey@eazel.com>
      
      	Fix bugs 5528 (oaf command-line options show up in main program
      	section, not a separate section) and 5510 (descriptions of
      	OAF-specific options in --help are not translated). To do this I
      	had to change the way the oaf popt options are processed in all
      	the places that do so.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/image-viewer/Nautilus_View_image.oaf.in:
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/services/time/command-line/main.c: (main):
      	* components/services/time/nautilus-view/main.c: (main):
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_init):
      	* components/shell/shell.c:
      	* components/text/Nautilus_View_text.oaf.in:
      	* components/text/main.c: (main):
      	* components/throbber/main.c: (main):
      	* components/tree/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi):
      	* src/Nautilus_shell.oaf.in:
      	* src/nautilus-main.c: (main):
      	* test/test-nautilus-mime-actions-set.c: (main):
      	* test/test-nautilus-mime-actions.c: (main): Register oaf options
      	with gnomelib_register_popt_options and move oaf_init call to
      	before gnome_init to fix the aforementioned bugs.
      2fa1795d
  3. 31 Jan, 2001 1 commit
    • Pavel Cisler's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> · 17955b15
      Pavel Cisler authored
      2001-01-31  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Gene Z. Ragan <gzr@eazel.com>
      
      	Fix 5324 (Should get rid of stack-based GnomeVFSFileInfo)
      
      	* components/adapter/bonobo-stream-vfs.c: (vfs_get_info):
      	Nuked some unused code that contained gnome_vfs_file_info_init.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_load_location):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(path_represents_svg_image), (get_cache_time):
      	* libnautilus-extensions/nautilus-thumbnails.c:
      	(first_file_more_recent):
      	* src/nautilus-window-menus.c: (get_static_bookmarks_file_path):
      	Get rid of gnome_vfs_file_info_init.
      	Replace all instances of stack-based GnomeVFSFileInfo
      	structures, replace all calls to gnome_vfs_file_info_init
      	with gnome_vfs_file_info_new.
      	Replace most calls to gnome_vfs_file_info_clear with
      	gnome_vfs_file_info_unref.
      
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(has_image_file):
      	Rework to use gnome_vfs_uri_exists instead of trying to get
      	file info.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_load_location):
      	Fixed a bug where file info fields were being used after a
      	gnome_vfs_file_info_clear call
      
      
      	Fix 6146 ("Duplicate File" reports "You cannot copy a file
      		   over itself")
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(nautilus_file_operations_copy_move):
      	Make copying iside the same directory while the
      	GNOME_VFS_XFER_USE_UNIQUE_NAMES move_option is set legal.
      17955b15
  4. 27 Jan, 2001 1 commit
    • Seth Nickell's avatar
      Holy piss sprinkled on this by Arik <arik@eazel.com> · b535c341
      Seth Nickell authored
      Fri Jan 26 23:58:42 2001  George Lebl <jirka@5z.com>
      
      	Holy piss sprinkled on this by Arik <arik@eazel.com>
      
      	* components/adapter/main.c (main)
      	  components/help/hyperbola-main.c (main)
      	  components/image-viewer/nautilus-image-view.c (init_server_factory)
      	  components/mozilla/main.c (main)
      	  components/music/main.c (main)
      	  components/notes/nautilus-notes.c (main)
      	  components/services/install/nautilus-view/main.c (main)
      	  components/services/inventory/main.c (main)
      	  components/services/login/nautilus-view/main.c (main)
      	  components/services/summary/nautilus-view/main.c (main)
      	  components/shell/shell.c (init_bonobo)
      	  components/text/main.c (main)
      	  components/throbber/main.c (main)
      	  components/tree/main.c (main)
      	  libnautilus/nautilus-view-standard-main.c
      	  (nautilus_view_standard_main_multi):
      	  Add gnome_client_disable_master_connection call to all out of
      	  process component main functions since they should not register
      	  with the session manager.  Fixes bug #6051
      
      2001-01-26  Seth Nickell  <seth@eazel.com>
      b535c341
  5. 25 Jan, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Maciej (mjs@eazel.com) approved this, so blame him if this makes hair grow · 714a3185
      Jiri (George) Lebl authored
      Wed Jan 24 21:21:52 2001  George Lebl <jirka@5z.com>
      
      	Maciej (mjs@eazel.com) approved this, so blame him if this makes
      	hair grow on the palms of your hands or gives your dog headaches
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c
      	  (nautilus_adapter_control_embed_strategy_new): Unref the zoomable
      	  interface after a query interface.  Fixes bug #5966
      
      	* components/image-viewer/nautilus-image-view.c
      	  (control_destroy_callback): take out the FIXME.
      714a3185
  6. 12 Jan, 2001 1 commit
    • Michael Meeks's avatar
      remove redundant bonobo_item_container_add. · b75592a9
      Michael Meeks authored
      2001-01-11  Michael Meeks  <michael@helixcode.com>
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c
      	(nautilus_adapter_embeddable_embed_strategy_new): remove redundant
      	bonobo_item_container_add.
      b75592a9
  7. 05 Jan, 2001 2 commits
    • Maciej Stachowiak's avatar
      xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part · 7f8d07e8
      Maciej Stachowiak authored
      	of resolving bug 2693 (I will consider my work done once I have
      	also handled Bonobo).
      
      	* autogen.sh, configure.in: xml-i18n-toolize
      	* .cvsignore: ignore xml-i18n scripts
      	* Makefile.am: distribute xml-i18n-scripts
      
      	* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
      	Renamed from components/adapter/nautilus-adapter.oafinfo; mark
      	translatable strings transalatable.
      	* components/adapter/Makefile.am: Deal w/ oaf file rename, do
      	merge.
      	* components/adapter/.cvsignore: Ignore .oaf file.
      
      	* components/hardware/.cvsignore, components/hardware/Makefile.am,
      	components/hardware/Nautilus_View_hardware.oaf.in,
      	components/hardware/nautilus-hardware-view.oafinfo: Ditto.
      	* components/history/.cvsignore, components/history/Makefile.am,
      	components/history/Nautilus_View_history.oaf.in,
      	components/history/nautilus-history-view.oafinfo: Ditto.
      
      	* components/image-viewer/.cvsignore,
      	components/image-viewer/Makefile.am,
      	components/image-viewer/Nautilus_View_image.oaf.in,
      	components/image-viewer/nautilus-image-view.oafinfo: Ditto.
      
      	* components/loser/content/.cvsignore,
      	components/loser/content/Makefile.am,
      	components/loser/content/Nautilus_View_content-loser.oaf.in,
      	components/loser/content/nautilus-content-loser.oafinfo: Ditto.
      
      	* components/loser/sidebar/.cvsignore,
      	components/loser/sidebar/Makefile.am,
      	components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in,
      	components/loser/sidebar/nautilus-sidebar-loser.oafinfo: Ditto.
      	* components/mozilla/.cvsignore, components/mozilla/Makefile.am,
      	components/mozilla/Nautilus_View_mozilla.oaf.in,
      	components/mozilla/nautilus-mozilla-content-view.oafinfo: Ditto.
      	* components/music/.cvsignore, components/music/Makefile.am,
      	components/music/Nautilus_View_music.oaf.in,
      	components/music/nautilus-music-view.oafinfo: Ditto.
      	* components/notes/.cvsignore, components/notes/Makefile.am,
      	components/notes/Nautilus_View_notes.oaf.in,
      	components/notes/nautilus-notes.oafinfo: Ditto.
      	* components/rpmview/.cvsignore, components/rpmview/Makefile.am,
      	components/rpmview/Nautilus_View_rpm.oaf.in,
      	components/rpmview/nautilus-rpm-view.oafinfo: Ditto.
      	* components/sample/.cvsignore, components/sample/Makefile.am,
      	components/sample/Nautilus_View_sample.oaf.in,
      	components/sample/nautilus-sample-content-view.oafinfo: Ditto.
      	* components/services/install/nautilus-view/.cvsignore,
      	components/services/install/nautilus-view/Makefile.am,
      	components/services/install/nautilus-view/Nautilus_View_install.oaf.in,
      	components/services/install/nautilus-view/nautilus-service-install-view.oafinfo:
      	Ditto.
      	* components/services/install/server/.cvsignore,
      	components/services/install/server/Makefile.am,
      	components/services/install/server/Trilobite_Service_install.oaf.in,
      	components/services/install/server/trilobite-eazel-install-service.oafinfo:
      	Ditto.
      	* components/services/login/nautilus-view/.cvsignore,
      	components/services/login/nautilus-view/Makefile.am,
      	components/services/login/nautilus-view/Nautilus_View_change-password.oaf.in,
      	components/services/login/nautilus-view/nautilus-change-password-view.oafinfo:
      	Ditto.
      	* components/services/summary/nautilus-view/.cvsignore,
      	components/services/summary/nautilus-view/Makefile.am,
      	components/services/summary/nautilus-view/Nautilus_View_services-summary.oaf.in,
      	components/services/summary/nautilus-view/nautilus-summary-view.oafinfo: Ditto.
      	* components/services/trilobite/sample/.cvsignore,
      	components/services/trilobite/sample/nautilus-view/Makefile.am,
      	components/services/trilobite/sample/nautilus-view/Nautilus_View_service-sample.oaf.in,
      	components/services/trilobite/sample/nautilus-view/nautilus-sample-service-view.oafinfo:
      	Ditto.
      	* components/services/trilobite/sample/service/.cvsignore,
      	components/services/trilobite/sample/service/Makefile.am,
      	components/services/trilobite/sample/service/Trilobite_Service_sample.oaf.in,
      	components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
      	Ditto.
      	* components/text/.cvsignore, components/text/Makefile.am,
      	components/text/Nautilus_View_text.oaf.in,
      	components/text/nautilus-text-view.oafinfo: Ditto.
      	* src/.cvsignore, src/Makefile.am, src/Nautilus_shell.oaf.in,
      	src/nautilus.oafinfo: Ditto.
      	* components/tree/.cvsignore, components/tree/Makefile.am,
      	components/tree/Nautilus_View_tree.oaf.in,
      	components/tree/nautilus-tree-view.oafinfo.shlib: Ditto, and
      	removed ability to build tree view as an exe component (no one was
      	really using it anyway).
      	* components/tree/nautilus-tree-view.oafinfo.exe: Removed.
      	* components/help/.cvsignore, components/help/Makefile.am,
      	components/help/Nautilus_View_help.oaf.in:
      	components/help/help-contents.oafinfo: Ditto, and merged other
      	oafinfo files into Nautilus_View_help.oaf.in, commented out.
      	* components/help/help-factory.oafinfo,
      	components/help/help-index.oafinfo,
      	components/help/help-search.oafinfo: Removed.
      
      	* po/POTFILES.in: Added .oaf.in files.
      	* po/README.tools, po/ui-extract.pl, po/ui-testcases.glade,
      	po/ui-testcases.xml, po/update.pl, po/update.sh: Removed these
      	now-obsolete files.
      
      	* components/services/Makefile.am: Removed time service from build.
      	* components/html/*, components/websearch/*: cvs deleted these
      	obsolete long since non-built components.
      	* ChangeLog-200001018: Renamed to ChangeLog-20001018 (whoops)
      7f8d07e8
    • Pavel Cisler's avatar
      reviewed by: Rebecca Schulman <rebecka@eazel.com> · 4513aacc
      Pavel Cisler authored
      2001-01-04  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Rebecca Schulman  <rebecka@eazel.com>
      
      	Fix 5451 - GnomeVFS-WARNING received at startup.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi):
      	New standard module initialization call was not initializing
      	or shutting down gnome_vfs.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/html/ntl-web-browser.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/text/main.c: (main):
      	* components/tree/main.c: (main):
      	All of the above modules were initializing gnome_vfs but never
      	shutting it down. Add proper gnome_vfs_shutdown call.
      	This very likely fixes a problem with the notes module, etc.
      	sticking around after Nautilus quits.
      4513aacc
  8. 13 Dec, 2000 1 commit
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · ac2ec5b5
      Darin Adler authored
      	Fixed bug 1948 ("Open in New Window" menu item reuses existing
      	window if it exists) by separating the explicit "open in new
      	window" feature (always gives a new window) from the "open all
      	items in new windows" preference (reuses window if one with the
      	right location already exists).
      
      	* libnautilus/nautilus-view-component.idl: Added new
      	open_location_prefer_existing_window call. Renamed open_location
      	to open_location_in_this_window and open_location_in_new_window to
      	open_location_force_new_window for clarity.
      
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	(nautilus_view_open_location_in_this_window),
      	(nautilus_view_open_location_prefer_existing_window),
      	(nautilus_view_open_location_force_new_window):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_open_location_in_this_window),
      	(impl_Nautilus_ViewFrame_open_location_prefer_existing_window),
      	(impl_Nautilus_ViewFrame_open_location_force_new_window):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_open_location_in_this_window),
      	(nautilus_view_frame_open_location_prefer_existing_window),
      	(nautilus_view_frame_open_location_force_new_window):
      	* src/nautilus-view-frame.h:
      	Add new call, rename old ones.
      
      	* src/file-manager/fm-directory-view.c: (open_callback): Pass parameter
      	to tell the open code to respect the "use new windows" preference.
      	(open_location): Take new WindowChoice parameter to respect preference
      	as appropriate.
      	(switch_location_and_view): Tell the code to respect the preference in
      	this case (opening from Open With).
      	(show_trash_callback): Use code that respects the preference instead of
      	always opening in this case.
      	(open_one_in_new_window): Always force a new window (used by Open
      	in New Window command).
      	(activate_callback): Pass through new WindowChoice instead of boolean.
      	(fm_directory_view_activate_file): Pass through new WindowChoice
      	instead of boolean.,
      	(fm_directory_view_activate_files): Respect the user preference if
      	opening only one file, do the "use existing window or make new one"
      	mode if opening more than one.
      
      	* src/nautilus-window-manage-views.c: (handle_unreadable_location):
      	Move check for empty location string in here.
      	(open_location): Moved the code for reusing existing windows out
      	of here. Also changed code structure to avoid redoing the
      	handle_unreadable_location check.
      	(open_location_in_this_window_callback): Renamed.
      	(open_location_prefer_existing_window_callback): Here's where
      	the code for reusing existing windows went. New callback for the
      	new call/signal.
      	(open_location_force_new_window_callback): Renamed.
      
      	* src/file-manager/fm-search-list-view.c:
      	(reveal_selected_items_callback): Change to use
      	nautilus_view_open_location_force_new_window by its new name.
      
      	* src/nautilus-window-manage-views.h: Got rid of
      	nautilus_window_open_location_in_new_window, which was public and
      	unused.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_open_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_select_row):
      	* components/history/nautilus-history-view.c:
      	(history_button_release):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_open_uri_callback), (mozilla_dom_mouse_click_callback):
      	* components/rpmview/nautilus-rpm-view.c: (go_to_button_callback):
      	* components/services/login/nautilus-view/nautilus-change-password-view.c:
      	(run_away_timer), (authn_failed), (maintenance_button_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
      	(logged_in_callback), (logged_out_callback),
      	(preferences_button_cb), (forgot_password_button_cb),
      	(register_button_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-dialogs.c:
      	(error_dialog_cancel_cb):
      	* components/services/summary/nautilus-view/nautilus-summary-footer.c:
      	(footer_item_clicked_callback):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c:
      	(goto_service_cb), (goto_update_cb):
      	* components/text/nautilus-text-view.c: (handle_service_menu_item):
      	* components/tree/nautilus-tree-view.c: (tree_select_row_callback):
      	Change to use new nautilus_view_open_location_in_this_window
      	name. It's better because it's more explicit, but also, it's the
      	new name!
      
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_gdk_window_bring_to_front): Fixed indentation.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_window_present): Put in a new implementation that
      	uses nautilus_gdk_window_bring_to_front instead of the old one
      	that did a hide followed by a show. Corrected an assert that
      	should have been a return_if_fail.
      ac2ec5b5
  9. 21 Nov, 2000 1 commit
    • Maciej Stachowiak's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · c82012c9
      Maciej Stachowiak authored
      	Fix bugs 2943 (Dragging icons between windows or to the desktop
      	triggers scrolling), 4786 (Need to remove tree view auto-expand
      	feature for 1.0) and 4476 (weird horizontal autoscroll
      	behavior). Auto-scroll now has a consistent 750 ms startup delay,
      	and the tree auto-expand is off.
      
      	* libnautilus-extensions/nautilus-drag.h,
      	libnautilus-extensions/nautilus-drag.c:
      	(nautilus_drag_autoscroll_in_scroll_region,
      	nautilus_drag_autoscroll_start, nautilus_drag_autoscroll_stop):
      	New convenience functions that factor out common code formerly in
      	the tree, list and icon view DnD code. This fixes the mistakes
      	common to all three of those views, where the auto-scroll initial
      	delay was measured from the start of dragging overall, not from
      	entering the scroll region.
      
      	* libnautilus-extensions/nautilus-icon-private.h,
      	libnautilus-extensions/nautilus-icon-dnd.c
      	(auto_scroll_timeout_callback, set_up_auto_scroll_if_needed,
      	stop_auto_scroll): Use the above calls. Also, correct a `<'
      	vs. `>' mistake that made the auto-scroll delay never take effect.
      
      	* libnautilus-extensions/nautilus-list.c
      	(auto_scroll_timeout_callback, nautilus_list_start_auto_scroll,
      	nautilus_list_stop_auto_scroll): Use the above calls. Also,
      	correct a `<' vs. `>' mistake that made the auto-scroll delay
      	never take effect.
      
      	* components/tree/nautilus-tree-view-dnd.c:
      	(nautilus_tree_view_drag_leave, nautilus_tree_view_drag_motion,
      	collapse_time_callback, nautilus_tree_view_expand_node,
      	nautilus_tree_view_is_tree_node_expanded, nautilus_dump_info
      	expand_hack_unref, expand_hack_new, expand_time_callback,
      	nautilus_tree_view_expand_maybe_later): Remove bunches of code to
      	disable auto-expand.
      
      	(ready_to_start_scrolling, auto_scroll_timeout_callback),
      	(nautilus_tree_view_start_auto_scroll),
      	(nautilus_tree_view_stop_auto_scroll),
      	(nautilus_tree_view_drag_destroy): Use new common auto-scroll
      	code. I also made it possible to add an extra auto-scroll delay
      	for horizontal auto-scroll, but now that the startup delay has
      	been fixed, it seems almost impossible to trigger horizontal
      	auto-scroll accidentally, so I consider 4476 fixed.
      
      	* components/adapter/bonobo-stream-vfs.c: (vfs_get_info,
      	vfs_set_info, vfs_write, vfs_read, vfs_copy_to, vfs_destroy,
      	bonobo_stream_vfs_open): Added FIXME bug numbers.
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(activate_uri_callback): Added FIXME bug numbers.
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	Added FIXME bug numbers.
      c82012c9
  10. 16 Nov, 2000 2 commits
    • John Sullivan's avatar
      Fixed uninitialized variable warning that was breaking the build (Darin · b07fdf6a
      John Sullivan authored
      	* components/adapter/nautilus-zoomable-proxy.c:
      	(nautilus_zoomable_proxy_get):
      	Fixed uninitialized variable warning that was
      	breaking the build (Darin told me the fix).
      b07fdf6a
    • Martin Baulig's avatar
      reviewed by: Darin Adler <darin@eazel.com> reviewed by: Maciej Stachowiak · 00c39630
      Martin Baulig authored
      2000-10-22  Martin Baulig  <baulig@suse.de>
      
      	reviewed by: Darin Adler  <darin@eazel.com>
      	reviewed by: Maciej Stachowiak  <mjs@eazel.com>
      
      	Use the new Bonobo::Zoomable interface instead of Nautilus::Zoomable.
      
      	* libnautilus/nautilus-zoomable.[ch]: Removed.
      	* src/nautilus-zoomable-frame-corba.c: Removed.
      
      	* libnautilus/nautilus-view-component.idl
      	(ZoomLevels, ZoomLevelList, Zoomable, ZoomableFrame): Removed.
      
      	* src/nautilus-view-frame-private.h
      	(impl_Nautilus_ZoomableFrame_vepv, impl_Nautilus_ZoomableFrame__create):
      	Removed external declarations.
      
      	* src/nautilus-view-frame.h: include <bonobo/bonobo-zoomable-frame.h>.
      	(NautilusViewFrame): Removed the `zoomable' field and changed the
      	type of the `zoomable_frame' field from BonoboObject into
      	BonoboZoomableFrame.
      	(NautilusViewFrameClass): Added `zoom_parameters_changed' signal.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_destroy_client):
      	Don't release `view->zoomable' and set `view->history_frame' and
      	`view->zoomable_frame' to NULL, not to CORBA_OBJECT_NIL.
      	(nautilus_view_frame_initialize_class): Added ZOOM_PARAMETERS_CHANGED
      	signal.
      	(zoom_level_changed_callback): New static callback function; this emits
      	the ZOOM_LEVEL_CHANGED signal on the NautilusViewFrame.
      	(zoom_parameters_changed_callback): New static callback function; this
      	emits the ZOOM_PARAMETERS_CHANGED signal on the NautilusViewFrame.
      	(nautilus_view_frame_set_to_component): QI the adapted component for
      	"IDL:Bonobo/Zoomable:1.0" and - if it was found - create the
      	BonoboZoomableFrame, bind it to the BonoboZoomable and connect the
      	"zoom_level_changed" and the "zoom_parameters_changed" signals.
      	(nautilus_view_frame_is_zoomable): Return `view->zoomable_frame != NULL'.
      	(nautilus_view_frame_get_zoom_level): Check whether view->zoomable_frame
      	is not NULL and call bonobo_zoomable_frame_get_zoom_level().
      	(nautilus_view_frame_set_zoom_level): Check whether view->zoomable_frame
      	is not NULL and call bonobo_zoomable_frame_set_zoom_level().
      	(nautilus_view_frame_get_min_zoom_level): Check whether
      	view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_get_min_zoom_level().
      	(nautilus_view_frame_get_max_zoom_level): Check whether
      	view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_get_max_zoom_level().
      	(nautilus_view_frame_get_has_min_zoom_level): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_has_min_zoom_level().
      	(nautilus_view_frame_get_has_max_zoom_level): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_has_max_zoom_level().
      	(nautilus_view_frame_get_is_continuous): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_is_continuous().
      	(nautilus_view_frame_get_preferred_zoom_levels): If
      	view->zoomable_frame is NULL, return NULL. Otherwise
      	bonobo_zoomable_frame_get_preferred_zoom_levels() returns GList *
      	of floats which we can just return.
      	(nautilus_view_frame_zoom_in): If view->zoomable_frame is not NULL,
      	call bonobo_zoomable_frame_zoom_in().
      	(nautilus_view_frame_zoom_out): If view->zoomable_frame is not NULL,
      	call bonobo_zoomable_frame_zoom_out().
      	(nautilus_view_frame_zoom_to_fit):  If view->zoomable_frame is not
      	NULL, call bonobo_zoomable_frame_zoom_out().
      	(nautilus_view_frame_zoom_level_changed): Removed.
      
      	* src/nautilus-zoom-control.c (NautilusZoomControlDetails): Added
      	`has_min_zoom_level' and `has_max_zoom_level'.
      	(draw_zoom_control_image): Call nautilus_zoom_control_can_zoom_in/out()
      	to find out whether we can zoom.
      	(zoom_menu_callback): Likewise.
      	(nautilus_zoom_control_button_press_event): Likewise.
      	(create_zoom_menu_item): Changed the type of the `zoom_level' argument
      	from double to float.
      	(nautilus_zoom_control_set_min_zoom_level): Removed.
      	(nautilus_zoom_control_set_max_zoom_level): Removed.
      	(nautilus_zoom_control_set_preferred_zoom_levels): Removed.
      	(nautilus_zoom_control_set_parameters): New function.
      	(nautilus_zoom_control_has_min_zoom_level): New function.
      	(nautilus_zoom_control_has_max_zoom_level): New function.
      	(nautilus_zoom_control_can_zoom_in): New function.
      	(nautilus_zoom_control_can_zoom_out): New function.
      
      	* src/file-manager/fm-directory-view.c: #include
      	<bonobo/bonobo-zoomable.h> instead of
      	<libnautilus/libnautilus-zoomable.h>.
      	(FMDirectoryViewDetails): Changed the type of `zoomable' to
      	BonoboZoomable.
      	(fm_directory_view_preferred_zoom_levels): Made this an array of float,
      	not double.
      	(fm_directory_view_initialize): Create a new BonoboZoomable object here.
      	(zoomable_zoom_in_callback): The first argument is now a BonoboZoomable.
      	(zoomable_zoom_out_callback): The first argument is now a BonoboZoomable.
      	(nautilus_zoom_level_from_double): Renamed into
      	nautilus_zoom_level_from_float().
      	(zoomable_set_zoom_level_callback): The first argument is now a
      	BonoboZoomable and the second one a float.
      	(zoomable_zoom_to_fit_callback): The first argument is now a
      	BonoboZoomable.
      	(fm_directory_view_set_zoom_level): Call
      	bonobo_zoomable_report_zoom_level_changed()
      	instead of using nautilus_zoomable_set_zoom_level().
      
      	* src/nautilus-window-manage-views.c:
      	(zoom_level_changed_callback): Don't call
      	nautilus_zoom_control_set_min_zoom_level(),
      	nautilus_zoom_control_set_max_zoom_level() and
      	nautilus_zoom_control_set_preferred_zoom_levels() here.
      	Use nautilus_zoom_control_can_zoom_in/out() to find out whether we
      	can zoom in the calls to nautilus_bonobo_set_sensitive().
      	, (zoom_parameters_changed_callback): New callback function.
      	Call nautilus_zoom_control_set_parameters() and - if the zoom_level
      	is not 0.0 - zoom_level_changed_callback().
      
      	* components/adapter/nautilus-zoomable-proxy.[ch]: New files.
      
      	* components/adapter/Makefile.am (nautilus_adapter_SOURCES):
      	Added nautilus-zoomable-proxy.c and nautilus-zoomable-proxy.h.
      
      	* components/adapter/nautilus-adapter-embed-strategy.c
      	(NautilusAdapterEmbedStrategyClass): Added new virtual signal
      	`get_zoomable' which must be overridden.
      	(nautilus_adapter_embed_strategy_initialize_class): Assign it here.
      	(nautilus_adapter_embed_strategy_get_zoomable): New static function;
      	call the virtual `get_zoomable' in the derived class.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_initialize_class):
      	Assign nautilus_adapter_control_embed_strategy_get_zoomable() as
      	handler of the `get_zoomable' signal.
      	(nautilus_adapter_control_embed_strategy_new): QI the Control for
      	"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
      	if found and store the return value in strategy->details->zoomable.
      	(nautilus_adapter_control_embed_strategy_get_zoomable): New static
      	function; return strategy->details->zoomable which is set in
      	nautilus_adapter_control_embed_strategy_new().
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_initialize_class):
      	Assign nautilus_adapter_embeddable_embed_strategy_get_zoomable() as
      	handler of the `get_zoomable' signal.
      	(nautilus_adapter_embeddable_embed_strategy_new): QI the View for
      	"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
      	if found and store the return value in strategy->details->zoomable.
      	(nautilus_adapter_embeddable_embed_strategy_get_zoomable): New static
      	function; return strategy->details->zoomable which is set in
      	nautilus_adapter_embeddable_embed_strategy_new().
      
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	Call nautilus_adapter_embed_strategy_get_zoomable(embed_strategy) and
      	bonobo_add_interface() it to the control if found.
      
      	* components/image-viewer/nautilus-image-view.c: Rewrote the Nautilus
      	image viewer to be a BonoboControl, to add zoomable support to it and
      	to merge back everything from bonobo-image-generic into it.
      00c39630
  11. 15 Nov, 2000 2 commits
  12. 13 Nov, 2000 2 commits
    • Maciej Stachowiak's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 4dfaa364
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Increased chunk-size to 32k in an unsuccesful attempt to improve
      	the situation with regards to fix bug 3256 (attempt to view huge
      	text file is very slow). It did not help which leads me to believe
      	the problem is with the way the text control handles progressive
      	updates.
      
      	Fix bug 2180 (switching from icon view to list view, the zoom
      	control disappears and then reappears).
      
      	* src/nautilus-window-manage-views.c (load_content_view,
      	zoom_level_changed_callback): Don't show and hide the zoom control
      	at various times. Instead, let
      	`nautilus_window_set_content_view_widget' establish the right
      	visibility state when we finally enable the widget. This way, the
      	zoom control won't ever disappear and reappear when switching
      	between two different zoomable views.
      	* src/nautilus-window.c (nautilus_window_set_content_view_widget):
      	Set the zoom control to the right visibility state when setting
      	the new widget.
      4dfaa364
    • Maciej Stachowiak's avatar
      Updated based on running check-THANKS.pl Fixed some typos in people's · fe3a8f5e
      Maciej Stachowiak authored
      	* THANKS: Updated based on running check-THANKS.pl
      	* AUTHORS, ChangeLog-200001018: Fixed some typos in
      	people's email addresses.
      
      
      	Fix bugs 3641 (text preview gets garbled when switching files in
      	the middle of a load) and 3479 (Nautilus crashes if
      	nautilus-adapter* missing).
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(call_when_stopped, load_and_free_uri, declare_done_loading,
      	stop_loading,
      	nautilus_adapter_progressive_load_strategy_load_location): Make
      	sure previous load is completely stopped before ever starting a
      	new load.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy, nautilus_adapter_new): Avoid reporting
      	signals to the view frame while in the middle of destroying the
      	adapter.
      	* src/nautilus-component-adapter-factory.c
      	(nautilus_component_adapter_factory_get): Return NULL when loading
      	the adapter factory component fails.
      	(nautilus_component_adapter_factory_initialize,
      	component_adapter_factory_at_exit_destructor): Changes required by
      	the above.
      	* src/nautilus-view-frame.c
      	(nautilus_view_frame_set_to_component): report failure if we can't
      	load the adapter factory.
      	* src/nautilus-window-manage-views.c
      	(report_content_view_failure_to_user, load_content_view,
      	handle_view_failure, nautilus_window_set_sidebar_panels): Do a
      	somewhat better job of reporting view load failures.
      fe3a8f5e
  13. 04 Nov, 2000 1 commit
    • Darin Adler's avatar
      Tell everyone that we are back on bonobo HEAD. Make sure Nautilus doesn't · a96c73cb
      Darin Adler authored
      	* README: Tell everyone that we are back on bonobo HEAD.
      	* configure.in: Make sure Nautilus doesn't try to compile with the
      	old bonobo.
      
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_get):
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_get):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_load_location):
      	* components/history/nautilus-history-view.c:
      	(history_view_frame_call_begin):
      	* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
      	* libnautilus/nautilus-view.c: (view_frame_call_begin):
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_ensure_zoomable_frame):
      	Fix all the callers of query_interface in CORBA to call it
      	queryInterface (I used the Bonobo script to do it).
      
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_set_arg), (nautilus_window_get_arg),
      	(nautilus_window_set_content_view_widget): Update for BonoboWin ->
      	BonoboWindow change. Once again, the change was done by the Bonobo
      	script (but I had to undo the spaces it ate after BONOBO_WIN).
      
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/time/idl/trilobite-eazel-time-service.idl:
      	* components/services/trilobite/idl/trilobite-service.idl:
      	* components/services/trilobite/sample/idl/sample-service.idl:
      	* libnautilus-adapter/nautilus-adapter-factory.idl:
      	* libnautilus/nautilus-distributed-undo.idl:
      	* libnautilus/nautilus-view-component.idl:
      	Since IDL dependencies don't work, I touched every IDL file to
      	make the switchover smoother. This only works if people update
      	before they try to build and fail, otherwise they need to do:
      		find -name '*.xml' | xargs touch
      	(Maciej and I want to add dependency support to orbit-idl to make
      	this problem go away long term).
      
      	* src/nautilus-desktop-window.c: (realize):
      	The script updated this comment to, so I let it.
      
      	* user-guide/C/Makefile.am: Took out the botched change I made to
      	this file. Mathieu did the correct one.
      a96c73cb
  14. 31 Oct, 2000 1 commit
    • Darin Adler's avatar
      Fixed bug 4144 (Extra Services menu items installed by Summary · 73b181da
      Darin Adler authored
      	view never go away). The problem was actually with the factory
      	code from the sample. I had fixed it a while back, but not before
      	people cloned the broken sample code.
      
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(impl_Nautilus_ComponentAdapterFactory_create_adapter):
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/music/main.c: (music_view_make_object):
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/services/install/nautilus-view/main.c:
      	(service_install_make_object):
      	* components/services/inventory/nautilus-view/main.c:
      	(inventory_make_object):
      	* components/services/login/nautilus-view/main.c:
      	(change_password_make_object):
      	* components/services/summary/nautilus-view/main.c:
      	(summary_make_object):
      	* components/tree/libmain.c: (tree_shlib_make_object):
      	* components/tree/main.c: (tree_exe_make_object):
      	Connect the destroy handler to the NautilusView object rather than
      	to the widget. If you connect to the widget, the handler gets
      	called too early and the control doesn't get properly destroyed,
      	leaving the UI component behind, and causing the bug.
      
      	* components/adapter/main.c: (adapter_factory_make_object): Got
      	rid of incorrect comment.
      73b181da
  15. 25 Oct, 2000 2 commits
    • Darin Adler's avatar
      New set of functions for manipulating a set of case-insensitive strings · afb740a8
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.h:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c: (istr_equal),
      	(istr_hash), (istr_set_new), (istr_set_insert), (add_istr_to_list),
      	(istr_set_get_as_list), (istr_set_destroy): New set of functions
      	for manipulating a set of case-insensitive strings (private for
      	now).
      	(mime_list_cancel): Change to use the istr_set.
      	(get_filter_options_for_directory_count): Moved up so it can be
      	used by the directory load code.
      	(load_directory_done): Common function to use when a load is
      	completed or cancelled.
      	(dequeue_pending_idle_callback): Update file count and MIME list
      	as well as just loading the files.
      	(should_get_directory_count): New cover that takes into account
      	the fact that a directory load is already getting the count.
      	(should_get_mime_list): New cover that takes into account
      	the fact that a directory load is already getting the MIME list.
      	(start_monitoring_file_list): Set up more stuff since a load
      	does a lot more now.
      	(directory_count_start): Don't start a directory count if we are
      	already loading the directory's file list.
      	(mime_list_one), (mime_list_callback), (mime_list_load): Change to
      	use the istr_set. Also removed some code that set variables that
      	were never used.
      	(mime_list_start): Don't start a MIME list if we are already
      	loading the directory's file list.
      
      	* components/adapter/Makefile.am:
      	* components/hardware/Makefile.am:
      	* components/html/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/music/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/login/nautilus-view/Makefile.am:
      	* components/services/nautilus-dependent-shared/Makefile.am:
      	* components/services/summary/lib/Makefile.am:
      	* components/services/summary/nautilus-view/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/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/tree/Makefile.am:
      	* helper-utilities/authenticate/Makefile.am:
      	* nautilus-installer/src/Makefile.am:
      	Changed all use of CPPFLAGS to use INCLUDES instead as it says in
      	the automake documentation.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h: Reformatting.
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_g_hash_table_remove_deep_custom),
      	(nautilus_g_hash_table_remove_deep), (destroy_deep_helper),
      	(nautilus_g_hash_table_destroy_deep_custom): Reformatting.
      afb740a8
    • Darin Adler's avatar
      Update for changes to the BonoboStream class. Also did a thorough code · f1a174c0
      Darin Adler authored
      	* components/adapter/bonobo-stream-vfs.c: (vfs_get_info),
      	(vfs_set_info), (vfs_write), (vfs_read), (vfs_seek), (vfs_copy_to),
      	(vfs_commit), (vfs_revert), (vfs_destroy),
      	(bonobo_stream_vfs_class_init), (bonobo_stream_vfs_open):
      	Update for changes to the BonoboStream class. Also did a thorough code
      	review, fixed some small bugs, and added a bunch of FIXMEs for things
      	that are broken.
      f1a174c0
  16. 23 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      This is Maciej checking in Martin's fix for 3691. Credit to him, · b1d1b652
      Maciej Stachowiak authored
      	blame to me.
      
      	* components/adapter/nautilus-adapter-embed-strategy.h
      	(NautilusAdapterEmbedStrategyClass): Added "activate" and "deactivate"
      	signals.
      	(nautilus_adapter_embed_strategy_get): Removed ui_container argument.
      	(nautilus_adapter_embed_strategy_activate): New function; emits
      	the "activate" signal.
      	(nautilus_adapter_embed_strategy_deactivate): New function; emits
      	the "deactivate" signal.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c
      	(nautilus_adapter_control_embed_strategy_activate): New static function;
      	this is the handler of the "activate" signal.
      	(nautilus_adapter_control_embed_strategy_deactivate): New static function;
      	this is the handler of the "deactivate" signal.
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c
      	(nautilus_adapter_embeddable_embed_strategy_activate): New static function;
      	this is the handler of the "activate" signal.
      	(nautilus_adapter_embeddable_embed_strategy_deactivate): New static function;
      	this is the handler of the "deactivate" signal.
      
      	* components/adapter/nautilus-adapter.c (nautilus_adapter_activate_callback):
      	New static function; connect this to the "activate" signal of the adapter
      	control.
      b1d1b652
  17. 20 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Moved here from libnautilus-extensions; bunches of cleanup to match · cdde1ac4
      Maciej Stachowiak authored
      	* components/adapter/bonobo-stream-vfs.h,
      	components/adapter/bonobo-stream-vfs.c: (vfs_write), (vfs_read),
      	(vfs_seek), (vfs_truncate), (vfs_copy_to), (vfs_close), (vfs_eos),
      	(vfs_length), (bonobo_stream_vfs_class_init),
      	(bonobo_stream_vfs_init), (bonobo_stream_vfs_get_type),
      	(Bonobo_Stream_vfs__create), (bonobo_stream_vfs_new_internal),
      	(bonobo_stream_vfs_open), (bonobo_stream_vfs_new): Moved here from
      	libnautilus-extensions; bunches of cleanup to match nautilus style
      	better.
      
      	* components/adapter/Makefile.am: Added above two files to build.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Up the load chunk.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	Include "bonobo-stream-vfs.h" not
      	<libnautilus-extensions-stream-vfs.h>
      
      	* libnautilus-extensions/bonobo-stream-vfs.c,
      	libnautilus-extensions/bonobo-stream-vfs.h: Removed from here.
      
      	* libnautilus-extensions/Makefile.am: Removed from build.
      cdde1ac4
  18. 06 Oct, 2000 1 commit
    • Mathieu Lacage's avatar
      add VFS_CFLAGS. · c7561531
      Mathieu Lacage authored
      2000-10-06  Mathieu Lacage  <mathieu@eazel.com>
      
      	* components/adapter/Makefile.am: add VFS_CFLAGS.
      c7561531
  19. 05 Oct, 2000 1 commit
    • Darin Adler's avatar
      Cut over to HEAD of Bonobo. This check-in includes all the changes · 2ae47c75
      Darin Adler authored
      	needed to compile and run, but there are many things wrong
      	visually that may take a while to get fixed.
      
      	* src/nautilus-window-menus.c: (file_menu_new_window_callback),
      	(file_menu_close_window_callback),
      	(file_menu_close_all_windows_callback),
      	(file_menu_toggle_find_mode_callback),
      	(file_menu_web_search_callback), (edit_menu_undo_callback),
      	(edit_menu_cut_callback), (edit_menu_copy_callback),
      	(edit_menu_paste_callback), (edit_menu_clear_callback),
      	(go_menu_back_callback), (go_menu_forward_callback),
      	(go_menu_up_callback), (go_menu_home_callback),
      	(go_menu_forget_history_callback), (view_menu_reload_callback),
      	(view_menu_show_hide_sidebar_callback),
      	(view_menu_show_hide_tool_bar_callback),
      	(view_menu_show_hide_location_bar_callback),
      	(view_menu_show_hide_status_bar_callback),
      	(nautilus_window_update_show_hide_menu_items),
      	(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
      	(view_menu_zoom_normal_callback),
      	(bookmarks_menu_add_bookmark_callback),
      	(bookmarks_menu_edit_bookmarks_callback),
      	(user_level_customize_callback), (customize_callback),
      	(change_appearance_callback), (help_menu_about_nautilus_callback),
      	(help_menu_nautilus_feedback_callback), (switch_to_user_level),
      	(user_level_menu_item_callback), (append_placeholder),
      	(append_separator), (append_bookmark_to_menu),
      	(create_menu_item_from_node), (remove_bookmarks_after),
      	(remove_underline_accelerator_from_menu_title),
      	(new_top_level_menu), (add_user_level_menu_item),
      	(nautilus_window_initialize_menus),
      	(nautilus_window_update_find_menu_item),
      	(update_user_level_menu_items), (convert_verb_to_user_level),
      	(convert_user_level_to_verb), (update_preferences_dialog_title):
      	* src/nautilus-window.c: (nautilus_window_clear_status),
      	(nautilus_window_set_status), (install_status_bar),
      	(nautilus_window_constructed), (nautilus_window_set_arg),
      	(nautilus_window_get_arg), (nautilus_window_destroy),
      	(nautilus_window_allow_back), (nautilus_window_allow_forward),
      	(nautilus_window_allow_up), (nautilus_window_allow_reload),
      	(nautilus_window_zoom_level_changed_callback),
      	(nautilus_window_set_content_view_widget), (show_dock_item),
      	(hide_dock_item), (dock_item_showing),
      	(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar),
      	(nautilus_window_tool_bar_showing),
      	(nautilus_window_hide_status_bar),
      	(nautilus_window_show_status_bar),
      	(nautilus_window_status_bar_showing):
      	Convert to new API. Some is disabled with #ifdef UIH.
      
      	* Makefile.am:
      	* configure.in:
      	Turned off build of the idl directory, build components after src.
      
      	* components/adapter/main.c:
      	* components/notes/nautilus-notes.c:
      	* components/sample/main.c:
      	* libnautilus-extensions/nautilus-font-picker.c:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	* libnautilus/nautilus-undo.c:
      	* src/nautilus-application.c:
      	* src/nautilus-history-frame.c:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-main.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-zoomable-frame-corba.c:
      	* test/test-nautilus-font-picker.c:
      	* test/test-nautilus-image.c: (create_font_picker_frame):
      	* test/test-nautilus-label.c: (create_font_picker_frame):
      	* test/test-nautilus-preferences.c:
      	* test/test-nautilus-widgets.c: (radio_group_load_it_up):
      	Fixed includes.
      
      	* test/test-nautilus-image.c: (create_font_picker_frame):
      	* test/test-nautilus-label.c: (create_font_picker_frame):
      	* test/test-nautilus-widgets.c: (radio_group_load_it_up):
      	Turned off localization of some strings in tests.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_new):
      	* components/adapter/nautilus-adapter-control-embed-strategy.h:
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_get):
      	* components/adapter/nautilus-adapter-embed-strategy.h:
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.h:
      	Embedding code now deals with Bonobo_UIContainer, not
      	Bonobo_UIHandler.
      
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	This code not only had to be changed to deal with the
      	Bonobo_UIContainer instead of Bonobo_UIHandler, but it also needed
      	to deal with the containing item (was remote_ui_handler), not the
      	local component.
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter.c:
      	BonoboContainer was renamed BonoboItemContainer.
      
      	* components/history/nautilus-history-view.c:
      	Remove unused BonoboUIHandler * field.
      
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/sample/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	Added the necessary defines and build rules to install ui.xml
      	files and locate them from the C code.
      
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/file-manager/nautilus-icon-view-ui.xml:
      	* src/file-manager/nautilus-search-list-view-ui.xml:
      	* src/nautilus-shell-ui.xml:
      	Added definitions of user interface.
      
      	* components/loser/content/nautilus-content-loser-ui.xml:
      	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
      	* components/mozilla/nautilus-mozilla-ui.xml:
      	* components/sample/nautilus-sample-content-view-ui.xml:
      	Added empty placeholders for user interface.
      
      	* components/loser/content/nautilus-content-loser.c:
      	(loser_merge_bonobo_items_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(loser_merge_bonobo_items_callback):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_merge_bonobo_items_callback):
      	* components/sample/nautilus-sample-content-view.c:
      	(sample_merge_bonobo_items_callback):
      	Use nautilus_view_set_up_ui to get the user interface from a
      	ui.xml file. Put #ifdef UIH around old code to make the items work
      	that still needs to be visited.
      
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	* libnautilus-extensions/nautilus-bonobo-extensions.h:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
      	(remove_menu_items_callback),
      	(nautilus_clipboard_set_up_editable_from_bonobo_control):
      	* libnautilus/nautilus-clipboard.h:
      	Wrapped code in ifdef UIH to disable it until it can be converted
      	to the new Bonobo.
      
      	* libnautilus-extensions/nautilus-caption-table.h:
      	* libnautilus-extensions/nautilus-caption.h:
      	* libnautilus-extensions/nautilus-font-picker.h:
      	* libnautilus-extensions/nautilus-preferences-group.h:
      	* libnautilus-extensions/nautilus-preferences-item.h:
      	* libnautilus-extensions/nautilus-radio-button-group.h:
      	* src/nautilus-about.h:
      	Got rid of any cases where headers include the omnibus header
      	<gnome.h>. These made the conversion process harder, which is why
      	we fixed them.
      
      	* libnautilus/libnautilus.h:
      	Got rid of cases where headers include the omnibus header
      	<bonobo.h>.
      
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c: (nautilus_view_set_up_ui):
      	Added a helper function to make it easy for Nautilus components to
      	load their UI and get it attached to the Nautilus:View object.
      
      	* nautilus.spec.in: Install the nautilus-*-ui.xml files too.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_select_all_callback),
      	(bonobo_menu_empty_trash_callback),
      	(bonobo_control_activate_callback): Convert to new API.
      	(fm_directory_view_get_bonobo_ui_container): Name and purpose
      	changed slightly for new API.
      	(fm_directory_view_real_merge_menus): Merge with new API.
      	(fm_directory_view_real_update_menus): Disabled this code for now.
      
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy): Destroy
      	icon view's own component at destroy time.
      	(context_menu_layout_radio_item_callback),
      	(append_one_context_menu_layout_item),
      	(fm_icon_view_create_background_context_menu_items),
      	(update_layout_menus): Convert to new API, disable some with
      	#ifdef UIH.
      	(get_sort_criterion_by_verb),
      	(set_sort_criterion_by_verb), (sort_callback): Convert to new API.
      	(fm_icon_view_merge_menus): Merge with new API, creating our own
      	UI component separate from the directory view's.
      	(fm_icon_view_update_menus): Disable with #ifdef UIH.
      
      	* src/file-manager/fm-search-list-view.h:
      	* src/file-manager/fm-search-list-view.c:
      	(fm_search_list_view_initialize_class),
      	(fm_search_list_view_initialize), (real_destroy),
      	(indexing_info_callback), (real_merge_menus), (real_update_menus):
      	Add code necessary to use a separate UI component, and disabled
      	the actual menu set-up code with #ifdef UIH. This required adding
      	a details struct.
      
      	* src/nautilus-desktop-window.c: (realize): Turned off the code
      	that hides the desktop elements.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
      	(nautilus_view_frame_new), (nautilus_view_frame_load_client):
      	* src/nautilus-window-manage-views.c: (load_content_view),
      	(nautilus_window_set_sidebar_panels):
      	Change to use Bonobo_UIContainer instead of Bonobo_UIHandler.
      
      	* src/nautilus-window-toolbars.c: (remember_buttons),
      	(nautilus_window_initialize_toolbars): Leave this code around and
      	change it enough to compile and run, even though it's creating a
      	second, invisible toolbar.
      
      	* src/nautilus-window.h: Change to be a BonoboWin subclass instead
      	of a GnomeApp subclass.
      2ae47c75
  20. 04 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Filed bugs for some FIXMEs · 1f04158c
      Maciej Stachowiak authored
      	* check-THANKS.pl,
      	components/adapter/nautilus-adapter-progressive-load-strategy.c,
      	components/adapter/nautilus-adapter-stream-load-strategy.c,
      	src/nautilus-view-frame.c: Filed bugs for some FIXMEs
      1f04158c
  21. 03 Oct, 2000 1 commit
    • Maciej Stachowiak's avatar
      Fixed bug 3223. · 10b8bae1
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_new),
      	(nautilus_adapter_file_load_strategy_load_location):
      	* components/adapter/nautilus-adapter-file-load-strategy.h:
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_initialize_class),
      	(nautilus_adapter_load_strategy_get),
      	(nautilus_adapter_load_strategy_stop_loading),
      	(nautilus_adapter_load_strategy_report_load_underway),
      	(nautilus_adapter_load_strategy_report_load_progress),
      	(nautilus_adapter_load_strategy_report_load_complete),
      	(nautilus_adapter_load_strategy_report_load_failed):
      	* components/adapter/nautilus-adapter-load-strategy.h:
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_destroy),
      	(nautilus_adapter_progressive_load_strategy_new), (stop_loading),
      	(nautilus_adapter_progressive_load_strategy_load_location),
      	(nautilus_adapter_progressive_load_strategy_stop_loading):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.h:
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_new),
      	(nautilus_adapter_stream_load_strategy_load_location):
      	* components/adapter/nautilus-adapter-stream-load-strategy.h:
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy), (nautilus_adapter_new),
      	(nautilus_adapter_load_underway_callback),
      	(nautilus_adapter_load_progress_callback),
      	(nautilus_adapter_load_complete_callback),
      	(nautilus_adapter_load_failed_callback): Changed the load
      	strategies to no longer depend on the view; instead, they emit
      	appropriate signals at different stages of progress, which the
      	NautilusAdapter object hooks into (connecting with
      	_connect_object_while_alive). Also, the progressive load strategy
      	now checks for cancellation around various CORBA calls, so it
      	should actually respect the stop button.
      
      	* AUTHORS, THANKS, check-THANKS.pl: Updated Josh Barrow's email
      	address.
      10b8bae1
  22. 27 Sep, 2000 1 commit
    • Darin Adler's avatar
      Fix more storage leaks. · e8af12ac
      Darin Adler authored
      	* components/tree/nautilus-tree-node.c: (nautilus_tree_node_new):
      	Get rid of extra allocation of node->details that caused a storage
      	leak.
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_insert_model_node): Add a g_free.
      	(free_uri_to_node_map_entry), (free_uri_to_hack_node_map_entry),
      	(nautilus_tree_view_destroy): Free the keys of the hash table.
      	(tree_expand_callback), (tree_collapse_callback),
      	(tree_select_row_callback): Added missing g_free.
      	(nautilus_tree_view_item_at): Removed an excess g_strdup.
      	* libnautilus-extensions/nautilus-preference.c:
      	(preference_initialize_if_needed): Destroy the global preference
      	table on exit.
      	(preference_hash_node_free_func): Free the hash key as well as
      	the node value.
      	(preference_register): Use strdup on keys as then are entered
      	into the hash table.
      	(preference_hash_node_lookup_with_registration): Remove the strdup
      	in here since preference_register now handles it.
      	(destroy_global_preference_table): Renamed and simplified the
      	existing unused function.
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_destroy), (free_volume): Free the volume
      	itself, not just the fields within it.
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_get_location): Added a missing
      	g_free.
      	* src/nautilus-sidebar-tabs.c: (tab_item_destroy_cover),
      	(nautilus_sidebar_tabs_destroy): Free the tab items too, not just
      	the list they are stored in.
      	* src/nautilus-switchable-search-bar.c:
      	(search_bar_preference_changed_callback): Added a missing g_free.
      
      	* libnautilus-extensions/nautilus-theme.c: (free_default_theme),
      	(nautilus_theme_get_theme_data): Add code to free the default
      	theme on program exit to make leak detection easier.
      	* src/nautilus-main.c: (main): Clean up the memory used by the XML
      	parser on exit to make leak detection easier.
      
      	* libnautilus/Makefile.am:
      	* libnautilus/nautilus-bonobo-workarounds.c:
      	* libnautilus/nautilus-bonobo-workarounds.h:
      	Added version of bonobo_object_get_epv that shares a single global
      	instance instead of allocating a new one each time it's called.
      
      	* components/adapter/nautilus-adapter-factory-server.c:
      	(impl_Nautilus_ComponentAdapterFactory__create):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_vfs_class_init):
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__create):
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(nautilus_undo_manager_initialize_class):
      	* libnautilus/nautilus-undo-transaction.c:
      	(impl_Nautilus_Undo_Transaction__create):
      	* libnautilus/nautilus-view.c: (impl_Nautilus_View__create):
      	* src/nautilus-history-frame.c:
      	(impl_Nautilus_HistoryFrame__create):
      	* src/nautilus-shell.c: (nautilus_shell_get_vepv):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame__create):
      	* src/nautilus-zoomable-frame-corba.c:
      	(impl_Nautilus_ZoomableFrame__create):
      	Use the new cover for bonobo_object_get_epv to avoid
      	making lots of copies of it.
      
      	* src/nautilus-window-menus.c: (get_user_level_image): Formatting
      	tweak.
      
      	* tools/leak-checker/nautilus-leak-checker.c: Added more "known to
      	allocate and not free on exit" functions.
      e8af12ac
  23. 26 Sep, 2000 1 commit
    • Darin Adler's avatar
      Fixed bug bug 3264 (Tree view shows no branches for directories, · 2cd5440e
      Darin Adler authored
      	...HACK... nodes visible), bug 3290 (changing directory or
      	refreshing causes Gdk to assert), bug 2420 (Need to free original
      	key when removing model node), and other assorted problems.
      
      	* components/tree/nautilus-tree-view.c: (insert_hack_node),
      	(remove_hack_node), (nautilus_tree_view_insert_model_node):
      	Fix problem where the hash table key was neither g_strdup'd on the
      	way in, nor g_free'd on the way out. This caused all the problems
      	with bad nesting in the tree view.
      
      	* nautilus-installer/src/installer.c: (create_pixmap):
      	* src/file-manager/fm-list-view.c: (install_row_images):
      	* src/nautilus-theme-selector.c: (add_theme):
      	Added more checks for NULL before calling gdk_bitmap_unref.
      
      	* src/file-manager/fm-directory-view.c: (no_items_showing):
      	Fixed a NautilusDirectory ref. count leak.
      
      	* libnautilus-extensions/nautilus-font-factory.c:
      	(unref_global_font_factory), (nautilus_get_current_font_factory):
      	Unref the font factory on exit.
      	(nautilus_font_factory_initialize_class), (font_hash_node_free),
      	(free_one_hash_node), (destroy): Added code to actually destroy
      	the font factory.
      	(unref_fixed_font), (nautilus_font_factory_get_fallback_font):
      	Unref the fixed font on exit.
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(unref_global_volume_monitor), (nautilus_volume_monitor_get):
      	Unref the volume monitor on exit.
      	* src/nautilus-signaller.c: (unref_global_signaller),
      	(nautilus_signaller_get_current): Unref the signaller on exit.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_initialize): Replaced some
      	strange FIXMEs with a simpler one.
      	(nautilus_component_adapter_factory_destroy): Fix a CORBA object
      	reference leak.
      	(nautilus_component_adapter_factory_get): Did a ref/sink.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_new):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter-file-load-strategy.c:
      	(nautilus_adapter_file_load_strategy_new):
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	(nautilus_adapter_progressive_load_strategy_new):
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_new):
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	* components/rpmview/nautilus-rpm-verify-window.c:
      	(nautilus_rpm_verify_window_new):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_new), (eazel_install_new_with_config):
      	* components/services/time/service/trilobite-eazel-time-service.c:
      	(trilobite_eazel_time_service_new):
      	* components/services/trilobite/libtrilobite/trilobite-service-pass
      	wordquery.c: (trilobite_passwordquery_new):
      	* components/services/trilobite/libtrilobite/trilobite-service.c:
      	(trilobite_service_new):
      	* components/tree/nautilus-tree-expansion-state.c:
      	(nautilus_tree_expansion_state_new):
      	* components/tree/nautilus-tree-model.c: (nautilus_tree_model_new):
      	* components/tree/nautilus-tree-node.c: (nautilus_tree_node_new):
      	* cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new):
      	* cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_create):
      	* libnautilus-extensions/nautilus-any-width-bin.c:
      	(nautilus_any_width_bin_new):
      	* libnautilus-extensions/nautilus-background.c:
      	(nautilus_background_new):
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new_with_icon):
      	* libnautilus-extensions/nautilus-caption-table.c:
      	(nautilus_caption_table_new):
      	* libnautilus-extensions/nautilus-caption.c:
      	(nautilus_caption_new):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_new):
      	* libnautilus-extensions/nautilus-druid-page-eazel.c:
      	(nautilus_druid_page_eazel_new),
      	(nautilus_druid_page_eazel_new_with_vals):
      	* libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new):
      	* libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new):
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	(nautilus_file_operations_progress_new):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_new_from_name), (nautilus_file_new_from_info):
      	* libnautilus-extensions/nautilus-font-picker.c:
      	(nautilus_font_picker_new):
      	* libnautilus-extensions/nautilus-horizontal-splitter.c:
      	(nautilus_horizontal_splitter_new):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_new):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_icon_factory):
      	* libnautilus-extensions/nautilus-image.c: (nautilus_image_new):
      	* libnautilus-extensions/nautilus-keep-last-vertical-box.c:
      	(nautilus_keep_last_vertical_box_new):
      	* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_new):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_new_with_titles):
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	(nautilus_password_dialog_new):
      	* libnautilus-extensions/nautilus-preference.c:
      	(nautilus_preference_new_from_type):
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_new):
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	(nautilus_preferences_dialog_new):
      	* libnautilus-extensions/nautilus-preferences-group.c:
      	(nautilus_preferences_group_new):
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	(nautilus_preferences_item_new):
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	(nautilus_preferences_pane_new):
      	* libnautilus-extensions/nautilus-radio-button-group.c:
      	(nautilus_radio_button_group_new):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(nautilus_scalable_font_new):
      	* libnautilus-extensions/nautilus-string-picker.c:
      	(nautilus_string_picker_new):
      	* libnautilus-extensions/nautilus-text-caption.c:
      	(nautilus_text_caption_new):
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(nautilus_undo_context_new):
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(nautilus_undo_manager_new):
      	* libnautilus-extensions/nautilus-user-level-manager.c:
      	(user_level_manager_new):
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_new):
      	* libnautilus/nautilus-view.c:
      	(nautilus_view_new_from_bonobo_control):
      	* src/file-manager/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_get):
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-property-browser.c: (nautilus_property_browser_new):
      	* src/nautilus-shell.c: (nautilus_shell_new):
      	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu),
      	(nautilus_sidebar_new):
      	* src/nautilus-theme-selector.c: (nautilus_theme_selector_new):
      	* src/nautilus-throbber.c: (nautilus_throbber_new):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_new):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_new):
      	* src/nautilus-about.c: (nautilus_about_new):
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_create_window):
      	* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new):
      	After Tim Janik explained that gtk_type_new is a low-level call to
      	be avoided, changed most uses of gtk_type_new to gtk_object_new or
      	gtk_widget_new. Also, after Owen and Havoc explained that you
      	can't just ignore the floating bit, added ref/sink calls to the
      	functions used to create objects where we don't use the floating
      	scheme.
      
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_button_press_event): Take advantage of the
      	fact that the new menu is floating and don't bother with ref'ing.
      
      	* libnautilus-extensions/nautilus-ctree.c:
      	(nautilus_ctree_new_with_titles):
      	Added a cast.
      
      	* components/adapter/main.c: (adapter_factory_make_object):
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(eazel_install_callback_get_type), (eazel_install_callback_new):
      	* libnautilus-extensions/nautilus-theme.c:
      	(nautilus_theme_get_theme), (nautilus_theme_set_theme),
      	(nautilus_theme_get_theme_data):
      	Whitespace tweaks.
      2cd5440e
  24. 23 Sep, 2000 1 commit
    • Maciej Stachowiak's avatar
      Register all the below components per display. I didn't make · dd548718
      Maciej Stachowiak authored
      	nautilus per-display yet (to avoid dealing with the locking
      	issues, etc). I also did not change the services components that
      	appear to be non-gui to operate per-display.
      
      	I believe this fixes bugs 3033 and 2237.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/history/nautilus-history-view.c: (main):
      	* components/html/ntl-web-browser.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_bonobo_image_generic_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/sample/main.c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/inventory/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/services/time/nautilus-view/main.c: (main):
      	* components/services/trilobite/sample/service/main.c: (main):
      	* components/shell/shell.c: (shell_factory_init):
      	* components/tree/main.c: (main):
      	* components/websearch/ntl-web-search.c: (main): Register each of
      	these per-display.
      dd548718
  25. 20 Sep, 2000 7 commits
    • Darin Adler's avatar
      Make the tinderbox a bit happier by mentioning some files that were · cc330a42
      Darin Adler authored
      	* components/adapter/Makefile.am:
      	* cut-n-paste-code/freetype/Makefile.am: Make the tinderbox a bit
      	happier by mentioning some files that were missing from these
      	makefiles.
      cc330a42
    • Darin Adler's avatar
      Fixed compiling with newer gcc. Freetype was trying to use token pasting · e2aaa07e
      Darin Adler authored
      	* cut-n-paste-code/freetype/ftdebug.h: Fixed compiling with newer
      	gcc. Freetype was trying to use token pasting to attach the name
      	of a function (FTMessage) onto the parameters to that
      	function. There's no need to attempt this, and it's incorrect. I
      	removed the token pasting attempt. Perhaps Raph should get this
      	rolled back into the main freetype soruces.
      
      	* libnautilus-extensions/bonobo-stream-vfs.c: Cleaned up the code
      	a bit to match Nautilus coding style and remove some redundant
      	stuff.
      
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_update_icon): Fixed a place where we unref the
      	old value before ref'ing the new one. It's not really a bug, but
      	it's a good habit to ref the new value first. Ran into this when
      	I started looking for NautilusScalableIcon leaks.
      e2aaa07e
    • Maciej Stachowiak's avatar
      Finally fixed bug 1994; in the process I think I also ended up · c70683fe
      Maciej Stachowiak authored
      	fixing 2576, 2577, 2578, 2579 and 2580.
      
      	* components/adapter/nautilus-adapter-embed-strategy.h,
      	components/adapter/nautilus-adapter-embed-strategy.c: Abstract
      	interface for embedding various kinds of Bonobo components.
      	* components/adapter/nautilus-adapter-embed-strategy-private.h:
      	Header inclusing a `protected' call to emit a signal.
      	* components/adapter/nautilus-adapter-control-embed-strategy.h,
      	components/adapter/nautilus-adapter-control-embed-strategy.c:
      	Concrete subclass for embedding a Control.
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.h,
      	components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	Concrete subclass for embedding an Embeddable.
      	* components/adapter/Makefile.am: Add new files.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(nautilus_adapter_progressive_load_strategy_load_location): Fixed
      	incorrect GnomeVFSFIleInfo handling and removed a printf.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c:
      	(nautilus_adapter_stream_load_strategy_load_location,
      	nautilus_adapter_stream_load_strategy_stop_loading): Removed print
      	statements.
      
      	* components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy): Free stuff.
      
      	(nautilus_adapter_new): Use the new embed strategy stuff.
      
      	(nautilus_adapter_open_location_callback): callback for signal
      	handler attached to embed strategy.
      
      	* src/nautilus-view-frame-bonobo-control.c,
      	src/nautilus-view-frame-bonobo-embeddable.c: Removed.
      	* src/nautilus-view-frame-private.h, src/Makefile.am: Remove
      	mentions of the two preceding files.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_load_client): Use
      	the adapter to host non-nautilus-native components.
      
      	* nautilus-clean.sh: Added image view.
      c70683fe
    • Maciej Stachowiak's avatar
      Handle GNOME_VFS_ERROR_EOF correctly. · aeaf819c
      Maciej Stachowiak authored
      	* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Handle
      	GNOME_VFS_ERROR_EOF correctly.
      aeaf819c
    • Maciej Stachowiak's avatar
      Another uninitialized variable. Another uninitialized variable. Thanks to · 82562d0f
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-file-load-strategy.c
      	(nautilus_adapter_file_load_strategy_destroy): Another
      	uninitialized variable.
      	* components/adapter/nautilus-adapter-stream-load-strategy.c
      	(nautilus_adapter_stream_load_strategy_destroy): Another
      	uninitialized variable. Thanks to Will LaShell for pointing these
      	out.
      82562d0f
    • Maciej Stachowiak's avatar
      Fix unuinitialized variable use (thanks to Will LaShell). · 6ceacfac
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c
      	(nautilus_adapter_progressive_load_strategy_destroy): Fix
      	unuinitialized variable use (thanks to Will LaShell).
      6ceacfac
    • Maciej Stachowiak's avatar
      More work towards fixing bug 1994; in the process I think I might · 3b9d7401
      Maciej Stachowiak authored
      	also end up fixing 2576, 2577, 2578 and 2579 (might also end up
      	fixing 2580 later).
      
      	* components/adapter/Makefile.am:
      
      	* components/adapter/nautilus-adapter-load-strategy.h,
      	components/adapter/nautilus-adapter-load-strategy.c: Abstract
      	class that gives the interface for loading up a component that
      	presents some particular interface.
      
      	* components/adapter/nautilus-adapter-file-load-strategy.h,
      	components/adapter/nautilus-adapter-file-load-strategy.c:
      	Concrete subclass for loading a component that has the
      	Bonobo::PersistFile interface.
      
      	* components/adapter/nautilus-adapter-progressive-load-strategy.h,
      	components/adapter/nautilus-adapter-progressive-load-strategy.c:
      	Concrete subclass for loading a component that has the
      	Bonobo::ProgressiveDataSink interface.
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c,
      	components/adapter/nautilus-adapter-stream-load-strategy.h:
      	Concrete subclass for loading a component that has the
      	Bonobo::PersistStream interface.
      
      	* components/adapter/nautilus-adapter.h,
      	components/adapter/nautilus-adapter.c:
      	(nautilus_adapter_destroy, nautilus_adapter_new,
      	nautilus_adapter_load_location_callback,
      	nautilus_adapter_stop_loading_callback): Use load strategies.
      
      	* libnautilus-extensions/bonobo-stream-vfs.c (vfs_read): Minor
      	formatting correction.
      3b9d7401
  26. 17 Sep, 2000 1 commit
    • Maciej Stachowiak's avatar
      More work towards bug 1994. I'm not yet checking in the code to · 5ab8a426
      Maciej Stachowiak authored
      	actually use the adapter yet, but it sort of works on my system.
      
      	* nautilus-clean.sh: Added nautilus-adapter
      
      	* components/adapter/main.c (main): Do the stop in debugger
      	trick. Also, initialize gnome-vfs (and threads). Duh!
      
      	* components/adapter/nautilus-adapter-factory-server.c
      	(impl_Nautilus_ComponentAdapterFactory_create_adapter):
      	CORBA_Object_duplicate the object reference we return, because
      	CORBA's just cool like that.
      
      	* components/adapter/nautilus-adapter.c
      	(nautilus_adapter_new): Show me the widgets, Lebowski. That's
      	right, a few missing gtk_widget_show calls were the only bugs in
      	this hairy mess of CORBA/Bonobo code (well, other than the obvious
      	resource leaks).
      
      	* components/adapter/nautilus-adapter.oafinfo: Updated to match
      	reality.
      
      	* libnautilus-extensions/nautilus-icon-factory.c
      	(vfs_file_exists, nautilus_make_directory_and_parents,
      	make_thumbnail_path, nautilus_icon_factory_get_thumbnail_uri,
      	check_for_thumbnails): Put FIXMEs for a bunch of synchronous I/O
      	that is making it a pain in the ass to test 1994.
      
      	* src/nautilus-component-adapter-factory.c:
      	Fill in the right IID.
      	(nautilus_component_adapter_factory_initialize): Allocate the details.
      	(nautilus_component_adapter_factory_create_adapter): Return the
      	actual adapted view, not CORBA_OOBJECT_BIL (hello?).
      
      	* src/nautilus-main.c (main): Add "ORBit" log domain to ones that
      	stop in the debugger.
      5ab8a426
  27. 16 Sep, 2000 1 commit
    • Maciej Stachowiak's avatar
      More work towards 1994: · a7f2c64d
      Maciej Stachowiak authored
      	* components/adapter/nautilus-adapter-factory-server.h,
      	components/adapter/nautilus-adapter-factory-server.c:
      	(nautilus_adapter_factory_server_initialize,
      	nautilus_adapter_factory_server_destroy): minor cleanups
      	(impl_Nautilus_ComponentAdapterFactory_create_adapter): Actually
      	create some objects.
      	(adapter_object_destroyed): Watch for object destruction, for
      	factory lifecycle management purposes.
      
      	* components/adapter/nautilus-adapter.h,
      	components/adapter/nautilus-adapter.c: Initial implementation of
      	class that does the actual adapting. For now, it only handles
      	Embeddables that take input via PersistStream. Later I will apply
      	the Strategy pattern to virtualize visual embedding (Control
      	vs. Embeddable) and loading (PersistStream vs. PersistFile
      	vs. ProgressiveDataSink) (and fix some missing bits in the
      	embedding virtualization).
      
      	* components/adapter/Makefile.am: Build the new files.
      a7f2c64d
  28. 15 Sep, 2000 2 commits
    • Darin Adler's avatar
      Another try at fixing the Tinderbox. · 4c197a23
      Darin Adler authored
      	* po/POTFILES.in: Removed files that are not in Makefile.am,
      	since they won't be in the tarball/RPM.
      
      	* check-POTFILES.pl: Added a new script to check for files that
      	are mentioned in POTFILES.in, but not in the Makefile.am files.
      	* check-headers-in-Makefile.pl: Fixed to use SUBDIRS instead of
      	looking for all Makefile.am files.
      
      	* components/adapter/.cvsignore: Listed generated files.
      4c197a23
    • Maciej Stachowiak's avatar
      Some work towards 1994. · c270eb72
      Maciej Stachowiak authored
      	* libnautilus-adapter/nautilus-adapter-factory.idl: Changed
      	`object' argument to `component'.
      	* configure.in: Generate Makefile for components/adapter
      	directory.
      	* components/Makefile.am: Add adapter subdir to build.
      
      	* components/adapter/Makefile.am, components/adapter/main.c,
      	components/adapter/nautilus-adapter-factory-server.c,
      	components/adapter/nautilus-adapter-factory-server.h,
      	components/adapter/nautilus-adapter.oafinfo: Skeleton for the
      	adapter component.
      c270eb72