nautilus/test
Darin Adler 075cd9bfae reviewed by: Gene Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-file-operations.c:
	(get_label_font): It's illegal to unref a new widget since you
	don't own a ref to it. Sink it instead.
	(ellipsize_string_for_dialog): New function.
	(format_and_ellipsize_uri_for_dialog): Rename this function and
	change it to use nautilus_format_uri_for_display. Also add FIXME
	about where the ellipsis goes.
	(extract_and_ellipsize_file_name_for_dialog): Added a seprate
	function for the case where we want to extract the file name
	part only. The old code mixed the URI and file name cases in a
	way that would lead to anomalies with unusual names.
	(handle_transfer_vfs_error): Fixed storage leak.
	(is_special_link): Rewrote this function and also made it take
	a URI in text form, not a GnomeVFSURI.
	(handle_transfer_overwrite): Use is_special_link instead of
	duplicate its test. Removed incorrect use of NautilusFile (without
	waiting for results). Added quotes around file name in
	message. Use extract_and_ellipsize_file_name_for_dialog instead of
	our own ad-hoc functions.
	(make_next_duplicate_name): Get rid of bizarre buffer/sprintf that
	was used by someone who didn't know you can use printf formatting
	with g_warning.
	(vfs_uri_is_special_link): Created cover for one remaining caller
	of is_special_link that needs to pass a GnomeVFSURI.
	(nautilus_file_operations_copy_move): Use the new is_special_link
	(nautilus_file_operations_move_to_trash): Use
	extract_and_ellipsize_file_name_for_dialog instead of an old
	strange combination of calls.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(nautilus_icon_factory_get_icon_name_for_regular_file): Fix
	obsolete comment and rearrange code now that plain text special
	case is gone.
2001-01-16 20:16:43 +00:00
..
.cvsignore reviewed by: Gene Ragan <gzr@eazel.com> 2001-01-16 20:16:43 +00:00
Makefile.am Add a test for debugging bug 5608. 2001-01-12 22:00:45 +00:00
test-nautilus-async-activation.c small fix: replace NULL with CORBA_OBJECT_NIL add new test. 2000-11-07 00:13:03 +00:00
test-nautilus-background.c reviewed by: Darin Adler <darin@eazel.com> 2000-12-11 19:30:39 +00:00
test-nautilus-font-picker.c Cut over to HEAD of Bonobo. This check-in includes all the changes 2000-10-05 23:47:54 +00:00
test-nautilus-font-simple.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-font.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-image-background.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-image-scrolled.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-image-simple.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-image-tile.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-image.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-label-background.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-label-flavorful.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-label-offset.c Add a test for debugging bug 5608. 2001-01-12 22:00:45 +00:00
test-nautilus-label-scrolled.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-label-simple.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-label-wrapped.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-label.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-mime-actions-set.c Worked on getting rid of wait_until_ready. 2000-11-08 01:11:33 +00:00
test-nautilus-mime-actions.c Worked on getting rid of wait_until_ready. 2000-11-08 01:11:33 +00:00
test-nautilus-password-dialog.c ammend password dialog to accept an optional message to display at the top (for example, when asking for a retry after a bad password); fix time service to use the password dialog correctly and obey the cancel button and the 'remember' checkbox, and to give you three tries before giving up 2000-07-29 00:19:50 +00:00
test-nautilus-pixbuf-tile.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-preferences.c Cut over to HEAD of Bonobo. This check-in includes all the changes 2000-10-05 23:47:54 +00:00
test-nautilus-smooth-graphics.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test-nautilus-widgets.c Cut over to HEAD of Bonobo. This check-in includes all the changes 2000-10-05 23:47:54 +00:00
test.c reviewed by: Pavel Cisler <pavel@eazel.com> 2001-01-11 23:16:32 +00:00
test.h Add a test for debugging bug 5608. 2001-01-12 22:00:45 +00:00