1. 23 Feb, 2001 3 commits
    • 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
    • J Shane Culpepper's avatar
      Adding newline to make my compiler happy. · b67dd0cb
      J Shane Culpepper authored
      2001-02-22  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/help/test-help-method.c: (main):
      
      	Adding newline to make my compiler happy.
      b67dd0cb
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · c4e21249
      John Harper authored
      2001-02-22  John Harper  <jsh@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	Partially fixed bug 6863 (tree view slow to load):
      
      	* libnautilus-extensions/nautilus-ctree.c (set_node_info):
      	don't sort each node in auto-sort mode
      	(nautilus_ctree_set_node_info): sort each node in auto-sort
      	mode, but use the function that only sorts a single node, not
      	the entire branch
      
      	* components/tree/nautilus-tree-view.c
      	(nautilus_tree_view_insert_model_node): temporarily turn off
      	auto-sort mode while inserting nodes (do this by twiddling the
      	bit by hand, since the function to set this flag automatically
      	sorts the tree)
      c4e21249
  2. 22 Feb, 2001 13 commits
    • Michael Fleming's avatar
      Bug 6761: promote html help uris in the {gnome-,g,}help · e91b1f3d
      Michael Fleming authored
      	uri scheme to point to sgml files if they exist
      
      	* components/help/Makefile.am:
      	* components/help/help-method.c: (string_ends_in),
      	(strdup_string_to_substring_end), (check_sgml_promotion),
      	(help_name_to_local_path), (transform_file), (help_do_transform):
      	* components/help/test-help-method.c: (test_failed),
      	(strcmp_tolerate_nulls), (test_uri_transform), (main):
      e91b1f3d
    • Robey Pointer's avatar
      reviewed by: Eskil Heyn Olsen <eskil@eazel.com> · 293ae8b1
      Robey Pointer authored
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_install_failed), (impl_uninstall_failed):
      
      	Change direct casts to GtkObject-style casts.
      
      	* components/services/install/nautilus-view/forms.c:
      	(make_query_box):
      
      	Vera'fy the installer text.
      
      	* nautilus-installer/install-lib/Makefile.am:
      	* nautilus-installer/src/Makefile.am:
      	* nautilus-installer/src/create-eazel-installer.sh:
      
      	Cause installer to be built with -g -O2, and to notice a debug
      	build and not strip the binary.
      
      	* nautilus-installer/src/installer.c: (report_unusual_errors),
      	(install_failed), (uninstall_failed), (download_failed),
      	(install_done):
      	* nautilus-installer/src/installer.h:
      
      	Remove crufted error-tree parsing code (install lib does this for
      	us now).  Notice when any install or download fails, and treat
      	that as an overall failure, even if install_done is called with
      	success = TRUE.
      
      	* nautilus-installer/src/main.c: (segv_handler), (main):
      
      	Catch more signals, but only in debug mode.
      
      	* nautilus-installer/src/package-tree.c:
      
      	Remove references to nonexistent icons.
      293ae8b1
    • Ian McKellar's avatar
      reviewed by: Eskil Heyn Olsen <eskil@eazel.com> · 40781c05
      Ian McKellar authored
      2001-02-22  Ian McKellar  <ian@eazel.com>
      
              reviewed by: Eskil Heyn Olsen  <eskil@eazel.com>
      
              * components/services/install/command-line/eazel-test-packsys.c:
              (test_database_mtime), (main):
              * components/services/install/lib/eazel-package-system-dpkg.c:
              (load_package_callback), (query_callback),
              (eazel_package_system_dpkg_query),
              (eazel_package_system_dpkg_install),
              (eazel_package_system_dpkg_compare_version),
              (eazel_package_system_dpkg_database_mtime),
              (eazel_package_system_implementation):
              * components/services/install/lib/eazel-package-system-private.h:
              * components/services/install/lib/eazel-package-system-rpm3-private
              .h:
              * components/services/install/lib/eazel-package-system-rpm3.c:
              (eazel_package_system_rpm3_database_mtime),
              (eazel_package_system_implementation):
              * components/services/install/lib/eazel-package-system-rpm4.c:
              (eazel_package_system_implementation):
              * components/services/install/lib/eazel-package-system-skeleton.c:
              (eazel_package_system_skeleton_compare_version):
              * components/services/install/lib/eazel-package-system.c:
              (eazel_package_system_database_mtime):
              * components/services/install/lib/eazel-package-system.h:
              Added a function to retrieve the package database modification time.
      
              * components/services/inventory/eazel-inventory-collect-hardware.c:
              (eazel_inventory_collect_scsi), (eazel_inventory_collect_hardware):
              Cleanups, fixes...
      
              * components/services/inventory/eazel-inventory-utils.c:
              (get_software_inventory), (eazel_create_configuration_metafile):
              Cache the software inventory (because the RPM query is slow).
      
              * user-guide/C/Makefile.am:
              Build fix for systems without scrollkeeper.
      40781c05
    • Michael Fleming's avatar
      Embedded Mozilla User Agent string "Nautilus/1.0PR3" -> "Nautilus/1.0Final" · c217952b
      Michael Fleming authored
      	Trilobite version "0.2.0" -> "0.3.0" (so Trilobite user agent string
      	is now "Trilobite/0.3.0"
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(post_widget_initialize):
      	* components/services/trilobite/libtrilobite/Makefile.am:
      c217952b
    • J Shane Culpepper's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · c8bed654
      J Shane Culpepper authored
      2001-02-22  J Shane Culpepper  <pepper@eazel.com>
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	* components/mozilla/Makefile.am:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_title_changed_callback), (mozilla_js_status_callback),
      	(mozilla_get_containing_window), (mozilla_new_window_callback):
      
      	Catch mozilla or javascript trying to open a new window and
      	post a nautilus warning dialog that they are not supported.
      	Fix for bug #3058.  Still needs better a  worded warning message.
      c8bed654
    • Mike Engber's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 9b82fd79
      Mike Engber authored
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	* components/notes/nautilus-notes.c:
      	(on_text_field_focus_out_event), (make_notes_view):
      	Save notes on focus out - bug 6851.
      9b82fd79
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 21173338
      John Sullivan authored
      	Fixed bug 3321 (Finalize contents of Help menu for 1.0).
      	Actually there's still an open issue about the Customer
      	Service item, which I've left in for now.
      
      	* src/nautilus-shell-ui.xml: Added Quick Reference, removed
      	License, put About last after a separator.
      
      	* src/nautilus-window-menus.c:
      	(help_menu_nautilus_quick_reference_callback): New callback.
      	(help_menu_nautilus_license_callback): Removed this.
      	(nautilus_window_initialize_menus): Install callback for
      	Quick Reference, remove for License.
      
      
      	Also removed the space from "tool bar" everywhere, per the
      	final decision of Vera & Rhoda. I grepped and replaced
      	everywhere for "tool bar", "Tool Bar", "TOOL_BAR", and
      	"tool_bar".
      
      	* components/loser/content/nautilus-content-loser-ui.xml:
      	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
      	* components/mozilla/bonobo-extensions.c:
      	* components/sample/nautilus-sample-content-view-ui.xml:
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_descriptions),
      	(global_preferences_install_defaults),
      	(global_preferences_install_visibility),
      	(global_preferences_create_dialog):
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* src/nautilus-service-ui.xml:
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-menus.c:
      	(view_menu_show_hide_toolbar_callback),
      	(nautilus_window_update_show_hide_menu_items),
      	(help_menu_nautilus_quick_reference_callback),
      	(nautilus_window_initialize_menus):
      	* src/nautilus-window-toolbars.c: (set_up_special_bonobo_button),
      	(set_up_toolbar_images), (theme_changed_callback),
      	(set_up_back_or_forward_toolbar_item),
      	(nautilus_window_initialize_toolbars):
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_hide_toolbar), (nautilus_window_show_toolbar),
      	(nautilus_window_toolbar_showing), (nautilus_window_show):
      	* src/nautilus-window.h:
      	Made toolbar one word.
      21173338
    • Ramiro Estrugo's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · f2453a7d
      Ramiro Estrugo authored
      	* components/mozilla/nautilus-mozilla-encoding-tables.c:
      	No need to have 2 strings.  Use an array of just one string.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_view_create_charset_encoding_submenu):
      	Replace assertion with a more robust check for NULL.
      
      
      	reviewed by: Seth Nickell <seth@eazel.com>
      
      	* applets/preferences-applet/nautilus-preferences-applet.c:
      	(quit_nautilus_button_clicked_callback),
      	(start_nautilus_button_clicked_callback),
      	(restart_nautilus_button_clicked_callback),
      	(exit_button_clicked_callback), (main):
      	Add a exit button for the applet itself.  Renamed nautilus remote
      	callbacks to be clearer.
      
      	* libnautilus-extensions/nautilus-art-extensions.h:
      	* libnautilus-extensions/nautilus-art-extensions.c:
      	(nautilus_art_irect_is_valid),
      	(nautilus_self_check_art_extensions): New functions and tests for
      	checking whether a rectangle is valid.
      
      	* libnautilus-extensions/nautilus-glyph.h: Use int instead
      	of guint everywhere.
      	* libnautilus-extensions/nautilus-glyph.c: (nautilus_glyph_new),
      	(nautilus_glyph_free), (glyph_get_width_space_safe): New functions
      	to get dimensions that work with glyphs that are just empty space.
      	(glyph_get_height_space_safe), (nautilus_glyph_get_width),
      	(nautilus_glyph_get_height), (nautilus_glyph_get_dimensions): Make
      	these work with empty spaces.
      	(glyph_is_valid), (nautilus_glyph_draw_to_pixbuf): Use libart rgba
      	functions instead of doing our own alpha blending.  Allow for
      	rendering glyphs with just blank spaces (noop).  Remove debug code.
      	(nautilus_glyph_intersect): New function to intersect a glyph at
      	some coordinates with a rectangle.
      
      	* test/test-nautilus-glyph-simple.c: (main):
      	* test/test-nautilus-glyph.c: (glyph_new), (main):
      	* test/test.c: (test_pixbuf_draw_rectangle_tiled):
      	More glyph tests.
      f2453a7d
    • Ramiro Estrugo's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> (Post Mortem) · 6279e8d7
      Ramiro Estrugo authored
      	Fix bug 6824 - Mozilla component charset encodings are not translated.
      
      	* components/mozilla/Makefile.am:
      	Add new encoding tables sources.  Add GNOMELOCALEDIR define to
      	make gettext happy.
      	* components/mozilla/main.c: (main):
      	Add gettext binding setup.
      
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_view_create_charset_encoding_submenu):
      	Use the translated strings for menu labels.
      
      	* components/mozilla/nautilus-mozilla-embed-extensions.h:
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
      	Simplified by using an stl vector instead of a GList.  Moved the
      	encoding tables to their own place.   Added functions for
      	obtaining the encoding titles and encoding groups as translated
      	strings.
      
      	* components/mozilla/nautilus-mozilla-encoding-tables.h:
      	* components/mozilla/nautilus-mozilla-encoding-tables.c:
      	Moved the encoding tables to their own place.
      6279e8d7
    • Jiri (George) Lebl's avatar
      Approval sucker: Maciej <mjs@eazel.com> · 80d87383
      Jiri (George) Lebl authored
      Thu Feb 22 04:13:13 2001  George Lebl <jirka@5z.com>
      
      	Approval sucker: Maciej <mjs@eazel.com>
      
      	* components/help/converters/gnome-man2html2/gnome-man2html.c
      	  (scan_request): Fix bug #3334, by handling the ".' " troff request.
      
      	* libnautilus-extensions/nautilus-directory-async.c
      	  (nautilus_directory_async_state_changed): the unref could be
      	  the last one, so don't access the directory afterwards.
      80d87383
    • Robey Pointer's avatar
      Remove eazel-install's restrictions on doing an upgrade and downgrade at · 978b3f59
      Robey Pointer authored
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (set_parameters_from_command_line), (main):
      
      	Remove eazel-install's restrictions on doing an upgrade and
      	downgrade at the same time, since it's perfectly capable of doing
      	that (covering all bases) and it's useful to labs.
      978b3f59
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · a53631de
      John Harper authored
      2001-02-21  John Harper  <jsh@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	Fixed bug I introduced in my last sorting change (sort order
      	was incorrect when nodes are first inserted):
      
      	* components/tree/nautilus-tree-view-private.h: added an
      	`inserting_node' flag field to the view details. This is used
      	to tell the sorting comparison function when the nodes it's
      	trying to sort haven't yet been fully initialized
      
      	* components/tree/nautilus-tree-view.c
      	(nautilus_tree_view_insert_model_node): set the inserting_node
      	flag around the call to nautilus_ctree_insert_node (). After
      	the node is fully initialized, call
      	nautilus_ctree_sort_single_node ()
      
      	(ctree_compare_rows): when `inserting_node' is set, bail out
      	with a nonsense value
      
      	* libnautilus-extensions/nautilus-ctree.h,
      	libnautilus-extensions/nautilus-ctree.c: reverted the change to
      	insert_node
      	(nautilus_ctree_sort_single_node): new function, reorders a
      	given node, but no others
      a53631de
    • John Harper's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 7e85ae9d
      John Harper authored
      2001-02-21  John Harper  <jsh@eazel.com>
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	Fixed bug 6828 (Moving directories in tree view makes contents
      	become top-level nodes):
      
      	* components/tree/nautilus-tree-node.h,
      	components/tree/nautilus-tree-node.c,
      	components/tree/nautilus-tree-node-private.h
      
      	(nautilus_tree_node_update_uri): new private function, updates
      	the node's cached URI from its NautilusFile and updates the new
      	is_toplevel flag
      
      	(nautilus_tree_node_is_toplevel): new function, returns true if
      	the node shouldn't have a parent node
      
      	* components/tree/nautilus-tree-model.c: track nodes that have
      	no parent but aren't top-level nodes. If suitable parents later
      	appear the unparented nodes will be connected to them
      
      	* components/tree/nautilus-tree-view.c,
      	components/tree/nautilus-tree-view-private.h: do similar
      	tracking of unparented nodes (but from the point of view of the
      	view, not the model)
      
      	[ Having both modules duplicate this similar functionality
      	isn't ideal, but I don't see how to unify it ]
      
      
      	Fixed bug 6820 (directory sort order is different in tree
      	view):
      
      	* components/tree/nautilus-tree-view.c (ctree_compare_rows):
      	new function, set as the comparison function for tree views.
      	It calls nautilus_file_compare_for_sort () on the files
      	associated with the tree rows (with hardcoded type
      	NAUTILUS_FILE_SORT_BY_NAME for now)
      
      	* libnautilus-extensions/nautilus-ctree.c
      	(nautilus_ctree_insert_node): for sorted insertions, link the
      	inserted node into the tree before finding the correct place,
      	then move it afterwards. This ensures that the comparison
      	function is able to find the node pointers from the row
      	pointers that it's given
      7e85ae9d
  3. 21 Feb, 2001 13 commits
    • Gene Z. Ragan's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · e530965d
      Gene Z. Ragan authored
      2001-02-21  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: John Sullivan <sullivan@eazel.com>
      
      	Fixed bug 6465, Music view buttons stretch for songs
      	with very long titles.
      
      	* components/music/nautilus-music-view.c: (add_play_controls),
      	(nautilus_music_view_set_album_image):
      	Change the way that the play controls are added to the pack box
      	so that they do not expand in strange ways or change their position
      	when a custom image is added.
      e530965d
    • Laszlo Kovacs's avatar
      ba868b22
    • John Fleck's avatar
      John Fleck <jfleck@inkstain.net> · 035888be
      John Fleck authored
      
      John Fleck <jfleck@inkstain.net>
      * components/help/converters/gnome-db2html2/sect-preparse.c
      	add a test to gloss_term_append - if a glossentry has not id (a
      	special case, but one that does on occasion occur) bail out of the
      	function without trying to add it to the hash of glossentries
      	fixes bug #6511
      035888be
    • Maciej Stachowiak's avatar
      reviewed by: Ian McKellar <ian@eazel.com> · e741397b
      Maciej Stachowiak authored
      	* components/services/summary/eazel-summary-shared.c
      	(parse_service), (parse_eazel_news_item),
      	(parse_update_news_item),
      	(build_services_glist_from_xml),
      	(build_eazel_news_glist_from_xml),
      	(build_update_news_glist_from_xml): Make this more robust against
      	unusual data from the server. In particular, if the SERVICES list
      	or other lists are emtpy, do not crash.
      e741397b
    • Robey Pointer's avatar
      Workaround possible redundant 100% progress callback. · 921922b6
      Robey Pointer authored
      	* components/services/install/nautilus-view/callbacks.c:
      	(nautilus_service_install_download_progress):
      
      	Workaround possible redundant 100% progress callback.
      921922b6
    • Pavel Cisler's avatar
      Fix broken build - add the right includes that got dropped by GnomeVFS · 63eb4412
      Pavel Cisler authored
      2001-02-21  Pavel Cisler <pavel@eazel.com>
      
      	* components/help/help-method.c:
      
      	Fix broken build - add the right includes that got dropped by
      	GnomeVFS header file shuffle.
      63eb4412
    • John Harper's avatar
      removed debug spewage · db651b82
      John Harper authored
      db651b82
    • John Harper's avatar
      reviewed by Maciej Stachowiak <mjs@eazel.com> · 6a12fd5c
      John Harper authored
      2001-02-20  John Harper  <jsh@eazel.com>
      
      	reviewed by Maciej Stachowiak  <mjs@eazel.com>
      
      	Fixed bug where a renamed node in the tree view doesn't get
      	resorted:
      
      	* libnautilus-extensions/nautilus-ctree.c (set_node_info): if
      	the ctree is in auto-sort mode, sort the branch containing the
      	changed node
      
      
      	Fixed a crash in the tree view when expanding nodes that have
      	been moved across directories:
      
      	* components/tree/nautilus-tree-node.c
      	(nautilus_tree_node_remove_children): new function, unparents
      	all children of the given node
      
      	(nautilus_tree_node_destroy): emit a warning if the list of
      	children is non-null (then call remove_children). Ideally the
      	remove_children function should get called before the final
      	unref of a directory node
      
      	* components/tree/nautilus-tree-model.c
      	(report_node_removed_internal): call
      	nautilus_tree_node_remove_children before unref'ing the node
      
      
      	Mostly fixed bug where expansion state hash table accumulates
      	cruft over time (e.g. directories that no longer exist or got
      	moved to locations where they can never be displayed):
      
      	* components/tree/nautilus-tree-view.h
      	(NautilusTreeViewDetails): added `view_node_to_uri_map' hash
      	table. This is used to map view nodes to the URIs we believe
      	they are displaying. This is necessary since by the time we
      	find out about changes to nodes, the names of the underlying
      	NautilusFile objects have often already been changed
      
      	* components/tree/nautilus-tree-view.c
      	(unlink_view_node_from_uri, link_view_node_with_uri,
      	map_view_node_to_uri): functions accessing the new hash table
      
      	(nautilus_tree_view_would_include_file): new function, returns
      	true iff the given file may possibly appear in the tree view.
      	Climbs through all parents of the file to do this
      
      	(nautilus_tree_view_model_node_renamed_callback): only
      	propagates the expansion state if the would_include function
      	indicates that the new URI of the file would be included in the
      	tree view
      
      	* components/tree/nautilus-tree-model.c (report_node_changed):
      	no need to suppress the `node_removed' signal when renaming the
      	node (now that the view always deletes the expansion state of
      	the correct URI)
      
      	* libnautilus-extensions/nautilus-file.c,
      	libnautilus-extensions/nautilus-file-private.h,
      	libnautilus-extensions/nautilus-file-utilities.c,
      	libnautilus-extensions/nautilus-file-utilities.h
      	(nautilus_file_name_matches_hidden_pattern,
      	nautilus_file_name_matches_backup_pattern): moved these
      	functions from being private in nautilus-file to being public
      	in nautilus-file-utilities
      
      
      	Fixed tree view bug where moving nodes across directories still
      	loses the expansion state:
      
      	* components/tree/nautilus-tree-model.c
      	(nautilus_tree_model_directory_files_changed_callback):
      	separated the cases of the file being deleted and it being
      	moved across directories. In the move case emit the
      	`being_renamed' signal so the expansion state gets propagated
      
      	(nautilus_tree_view_remove_model_node, forget_view_node): moved
      	the code to delete the expansion state from forget_view_node to
      	nautilus_tree_view_remove_model_node - avoids deleting
      	expansion state of nodes that will later be renamed. It may
      	leave non-existent directories in the expansion state, but this
      	is a lesser bug than losing the expansion state totally. Also,
      	use the map_view_node_to_uri function to find the URI whose
      	expansion state needs to be removed
      
      
      	Fixed the bug where tree view icons often got chopped at top
      	and bottom when they're drawn (if the icon height is greater
      	than the font height). This means that fewer rows may fit in
      	the same vertical space, but visually it's (imho) a huge
      	improvement (I think this is bug 6085):
      
      	* components/tree/nautilus-tree-view.c
      	(nautilus_tree_view_initialize): call gtk_clist_set_row_height
      	with the maximum of the font height and the icon height
      
      	* libnautilus-extensions/nautilus-ctree.c (draw_row): always
      	calculate row_center_offset locally, and do it in such a way
      	that the text really is in the center of the row!
      
      
      	Fixed bug 5165 - repeatedly expanding and collapsing an empty
      	directory doesn't change how the node's icon is drawn after the
      	first expansion:
      
      	* libnautilus-extensions/nautilus-ctree.c (real_tree_expand,
      	real_tree_collapse): before returning, call tree_draw_node on
      	the node that changed state
      6a12fd5c
    • Robey Pointer's avatar
      Added callbacks.[ch] and forms.[ch] to split the ridiculously huge install · f67f6c74
      Robey Pointer authored
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/nautilus-view/callbacks.c:
      	* components/services/install/nautilus-view/callbacks.h:
      	* components/services/install/nautilus-view/forms.c:
      	* components/services/install/nautilus-view/forms.h:
      
      	Added callbacks.[ch] and forms.[ch] to split the ridiculously huge
      	install view into smaller, more managable chunks.
      
      	* components/services/install/nautilus-view/main.c: (quit_timer),
      	(service_install_object_destroyed):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (deps_destroy_foreach),
      	(nautilus_service_install_view_destroy),
      	(nautilus_service_install_view_finalize),
      	(nautilus_service_install_view_initialize_class),
      	(nautilus_service_install_view_initialize),
      	(nautilus_service_install_view_update_from_uri_finish),
      	(service_install_stop_loading_callback):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.h:
      
      	Turn the preflight dialog into a question asked inline.  Do some
      	wacky hoop-jumping so that we do the right thing if the user
      	leaves our view while we're waiting for a button press.  Turn off
      	some of the distractions (progress bar, etc) while waiting for
      	info and feedback.
      f67f6c74
    • Eskil Heyn Olsen's avatar
      reviewed in part by: Robey Pointer <robey@eazel.com> · 690b999e
      Eskil Heyn Olsen authored
      2001-02-20  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	reviewed in part by: Robey Pointer  <robey@eazel.com>
      
      	This patch fixes bug 6458, 5722, 6602, 6788 and 5826.
      	Removed soft_depends from PacakgeData.
      
      	This has some major changes in the logic, and (taaadaa) is fairly
      	untestet because of the sorry state of the testservers these
      	days. This will most likely no longer work with
      	services.eazel.com, but only with the newest server code.
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(get_detailed_errors_foreach), (get_detailed_errors):
      	Fixed to parse PackageBreaks objects.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (prune_failed_packages_helper),
      	(eazel_install_check_existing_packages), (get_softcat_info),
      	(is_satisfied), (is_satisfied_from_package_list),
      	(is_satisfied_features), (check_dependencies_foreach),
      	(check_dependencies), (check_tree_helper),
      	(check_no_two_packages_has_same_file),
      	(check_conflicts_against_already_installed_packages),
      	(check_feature_consistency), (do_file_conflict_check),
      	(do_dep_check_internal), (download_packages),
      	(get_packages_with_mod_flag), (eazel_uninstall_upward_traverse),
      	(eazel_uninstall_check_for_install), (eazel_uninstall_globber),
      	(install_packages), (uninstall_packages):
      	Ouput status in the tree dump.
      	Improved the way I fail ALREADY_INSTALLED packages.
      	Check the new package system error field in check_existing.
      	Get_info don't check for fillflag to decide if softcat success was
      	ok, since suites don't get the fillflag.
      	Don't try and dedupe suite objects.
      	Mark packages already installed with same version as CANCELLED.
      	If a ALREADYINSTALLED package is cancelled due to install options
      	(upgrade/downgrade), set a data field called "cancelled" to
      	represent.
      	Added a (currently not fully functional) check to see if a
      	dependency is solved by the current work set (bug 6809).
      	is_satisfied now uses is_satisfied_from_packages before checking
      	if dependency is installed.
      	Modified check_dependencies_foreach to pass around the package
      	list.
      	No longer do dependency check on cancelled packages (bug 6485).
      	Don't package depcheck packages with suite_id, treat it's contents
      	at comming toplevel packages.
      	Output crack sentence when trying to revice PackageFeatureMissing
      	breaks (file bug 6811)
      	Don't file uniqueness or file conflict check suites.
      	Fixed a bug in the feature_consistency, required a new query enum
      	in eazelpackagesystem query call.
      	Spewed out some comments.
      	Always add children of a suite to K.
      	Check download status (bug 5722)
      	Commented out expand_package_suites.
      	get_packages_with_mod_flag can now parse down into ->depends.
      	Nicyfied debug output.
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	(gnome_vfs_xfer_callback), (gnome_vfs_fetch_remote_file),
      	(eazel_install_fetch_package):
      	No longer use rpmvercmp.
      	Define flag to make all downloads fail (to test failed downloads).
      	Note when VFS is lying about bytes_copied.
      	Removed some ancient code.
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (eazel_install_packagedata_to_xml_int):
      	Removed soft_depends.
      
      	* components/services/install/lib/eazel-package-system-rpm3-private
      	.h:
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(eazel_package_system_rpm3_db_locked),
      	(eazel_package_system_rpm3_dbs_locked),
      	(eazel_package_system_rpm3_open_dbs),
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(eazel_package_system_rpm3_query_foreach),
      	(eazel_package_system_rpm3_query_requires_feature),
      	(eazel_package_system_rpm3_query),
      	(eazel_package_system_rpm3_verify):
      	Did the db lock check voodoo.
      	Added REQUIRES_FEATURE query enum.
      	Loads features from a given file (bug 5826)
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(packagedata_finalize), (packagedata_initialize),
      	(packagedata_copy), (packagedata_fill_in_missing),
      	(packagedata_remove_soft_dep), (packagedata_add_pack_to_depends),
      	(eazel_install_package_name_compare), (packagedata_dump_int):
      	Good bye soft_depends.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_load_implementation),
      	(eazel_package_system_load_package), (eazel_package_system_query),
      	(eazel_package_system_fail_all_packages),
      	(eazel_package_system_install), (eazel_package_system_uninstall),
      	(eazel_package_system_verify), (eazel_package_system_initialize),
      	(eazel_package_system_new_with_id):
      	Fixed 6788.
      	Added REQUIRES_FEATURE query enum.
      
      	* components/services/install/lib/eazel-package-system.h:
      	* components/services/install/lib/eazel-softcat.c:
      	(eazel_softcat_get_info):
      	Fixed some suite_id majick.
      690b999e
    • Michael Fleming's avatar
      reviewed by: <ian@eazel.com> · 3b7d8873
      Michael Fleming authored
      	Added "x-directory/webdav-prefer-directory" for bug 5325
      
      	* components/mozilla/Nautilus_View_mozilla.oaf.in:
      	* src/Nautilus_shell.oaf.in:
      3b7d8873
    • Michael Fleming's avatar
      reviewed by: <darin@eazel.com> · 24f435d9
      Michael Fleming authored
      	Part of 2057: URI's with fragments behave oddly
      
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_format_uri_for_display), (uris_match),
      	(nautilus_uris_match), (nautilus_uris_match_ignore_fragments),
      	(nautilus_self_check_file_utilities):
      	* libnautilus-extensions/nautilus-file-utilities.h:
      
      	nautilus_format_uri_for_display returns "file:" URI's if the URI
      	in question has a fragment, other file: URI's get translated into paths
      	Also no longer calls the evil gnome_vfs_unescape_string_for_display (see
      	bug 6694)
      
      	Also fixes bug 6722: re-entering search query results in location bar
      	results in error dialog
      
      	Added nautilus_uris_match_ignore_fragments function which strips
      	fragments before comparing.  Also added test cases.
      
      	* components/tree/nautilus-tree-view.c:
      	(got_activation_uri_callback):
      	* src/nautilus-window-manage-views.c:
      	(viewed_file_changed_callback):
      
      	Fixed two locations that made the implicit assumption that
      	nautilus_file_get_uri should return a URI that's directly comparable
      	to the current navigation location.  Other cases may still lurk.
      
      	* src/nautilus-window-menus.c:
      
      	A few calls to gnome_vfs_get_local_path_from_uri that should have
      	been gnome_vfs_get_uri_from_local_path.  Eliminating dumb behaviour
      	in gnome_vfs_get_local_path_from_uri exposed them.
      24f435d9
    • Darin Adler's avatar
      reviewed by: Gene Ragan <gzr@eazel.com> · e70c6e46
      Darin Adler authored
      	Fixed bug 5676 (Moving a directory with multiple nested
      	directories causes improper locations to be displayed):
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_moved_internal): Made this build a list of the
      	affected files.
      	(nautilus_directory_moved): Send a changed notice to each affected
      	file.
      	(nautilus_directory_notify_files_moved): Send a changed notice to
      	each affected file, but share code to avoid sending changed
      	notices twice for any directory.
      
      	Fixed some callers that were assuming a
      	gnome_vfs_get_local_path_from_uri would return a non-NULL
      	value. This is not safe to assume just because
      	gnome_vfs_uri_get_local returns true.
      
      	* components/music/nautilus-music-view.c: (read_id_tag): Use
      	gnome_vfs_get_local_path_from_uri to define what a local path is.
      	The old code used a mix.
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_can_rename): Simplified code to use
      	gnome_vfs_get_local_path_from_uri to define what a local path
      	is. The old code used a mix.
      	* libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails):
      	Added NULL checks after calls to
      	gnome_vfs_get_local_path_from_uri.
      	* src/nautilus-sidebar.c: (uri_is_local_image): Took out redundant
      	check. The definition of local image we want here is: "uses a
      	standard file: URI".
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_link_type_in_selection): Fixed bug where it would
      	only look at the first item in the selection. Simplified logic.
      	(is_link_type_special): Added a new function.
      	(special_link_in_selection): Instead of calling
      	fm_directory_link_type_in_selection, copied it. The problem with
      	the other approach is that it was reading each link file three
      	time to rule out each of the three special link types.
      
      	Other changes.
      
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_get_volume_name),
      	(modify_volume_name_for_display): Marked "Unknown" for
      	localization.
      
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	* src/file-manager/fm-icon-view.c:
      	Added 2001 to the copyright since we modified these recently.
      e70c6e46
  4. 20 Feb, 2001 7 commits
    • Andy Hertzfeld's avatar
      fixed bug 6732, can't unmount volumes after viewing text files; fixed by · 71b1d39b
      Andy Hertzfeld authored
      
      	* components/text/nautilus-text-view.c: (file_close_callback),
      	(done_file_read):
      	fixed bug 6732, can't unmount volumes after viewing text files;
      	fixed by closing the file in done_file_read.
      71b1d39b
    • Richard Boulton's avatar
      reviewed by: Ali Abdin <aliabdin@aucegypt.edu> · 71dc5aec
      Richard Boulton authored
      components/help/converters/gnome-db2html2/*
      Fix to bug 6700; doesn't include config.h unless HAVE_CONFIG_H
      is defined, and has correct instructions for compiling standalone.
      71dc5aec
    • Darin Adler's avatar
      no comment · 48bb6a22
      Darin Adler authored
      48bb6a22
    • Kjartan Maraas's avatar
      Fix some typos in strings. · 25dab3c6
      Kjartan Maraas authored
      2001-02-20  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* components/services/summary/nautilus-summary-view.c: Fix some
      	typos in strings.
      25dab3c6
    • Maciej Stachowiak's avatar
      Assorted build twiddling. · cd91e1b7
      Maciej Stachowiak authored
      	* components/services/install/command-line/Makefile.am: Remove
      	-I/usr/include/rpm
      
      	* components/services/install/nautilus-view/Makefile.am: Likewise.
      
      	* components/services/install/nautilus-view/nautilus-service-install-view.c:
      	Remove gratuitous include of rpm header.
      
      	* components/services/inventory/Makefile.am: Formatting tweaks.
      
      	* components/services/summary/*: flatten this whole directory:
      	summary/lib => summary
      	summary/nautilus-view => summary
      	summary/nautilus-view/test => summary
      	summary/nautilus-view/icons/gray_tab_pieces =>summary/nautilus-view/icons
      
      	* configure.in: Adjust for flattening of
      	components/services/summary
      
      	* libnautilus-extensions/nautilus-clickable-image.c
      	(adjust_coordinates_for_window): Formatting tweak.
      
      	* user-guide/gnugpl/.cvsignore: Silence cvs.
      cd91e1b7
    • Maciej Stachowiak's avatar
      Remove -I/usr/include/rpm · 2a694a66
      Maciej Stachowiak authored
      	* components/services/install/server/Makefile.am: Remove
      	-I/usr/include/rpm
      2a694a66
    • Robey Pointer's avatar
      Hide the install view's progress header until downloading begins. Try to · 89b47646
      Robey Pointer authored
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (install_message_new), (generate_install_form),
      	(nautilus_service_install_preflight_check),
      	(nautilus_service_install_done):
      
      	Hide the install view's progress header until downloading begins.
      	Try to use nautilus_view_go_back, though it appears to not be
      	functional yet.
      89b47646
  5. 19 Feb, 2001 2 commits
    • Maciej Stachowiak's avatar
      reviewed by: John Harper <jsh@eazel.com> · be34bbbe
      Maciej Stachowiak authored
      	Fixed bugs 3743 (Summary view gives the same vague error message
      	for many different causes), 3972 (If user can't connect to
      	service, they end up with gray content view), 5973 (blank summary
      	view after install view finishes) and 6166 (Summary Login dialog
      	does not have initial focus) and 6018 (Nautilus returns to wrong
      	directory if services are unavailable). Also did much code
      	cleanup, and made the service and featured download icons in the
      	summary view prelighting and clickable. Fixed many other nits as
      	well.
      
      	* components/services/nautilus-dependent-shared/eazel-services-extensions.h,
      	components/services/nautilus-dependent-shared/eazel-services-extensions.c
      	(eazel_services_clickable_image_new_from_uri): Convenience wrapper
      	to make a new clickable image from a URI.
      	* components/services/nautilus-dependent-shared/eazel-services-footer.c
      	(eazel_services_footer_update): Clear the footer before updating,
      	instead of just dumping the new items in along with the old ones.
      
      	* components/services/trilobite/libtrilobite/trilobite-core-network.h,
      	components/services/trilobite/libtrilobite/trilobite-core-network.c:
      	Adjusted formatting, fixed headers.
      
      	* components/services/trilobite/libtrilobite/trilobite-file-utilities.h,
      	components/services/trilobite/libtrilobite/trilobite-file-utilities.c:
      	Cut 'n' pasted some useful code from libnautilus-extensions to
      	avoid depending on it, whee.
      	* components/services/trilobite/libtrilobite/Makefile.am: Added
      	above to the build.
      
      	* components/services/trilobite/libtrilobite/trilobite-redirect.h,
      	components/services/trilobite/libtrilobite/trilobite-redirect.c:
      	(trilobite_redirect_fetch_table_async,
      	trilobite_redirect_fetch_table_cancel): Asynchronous version of
      	redirect fetching code.
      	(redirect_fetch_callback): Helper function.
      	(trilobite_redirect_parse_xml): Null terminate buffer properly or
      	XML parsing code will get confused.
      	(trilobite_redirect_fetch_table): Removed the old synchronous code
      	since now no one is using it.
      
      	* components/services/summary/lib/eazel-summary-shared.h,
      	components/services/summary/lib/eazel-summary-shared.c:
      	(eazel_summary_fetch_data_cancel, eazel_summary_fetch_data_async):
      	Asynchronous version of summary fetching code.
      	(summary_data_fetch_callback): Helper function.
      	(eazel_summary_data_parse_xml): Same null termination trick as for
      	redirects.
      	(parse_summary_xml_file): Removed old synchronous code since now
      	no one is unsing it.
      
      	* components/services/summary/nautilus-view/main.c (main): Set
      	user agent to trilobite user agent; intialize gnome-vfs.
      
      	* components/services/summary/nautilus-view/nautilus-summary-dialogs.h,
      	components/services/summary/nautilus-view/nautilus-summary-dialogs.c
      	(nautilus_summary_show_login_failure_dialog): Renamed from
      	`nautilus_summary_login_failure_dialog'
      	(nautilus_summary_show_error_dialog): Renamed from
      	`generate_error_dialog'.
      	(nautilus_summary_show_login_dialog): Renamed from
      	`generate_login_dialog'.
      	(error_dialog_cancel_cb): Go back instead of (incorrectly) trying
      	to go back to the user's homedir.
      	(set_dialog_parent): Do the magic coordinate adjustment like
      	gnome_dialog_set_parent, but do not set it transient, or it will
      	not get focus in click to focus mode.
      
      	* components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
      	(authn_cb_failed): Adjust to above renaming.
      	* components/services/summary/nautilus-view/nautilus-summary-footer.c
      	(footer_item_clicked_callback): Ditto.
      	* components/services/summary/nautilus-view/nautilus-summary-menu-items.c:
      	(bonobo_login_callback): Ditto.
      
      	* components/services/summary/nautilus-view/nautilus-summary-view-private.h:
      	Removed unused fields. Added async handles for redirect and summary XML
      	fetch.
      
      	* components/services/summary/nautilus-view/nautilus-summary-view.c:
      	(services_button_callback_data_free, summary_view_button_callback,
      	goto_uri_on_clicked, summary_view_button_new,
      	summary_view_link_image_new): Cleaned up summary view button code,
      	added code for the clickable icons and refactored a bit.
      	(create_header): Start out saying "Connecting to Eazel
      	Services..." instead of blank, and don't call `update_header' from
      	here.
      	(update_footer): fix incorrect polarity of offline and online.
      	(create_footer): remove call to update_footer; leave offline items
      	in place until connected.
      	(create_news_pane, create_services_list_pane,
      	create_featured_downloads_pane): Do not call corresponding update
      	func, updating is now separate from creating.
      	(generate_service_entry_row, generate_update_news_entry_row): Make
      	icons clickable.
      	(update_summary_form): New function to update the existing summary
      	view with new data, to avoid recreating even the fixed widgets
      	from scratch all the time.
      	(create_summary_form): Do not destroy all widgets at the
      	beginning. Remove some useless widgetry.
      	(nautilus_summary_view_initialize): Create the widgetry but do not
      	fill it with data.
      	(nautilus_summary_view_destroy, summary_fetch_callback,
      	redirect_fetch_callback, cancel_load_in_progress),
      	nautilus_summary_view_load_uri, summary_load_location_callback):
      	Change things around so loading of the summary data is
      	asynchronous.
      	(summary_stop_loading_callback): Handle "stop_loading".
      be34bbbe
    • Eskil Heyn Olsen's avatar
      reviewed by: Ian McKellar <ian@eazel.com> · 3b2bd8ec
      Eskil Heyn Olsen authored
      2001-02-18  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	reviewed by: Ian McKellar  <ian@eazel.com>
      
      	Fixed bug 6681 ; make eazel-install output more machine parseable
      	by adding option and always return !0 on any failure.
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_file_conflict_check_signal),
      	(eazel_file_uniqueness_check_signal),
      	(eazel_feature_consistency_check_signal),
      	(eazel_download_progress_signal), (eazel_install_progress_signal),
      	(download_failed), (something_failed),
      	(eazel_preflight_check_signal), (dep_check), (md5_check_failed),
      3b2bd8ec
  6. 18 Feb, 2001 2 commits
    • Michael Fleming's avatar
      Bug 4302: links in HTML help don't work. · e8126578
      Michael Fleming authored
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(try_transform_nautilus_uri_to_file_scheme),
      	(view_load_location_callback),
      	(should_uri_navigate_bypass_nautilus):
      
      	Bug 4302: links in HTML help don't work.
      
      	Now they do.  Since the "gnome-help:" scheme stuff doesn't know
      	how to deal with files below the root and its to convoluted to fix,
      	the Mozilla component discovers if a gnome-help scheme isgoing to be
      	transformed into a file scheme and then redirects nautilus to that
      	URI.  This means the full path to the HTML file appears in the location
      	bar, just like in the old gnome help browser
      e8126578
    • Darin Adler's avatar
      Get rid of initialization of nsString object to NULL to fix Tinderbox. · 6638c635
      Darin Adler authored
      	* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
      	Get rid of initialization of nsString object to NULL
      	to fix Tinderbox.
      6638c635