1. 01 Feb, 2001 16 commits
    • Pavel Cisler's avatar
      reviewed by: Gene Ragan <gzr@eazel.com> · 8e014624
      Pavel Cisler authored
      2001-02-01  Pavel Cisler  <pavel@eazel.com>
      
      	reviewed by: Gene Ragan <gzr@eazel.com>
      
      	Fix 6152 (Dragging a file to the trash will bring up a replace
      		  dialog)
      	Fix 5387 (Dragging a file within Trash gives "already exists"
      		 error)
      
      	* libnautilus-extensions/nautilus-drag.c:
      	* libnautilus-extensions/nautilus-drag.h:
      	(nautilus_drag_items_local), (nautilus_drag_items_in_trash):
      	Add more convenience calls for Trash handling.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_uri_is_in_trash):
      	New convenience call for Trash handling.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_is_in_trash):
      	Use the new nautilus_uri_is_in_trash call.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(nautilus_file_operations_copy_move):
      	Handle the case where a file is dragged into a Trash window or
      	onto a Trash icon as if the "Move to Trash" command was issued -
      	if there is a name conflict with a pre-existing file in the Trash,
      	use a new unique name for the new file.
      
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_selection_items_local):
      	Handle files in the Trash properly - doing a parent match with
      	the container URI fails for these, special case Trash handling.
      8e014624
    • John Sullivan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · caada5e9
      John Sullivan authored
      	Fixed bug 143 (zooming in list view doesn't affect font size)
      
      	Maybe I get the award for "oldest reported bug fixed recently"?
      
      	* src/file-manager/fm-list-view.c:
      	(fm_list_view_update_font): New function, started with guts of
      	fm_list_view_font_family_changed but also takes zoom level into
      	account when choosing font size.
      	(set_up_list): Call _update_font instead of _font_family_changed,
      	just 'cuz it makes more sense.
      	(fm_list_view_set_zoom_level): Call _update_font.
      	(fm_list_view_font_family_changed): Extracted guts to
      	_update_font.
      caada5e9
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · b717e800
      John Sullivan authored
      	Fixed bug 6181 (funny mouse clicking freezes Nautilus)
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(button_press_event): Ignore middle & right button
      	presses when we're dragging a selection rectangle.
      b717e800
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 0970b2fd
      John Sullivan authored
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_descriptions):
      	Parenthesize parenthetical part of "slow but complete
      	search" checkbox label.
      	(global_preferences_create_dialog): Use SHORT_ENUM
      	instead of ENUM type for executable text file
      	activation options so they all go on one line, taking
      	less precious vertical screen real estate.
      0970b2fd
    • Darin Adler's avatar
      Add missing packagedata_destroy prototype to make it compile on systems · d8c97fa2
      Darin Adler authored
      	* components/services/install/lib/eazel-package-system-types.h:
      	Add missing packagedata_destroy prototype to make it compile
      	on systems with RPM 4 (like mine).
      d8c97fa2
    • Stano Visnovsky's avatar
      Updated Slovak translation · 623a124a
      Stano Visnovsky authored
      623a124a
    • Martin Norback's avatar
      sv update · 07b4f3d6
      Martin Norback authored
      07b4f3d6
    • Maciej Stachowiak's avatar
      rolled over to ChangeLog-20010201. · c83cd904
      Maciej Stachowiak authored
      	* ChangeLog: rolled over to ChangeLog-20010201.
      c83cd904
    • Ramiro Estrugo's avatar
      A little better documentation. · 02ccd115
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-clickable-image.h:
      	A little better documentation.
      
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	(nautilus_labeled_image_new),
      	(nautilus_labeled_image_new_from_file_name),
      	(nautilus_labeled_image_button_new_from_file_name),
      	(nautilus_labeled_image_toggle_button_new),
      	(nautilus_labeled_image_toggle_button_new_from_file_name),
      	(nautilus_labeled_image_check_button_new_from_file_name),
      	(nautilus_labeled_image_set_pixbuf_from_file_name),
      	(nautilus_labeled_image_set_tile_pixbuf_from_file_name):
      	* libnautilus-extensions/nautilus-labeled-image.h:
      	New functions for creating stock buttons from pixbuf filenames.
      	Also a little better documentation.
      
      	reviewed by: Maciej Stachowiak  <mjs@eazel.com>
      
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	(nautilus_clickable_image_realize),
      	(nautilus_clickable_image_unrealize):
      	* libnautilus-extensions/nautilus-clickable-image.h:
      	Need to store the connection ids to properly diconnect them on
      	unrealize.  Otheriwse bad things happen.
      
      	* components/services/nautilus-dependent-shared/eazel-services-extensions.h:
      	* components/services/nautilus-dependent-shared/eazel-services-extensions.c:
      	(eazel_services_image_new_clickable),
      	(eazel_services_label_new), (eazel_services_label_new_clickable):
      	Add new functions to create clickable images and labels.
      
      	* components/services/nautilus-dependent-shared/eazel-services-footer.c:
      	(eazel_services_footer_initialize), (footer_destroy),
      	(footer_item_clicked_callback), (footer_item_enter_callback),
      	(footer_item_leave_callback), (footer_item_new):
      	Made a lot simpler by using clickable images.  It could be even
      	simpler if the clickable images handled all the prelighting
      	details.  Thats a possible improvement.
      02ccd115
    • Eskil Heyn Olsen's avatar
      This patch is temporarily going to break a few things, will sync up with · d9cc084e
      Eskil Heyn Olsen authored
      2001-02-01  Eskil Heyn Olsen  <eskil@eazel.com>
      
      	This patch is temporarily going to break a few things, will sync
      	up with Robey tomorrow. Eg. eazel-install (cli tool) now sigsegvs
      	on error.
      
      	* components/rpmview/nautilus-rpm-view-install.c:
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_destroy):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (eazel_preflight_check_signal):
      	If there were problems, abort.
      
      	* components/services/install/command-line/eazel-test-softcat.c:
      	(main):
      	* components/services/install/lib/eazel-install-corba-callback.c:
      	(impl_download_progress), (impl_download_failed), (impl_dep_check),
      	(impl_install_progress), (impl_uninstall_progress),
      	(impl_md5_check_failed):
      	* components/services/install/lib/eazel-install-corba.c:
      	(impl_Eazel_Install_simple_query):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-install-logic.c:
      	(eazel_install_download_packages),
      	(eazel_install_check_for_file_conflicts), (ei_revert_transaction),
      	(eazel_install_do_transaction_all_files_check),
      	(eazel_install_prune_packages), (eazel_install_fetch_dependencies),
      	(eazel_install_do_file_conflict_check),
      	(eazel_uninstall_upward_traverse),
      	(eazel_uninstall_downward_traverse),
      	(eazel_uninstall_check_for_install):
      	ifdeffed out a lot of old code that's no longer used, but it still
      	compiles. logic.c will soon be entirely removed.
      	s/packagedata_destroy/gtk_object_unref/
      	Uninstall stuff uses the new PackageBreaks objects.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (eazel_install_check_existing_packages),
      	(get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
      	(check_update_for_no_more_file_conflicts), (check_tree_helper),
      	(find_break_by_package_name), (add_file_conflict),
      	(check_no_two_packages_has_same_file),
      	(package_is_upgrading_and_doesnt_need_file),
      	(check_conflicts_against_already_installed_packages),
      	(check_feature_consistency), (install_packages_helper):
      	Nicer output.
      	Fixes 6172 and 6173.
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-install-protocols.c:
      	Removed unused define
      
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(eazel_install_do_rpm_dependency_check):
      	More code ifdeffed out, see comment for eazel-install-logic.c
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (eazel_install_packagedata_to_xml_int),
      	(eazel_install_packagelist_to_xml), (osd_parse_shared):
      	Use the new PackageBreak objects.
      
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(make_rpm_argument_list), (rpm_packagedata_new_from_file),
      	(eazel_package_system_rpm3_query_impl),
      	(eazel_package_system_rpm3_compare_version):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/services/install/lib/eazel-package-system-types.c:
      	(categorydata_destroy_foreach), (packagedependency_new),
      	(packagedependency_copy), (packagedependency_destroy),
      	(packagedata_finalize), (packagedata_class_initialize),
      	(packagedata_initialize), (packagedata_copy),
      	(packagedata_remove_soft_dep), (packagedata_get_readable_name),
      	(packagedata_add_pack_to), (packagedata_add_to_breaks),
      	(packagedata_add_pack_to_soft_depends),
      	(packagedata_add_pack_to_modifies), (packagedata_list_prune),
      	(add_string_list), (dump_package_break_list),
      	(packagedata_dump_int), (packagebreaks_finalize),
      	(packagebreaks_class_initialize), (packagebreaks_initialize),
      	(packagebreaks_get_type), (packagebreaks_new),
      	(packagebreaks_set_package), (packagebreaks_get_package),
      	(packagefileconflict_finalize),
      	(packagefileconflict_class_initialize),
      	(packagefileconflict_initialize), (packagefileconflict_get_type),
      	(packagefileconflict_new), (packagefeaturemissing_finalize),
      	(packagefeaturemissing_class_initialize),
      	(packagefeaturemissing_initialize),
      	(packagefeaturemissing_get_type), (packagefeaturemissing_new):
      	s/packagedata_destroy/gtk_object_unref/
      	Wrote some objects representing package breakage.
      
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_is_installed):
      	s/packagedata_destroy/gtk_object_unref/
      
      	* components/services/install/lib/eazel-softcat.c:
      	(eazel_softcat_available_update):
      	Fixed the function so it matches the intended semantics
      
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_update_from_uri):
      	s/packagedata_destroy/gtk_object_unref/
      
      	Merge from PR3 branch
      
      	2001-01-26  Eskil Olsen  <eskil@eazel.com>
      
       	reviewed by: Ramiri Estrugo <ramiro@eazel.com>
      
       	* components/services/install/command-line/eazel-test-packsys.c:
       	(test_version_compare):
       	Testing the Mozilla hack...
      
       	* components/services/install/lib/eazel-package-system-rpm3.c:
       	(eazel_package_system_rpm3_compare_version):
       	Special case for Mxx versions because rpmvercmp is not obeying
       	the laws of mathematics...
      
       	* components/services/install/lib/eazel-softcat.c:
       	(get_search_url_for_package):
       	Fix for 6055 - no longer use hardcoded RedHat62 as distro.
      d9cc084e
    • Ramiro Estrugo's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 33f219c3
      Ramiro Estrugo authored
      	* libnautilus-extensions/Makefile.am:
      	New files.
      	* libnautilus-extensions/nautilus-art-extensions.c:
      	(nautilus_art_irect_align):
      	* libnautilus-extensions/nautilus-art-extensions.h:
      	Make the align function actually work.  The previous version was
      	copied from GtkPixmap and i didnt realize it did not work.  Remove
      	the padding parameters which are not really needed for alignment.
      
      	* libnautilus-extensions/nautilus-clickable-image.h:
      	* libnautilus-extensions/nautilus-clickable-image.c:
      	New class.  A clickable image.
      
      	* libnautilus-extensions/nautilus-labeled-image.h:
      	* libnautilus-extensions/nautilus-labeled-image.c:
      	New class.  A labeled image.
      
      	* libnautilus-extensions/nautilus-image.h:
      	* libnautilus-extensions/nautilus-image.c:
      	(nautilus_image_expose_event), (image_get_pixbuf_bounds),
      	(image_is_smooth), (nautilus_image_set_is_smooth),
      	(nautilus_image_get_is_smooth), (nautilus_image_new_solid),
      	(nautilus_image_set_never_smooth):
      	Add never smooth attribute to force behavior to match GTK+ for
      	cases when consistency is most important.
      	Update for alignment art extensions api change.
      	Some minor paramter name changes to lose abbreviations.
      
      	* libnautilus-extensions/nautilus-label.h:
      	* libnautilus-extensions/nautilus-label.c:
      	(nautilus_label_size_request), (nautilus_label_expose_event),
      	(label_get_text_bounds), (label_is_smooth),
      	(nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth),
      	(nautilus_label_new_solid), (nautilus_label_set_never_smooth):
      	Add never smooth attribute to force behavior to match GTK+ for
      	cases when consistency is most important.
      	Update for alignment art extensions api change.
      	Update for alignment art extensions api change.
      	Some minor paramter name changes to lose abbreviations.
      
      	* libnautilus-extensions/nautilus-smooth-widget.c:
      	(smooth_widget_get_tile_origin_point),
      	(nautilus_smooth_widget_get_preferred_frame):
      	Add some comments explaining why using 0 for ancestor offsets
      	works.
      	Fix a really dumb bug, the paddings where multiplies by 2 twice
      	instead of once.
      
      	* test/.cvsignore:
      	* test/Makefile.am:
      	* test/test-nautilus-clickable-image.c: (clicked_callback),
      	(enter_callback), (leave_callback), (clickable_image_new), (main):
      	* test/test-nautilus-label-background.c:
      	* test/test-nautilus-label-scrolled.c: (label_window_new_scrolled),
      	(label_window_new_table):
      	* test/test-nautilus-label-simple.c: (main):
      	* test/test-nautilus-label.c: (main):
      	* test/test-nautilus-labeled-image.c: (labeled_image_new),
      	(labeled_image_window_new), (labeled_image_button_window_new),
      	(main):
      	* test/test-nautilus-pixbuf-tile.c:
      	(pixbuf_drawing_area_expose_event),
      	(drawable_drawing_area_expose_event), (main):
      	* test/test-nautilus-preferences-change.c: (main):
      	* test/test.c: (test_init):
      	New tests for clickable and labeled images.  Many updates to other
      	tests.
      
      	Also, changed many instances of NautilusFooDetail to
              NautilusFooDetails as well as the corresponding members.
      33f219c3
    • Gene Z. Ragan's avatar
      Additional work on first time druid gmc to nautilus conversion routines. · 93ea1a9d
      Gene Z. Ragan authored
      2001-02-01  Gene Z. Ragan  <gzr@eazel.com>
      
      	Additional work on first time druid gmc to nautilus conversion routines.
      
      	* src/nautilus-first-time-druid.c: (druid_finished),
      	(convert_gmc_desktop_icons), (transition_value_changed):
      
      	Make gmc link to Nautilus link conversion more complete
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	(nautilus_gnome_get_terminal_path):
      	New utility routine to return path to an installed terminal application
      
      	(nautilus_gnome_open_terminal):
      	Call above function
      
      	* libnautilus-extensions/nautilus-link.c:
      	* libnautilus-extensions/nautilus-link.h:
      	(nautilus_link_local_create),
      
      	(nautilus_link_local_create_from_gnome_entry):
      	New function to create a nautilus link from .desktop entry data
      
      	It's hard to be hated by millions.  Make gmc to nautilus link transition much better.
      	We now can support converted .desktop links that require a terminal. Also, get rid
      	of gnome-vfs symlinks and use the command: specifier to launch instead.  This was not possible
      	earlier, but due to a recent bug fix by me, we can now use this specifier in a
      	Nautilus link.
      
      	* src/file-manager/fm-desktop-icon-view.c: (create_mount_link),
      	(icon_view_create_nautilus_links),
      	(update_home_link_and_delete_copies),
      	(update_trash_link_and_delete_copies):
      93ea1a9d
    • Maciej Stachowiak's avatar
      reviewed by: Darin Adler <darin@eazel.com> and Eli Goldberg · 5f911e3c
      Maciej Stachowiak authored
      	<eli@eazel.com>
      
      	* THANKS: Gave credit where it's due. Added a section for testers.
      	* check-THANKS.pl: Don't fail if the about box file is not present
      	so this script can be used on modules other than Nautilus; also,
      	added some address aliases.
      5f911e3c
    • Rebecca Schulman's avatar
      Fixed bug 5245, that words used in the search bar were used elsewhere, · c1e44284
      Rebecca Schulman authored
      2001-01-31  Rebecca Schulman  <rebecka@eazel.com>
      	Fixed bug 5245, that words used in the search bar were used
      	elsewhere, such that they could not be translated correctly for
      	both contexts.  The fix was to wrap all of the strings used to
      	display both the search bar, and the description of
      	search results in bracketed context and write a function
      	to remove the bracketed text before displaying.
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	* libnautilus-extensions/nautilus-search-uri.c:
      	Added comments and wrapped the text to be translated in bracketed
      	context.
      	(get_translated_criterion), (get_nth_criterion_prefix),
      	(parse_uri):  Call nautilus_str_remove_bracketed_text
      	on appropriate strings before displaying.
      
      	* libnautilus-extensions/nautilus-string.h:
      	* libnautilus-extensions/nautilus-string.c:
      	(nautilus_str_remove_bracketed_text), (nautilus_self_check_string):
      	Add the debracketing function and tests for it.
      
      	* src/nautilus-search-bar-criterion.c:
      	Added comments and wrapped the text to be translated in bracketed
      	context.
      	(nautilus_search_bar_criterion_destroy),
      	(nautilus_search_bar_criterion_new_from_values),
      	(nautilus_search_bar_criterion_update_valid_criteria_choices):
      	Call nautilus_str_remove_bracketed_text on appropriate strings
      	before displaying.
      c1e44284
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 6252fcac
      John Sullivan authored
      	Fixed bug 6162 (need option to stop "xx items" from being
      	calculated for ftp:// locations)
      
      	Added a speed tradeoff preference for showing directory
      	counts. It's "local-only" for Beginner and "always" (but
      	changeable) for Intermediate/Advanced.
      
      	Fixed bug 1856 (fix hideous hack to kick-start embedded-text
      	reading when preference changes)
      
      	Fixed bug 2396 (properties window doesn't show/hide
      	"special flags" when preference changes)
      
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(dequeue_pending_idle_callback): Update for name change.
      	(lacks_directory_count): Now checks preference by calling
      	nautilus_file_should_show_directory_item_count.
      	(should_get_directory_count_now): Renamed to add the "_now"
      	to help distinguish from
      	nautilus_file_should_show_directory_item_count.
      	(directory_count_start): Update for name change.
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(emit_change_signals_for_all_files): New function, emits change
      	signals for self-as-file (if applicable) and all contained files.
      	(async_state_changed_one): New hash-table function, calls
      	emit_change_signals_for_all_files on a directory.
      	(async_data_preference_changed_callback): New preferences-changed
      	callback, calls async_state_changed_one on each directory.
      	(add_preferences_callbacks): Renamed from add_filtering_callbacks,
      	now adds callbacks for top-left text and item counts preferences.
      	(remove_preferences_callbacks): Renamed from remove_filtering_callbacks,
      	now removes callbacks for top-left text and item counts preferences.
      	(nautilus_directory_get_internal): Update for name change.
      	(nautilus_directory_emit_change_signals): renamed from
      	_emit_change_signals_deep to avoid recursion connotation.
      	(nautilus_directory_emit_metadata_changed),
      	(call_files_changed_free_list),
      	(call_files_changed_unref_free_list): Update for name change.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(get_speed_tradeoff_preference_for_file): New utility function,
      	returns boolean based on local-ness of file and value of
      	specified speed-tradeoff preference.
      	(nautilus_file_should_get_top_left_text): Now calls
      	get_speed_tradeoff_preference_for_file.
      	(nautilus_file_should_show_directory_item_count): New function,
      	calls get_speed_tradeoff_preference_for_file.
      	(nautilus_file_get_directory_item_count),
      	(nautilus_file_get_deep_counts): Bail out early without computation
      	if _should_show_directory_item_count is FALSE.
      	(nautilus_file_changed): Update for name change.
      
      	* libnautilus-extensions/nautilus-file.h: Make
      	nautilus_file_should_show_directory_item_count public so the
      	preferences window can make UI decisions based on it.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_descriptions),
      	(global_preferences_install_defaults),
      	(global_preferences_install_visibility),
      	(global_preferences_create_dialog): Add new preference
      	NAUTILUS_PREFERENCES_SHOW_DIRECTORY_ITEM_COUNTS and wire up
      	default values and UI.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize), (fm_directory_view_destroy):
      	Remove hideous hack.
      
      	* src/file-manager/fm-properties-window.c:
      	(append_separator): Return widget instead of row number.
      	(attach_directory_contents_value_field): Return widget.
      	(update_visibility_of_table_rows): New helper function to
      	update visibility of a series of table rows & contained
      	widgets.
      	(update_visibility_of_item_count_fields): New function
      	to update visibility of directory item count widgetry.
      	(update_visibility_of_item_count_fields_wrapper): Simple
      	wrapper for above.
      	(remember_directory_contents_widget),
      	(append_directory_contents_fields): Remember item counts
      	widgetry so it can be shown/hidden later; set up prefs
      	callback; change signature for to pass window.
      	(create_basic_page), (create_permissions_page):
      	store table in window->details; update for changed signatures.
      	(append_special_execution_checkbox): Now takes window,
      	don't use GTK_EXPAND to avoid resizing column unnecessarily,
      	count number of special flags rows.
      	(remember_special_flags_widget),
      	(update_visibility_of_special_flags_widgets): New function
      	to update visibility of special flags widgetry.
      	(update_visibility_of_special_flags_widgets_wrapper):
      	Simple wrapper for above.
      	(append_special_execution_flags): Remember special flags
      	widgetry so it can be shown/hidden later; set up prefs
      	callback; change signature to pass window.
      	(real_destroy): free widget lists.
      6252fcac
    • Maciej Stachowiak's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 9f375cda
      Maciej Stachowiak authored
      	* src/nautilus-application.c (nautilus_application_startup): Don't
      	loop more than 20 times when we get OAF_REG_ALREADY_ACTIVE trying
      	to register the factory, instead display an error message that
      	suggests killing oafd.
      9f375cda
  2. 31 Jan, 2001 24 commits
    • Arik Devens's avatar
      Updated insert function to evict everytime we are above the cache 'limit' not... · ec198c12
      Arik Devens authored
      Updated insert function to evict everytime we are above the cache 'limit' not just when adding the glyph would put us above.
      ec198c12
    • Darin Adler's avatar
      reviewed by: Michael Engber <engber@eazel.com> · 140b9c15
      Darin Adler authored
      	Fix bug 6192 ("mapped before underway" warning when clicking on
      	any sidebar tab).
      
      	* src/nautilus-view-frame.c: (nautilus_view_frame_map): Remove
      	inappropriate check of state, and replace it with a simple NULL
      	check that handles the failed case.
      
      	* libnautilus-extensions/nautilus-directory-background.c:
      	(nautilus_file_background_is_set): Fixed backwards logic by
      	removing an erroneous "!".
      
      	* libnautilus-extensions/nautilus-icon-factory.c: Formatting
      	tweaks.
      	* src/file-manager/fm-directory-view.c: Formatting tweak.
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Fixed comment.
      	(check_for_and_run_as_super_user): Formatting tweak.
      140b9c15
    • 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
    • Szabolcs Ban's avatar
      Terminology fixes · 85697ce8
      Szabolcs Ban authored
      85697ce8
    • Carlos Perell Marn's avatar
      Updated Spanish translation from Pablo del Campo <pablodc@mapfre.com.ar> · becacf16
      Carlos Perell Marn authored
      2001-01-31  Carlos Perell Marn <carlos@gnome-db.org>
      
              * es.po: Updated Spanish translation from Pablo del
                Campo <pablodc@mapfre.com.ar>
      becacf16
    • Martin Norback's avatar
      changed refresh translation · a29dddc8
      Martin Norback authored
      a29dddc8
    • Yuri Syrota's avatar
      Updated Ukrainian translation · ffbf970c
      Yuri Syrota authored
      ffbf970c
    • Yuri Syrota's avatar
      Updated Ukrainian translation · f32d1016
      Yuri Syrota authored
      f32d1016
    • Martin Norback's avatar
      sv update · e9057b02
      Martin Norback authored
      e9057b02
    • Ian McKellar's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · 0e35d70c
      Ian McKellar authored
      
      	reviewed by: Maciej Stachowiak  <mjs@eazel.com>
      
      	* components/services/inventory/Trilobite_Service_inventory.oaf.in:
      	Fixed a tyop in the path to the trilobite-inventory-service
      
      	* components/services/inventory/eazel-inventory-utils.h:
      	* components/services/inventory/eazel-inventory-service.c:
      	Moved the GConf path for machine name to
      
      	(impl_Trilobite_Eazel_Inventory_upload):
      	Improved error reporting / debugging. Actually save the MD5.
      
      	* components/services/inventory/eazel-inventory-utils.c:
      	(add_package_info), (add_software_info),
      	(eazel_inventory_local_path)
      	Fixed memory leaks.
      
      	(eazel_inventory_update_md5):
      	Added a function to store the MD5.
      
      	* nautilus.spec.in:
      	Add inventory files to the right RPMs.
      0e35d70c
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 1e8420d1
      Yuri Syrota authored
      1e8420d1
    • Yuri Syrota's avatar
      Updated Ukrainian translation · a667cb2f
      Yuri Syrota authored
      a667cb2f
    • Arik Devens's avatar
      aea741e8
    • Arik Devens's avatar
    • Maciej Stachowiak's avatar
      reviewed by: George Lebl <jirka@5z.com> · 0f36e565
      Maciej Stachowiak authored
      	Fix bug 4448 (install-server needs session management juju)
      
      	* components/services/install/server/main.c: (main): Add call to
      	`gnome_client_disable_master_connection'
      
      	* components/services/trilobite/sample/service/main.c: (main): Add
      	call to `gnome_client_disable_master_connection'
      0f36e565
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 43e30558
      Yuri Syrota authored
      43e30558
    • Maciej Stachowiak's avatar
      reviewed by: Ramiro Estrugo <ramiro@eazel.com> · 54f40d3b
      Maciej Stachowiak authored
      	Mass refactoring of summary view code to make needed summary view
      	fixes more managable. In the process, fixed bugs 4555 (Version
      	display for featured softcat downloads) and 5795 (Summary View
      	text doesn't wrap.) Also, cleaned up assorted pieces of text.
      
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (update_header), (create_header), (update_footer),
      	(create_footer), (summary_view_button_callback),
      	(summary_view_button_new), (summary_view_item_label_new),
      	(summary_view_item_large_header_label_new),
      	(summary_view_item_header_label_new),
      	(summary_view_item_body_label_new), (append_hseparator_to_vbox),
      	(generate_eazel_news_entry_row), (summary_view_update_pane),
      	(summary_view_create_pane), (update_news_pane),
      	(create_news_pane),
      	(generate_service_entry_row), (update_services_list_pane),
      	(create_services_list_pane), (generate_update_news_entry_row),
      	(update_featured_downloads_pane),
      	(create_featured_downloads_pane),
      	(generate_summary_form), (nautilus_summary_view_initialize),
      	(nautilus_summary_view_destroy), (summary_load_location_callback),
      	(text_resize_callback): Factor the monolithic summary view code up
      	more. The next step is to create a widget class to manage each
      	pane, and to create the base layout once and only change the pane
      	contents on recipt of summary XML or login.
      
      	* components/services/summary/nautilus-view/nautilus-summary-callbacks.h,
      	components/services/summary/nautilus-view/nautilus-summary-callbacks.c:
      	Remove tab selected callbacks since they are no longer used.
      
      	* components/services/summary/nautilus-view/nautilus-summary-view-private.h:
      	Removed lots of unneeded fields in the details struct; changed
      	button labels, "Go There!" --> "Go There", "More Info!" --> "More
      	Info", "Install Me!" --> "Install"
      54f40d3b
    • Ramiro Estrugo's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> · 00452d37
      Ramiro Estrugo authored
      	* libnautilus-extensions/nautilus-debug-drawing.c:
      	(debug_pixbuf_viewer_expose_event):
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	* libnautilus-extensions/nautilus-gdk-extensions.h:
      	Remove unused code.
      00452d37
    • Stano Visnovsky's avatar
      Updated Slovak translation · d3ed0f68
      Stano Visnovsky authored
      d3ed0f68
    • Robey Pointer's avatar
      oops; missed one · 2e33ddd0
      Robey Pointer authored
      2e33ddd0
    • Robey Pointer's avatar
      reviewed by: Eskil Heyn Olsen <eskil@eazel.com> · 3aab1848
      Robey Pointer authored
      	* components/services/install/lib/eazel-install-corba-types.c:
      	(corba_packagedatastruct_from_packagedata),
      	(packagedata_from_corba_packagedatastruct):
      	* components/services/install/lib/eazel-install-logic.c:
      	(dump_one_package):
      	* components/services/install/lib/eazel-install-problem.c:
      	(get_detailed_messages_foreach),
      	(get_detailed_uninstall_messages_foreach),
      	(get_detailed_cases_foreach),
      	(get_detailed_uninstall_cases_foreach):
      	* components/services/install/lib/eazel-package-system-types.c:
      	(packagedata_initialize), (packagedata_finalize),
      	(packagedata_copy), (packagedata_fill_in_missing),
      	(packagedata_destroy), (packagedata_dump_int):
      	* components/services/install/lib/eazel-package-system-types.h:
      	* components/rpmview/nautilus-rpm-view-install.c:
      
      	Remove unused hard_depends member from PackageData.
      
      	* components/services/install/lib/eazel-install-logic2.c:
      	(dump_tree_helper), (prune_failed_packages_helper),
      	(prune_failed_packages), (eazel_install_check_existing_packages),
      	(get_softcat_info), (dedupe_foreach_depends), (is_satisfied),
      	(check_tree_helper), (check_tree_for_conflicts),
      	(download_packages), (set_toplevel), (install_packages):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(eazel_install_fetch_package), (flatten_tree_func):
      	* components/services/install/lib/eazel-package-system-rpm3.c:
      	(make_rpm_argument_list),
      	(eazel_package_system_rpm3_packagedata_fill_from_header),
      	(rpm_packagedata_new_from_file),
      	(eazel_package_system_rpm3_load_package):
      	* components/services/install/lib/eazel-package-system.c:
      	(eazel_package_system_load_package):
      
      	Backport Eskil's recursive-dep fix from PR3.  Use
      	name/sense/version to hash completed dependencies, so files will
      	work (not just softcat packages).
      
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_package), (eazel_install_packagedata_to_xml_int),
      	(eazel_install_packagedata_to_xml), (osd_parse_shared):
      
      	The best of all worlds: some backported PR3 patches from Eskil,
      	some removal of hard_depends usage, and some new code to encode &
      	decode the RPM filesize from the XML generated across the corba
      	pipe.
      
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_view_destroy),
      	(nautilus_install_parse_uri), (update_package_info_display),
      	(nautilus_service_install_downloading),
      	(nautilus_service_install_preflight_check),
      	(nautilus_service_install_download_failed),
      	(nautilus_service_install_installing),
      	(nautilus_service_install_done), (nautilus_service_install_failed),
      	(nautilus_service_install_view_update_from_uri),
      	(nautilus_service_install_view_load_uri),
      	(service_install_stop_loading_callback):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.h:
      
      	Backport changes to the install view from PR3 (I should've done
      	this when I checked them into PR3 but I was brain-fried): No
      	longer cylon (use the throbber to indicate busy-ness) and handle
      	early cancels better.  Also some new stuff to use the more
      	accurate filesize counts.
      3aab1848
    • Ramiro Estrugo's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 1479770a
      Ramiro Estrugo authored
      	Fix bug 5763 - Largest fitting font logic in Sidebar title causes
      	font criticals.  Cleanup some related stuff in the process.
      
      	* libnautilus-extensions/nautilus-font-factory.h:
      	* libnautilus-extensions/nautilus-font-factory.c:
      	(nautilus_font_factory_get_font_by_family),
      	(nautilus_font_factory_get_font_from_preferences):
      	Move these functions to nautilus-gdk-font-extensions.[ch].
      
      	* libnautilus-extensions/nautilus-gdk-font-extensions.h:
      	* libnautilus-extensions/nautilus-gdk-font-extensions.c:
      	(nautilus_gdk_font_get_largest_fitting), Rewrite the function to
      	not depend on any hard coded font sizes or XLFD names.
      	(nautilus_gdk_font_get_name), New function.
      	(nautilus_gdk_font_get_size_in_pixels), (unref_fixed_font),
      	(nautilus_gdk_font_get_fixed),
      	(nautilus_gdk_font_xlfd_string_new), Move these 2 here from
      	nautilus-font-factory.
      	(nautilus_self_check_ellipsize_start),
      	(nautilus_self_check_gdk_font_extensions):
      	* libnautilus-extensions/nautilus-scalable-font.h:
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(parse_font_description_file), (font_compare),
      	(font_family_find_font), (font_family_lookup),
      	(font_family_lookup_with_insertion), (font_family_table_add_fonts),
      	(nautilus_scalable_font_new),
      	(nautilus_scalable_font_measure_text),
      	(nautilus_scalable_font_text_width),
      	(nautilus_scalable_font_draw_text),
      	(nautilus_scalable_font_measure_text_lines),
      	(nautilus_scalable_font_draw_text_lines_with_dimensions),
      	(nautilus_scalable_font_draw_text_lines),
      	(nautilus_scalable_font_largest_fitting_font_size), Rewrite this
      	function to work just like nautilus_gdk_font_get_largest_fitting()
      	for greater consistency.
      	(font_family_table_for_each_append),
      	(font_family_table_for_each_free),
      	(nautilus_scalable_font_query_font), (text_layout_free_row),
      	(nautilus_text_layout_new), (nautilus_text_layout_paint):
      	Use signed integers for dimensions.  Lots of cleanup to comply
      	with the Nautilus coding style.
      
      	* libnautilus-extensions/nautilus-string-list.h:
      	* libnautilus-extensions/nautilus-string-list.c:
      	(nautilus_string_list_new_from_tokens),
      	(nautilus_string_list_get_index_for_string),
      	(nautilus_string_list_as_concatenated_string),
      	(nautilus_string_list_get_longest_string),
      	(nautilus_string_list_get_longest_string_length),
      	(nautilus_self_check_string_list):
      	Use signed integers instead of guint.
      
      	* src/nautilus-sidebar-title.c: (update_font):
      	Update for largest fitting font api changes.  Get rid of the hard
      	coded list of font sizes.
      1479770a
    • Darin Adler's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · e6396973
      Darin Adler authored
      	Fixed bug 5726 (In single-window mode, activating desktop icons
      	should use frontmost window).
      
      	* src/nautilus-window-manage-views.c:
      	(get_topmost_nautilus_window): New function.
      	(open_location): For desktop in one-window mode, reuse the topmost
      	window if there is one instead of making new window every time.
      e6396973
    • Ramiro Estrugo's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> · 0a186a4b
      Ramiro Estrugo authored
      	* applets/preferences-applet/nautilus-preferences-applet.c:
      	(quit_button_clicked_callback), (main):
      	Add a quit button that invokes "nautilus --quit."
      0a186a4b