diff options
author | Darin Adler <darin@src.gnome.org> | 2001-01-16 20:16:43 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-01-16 20:16:43 +0000 |
commit | 075cd9bfae18bb1cf6a780934ffbf771cd3b1d04 (patch) | |
tree | 2a31f5ca30ae226beaa2f865da41ed6c4657513f /test | |
parent | 4824ee4d186d29f9e33a17a034aa1949b36d732a (diff) | |
download | nautilus-075cd9bfae18bb1cf6a780934ffbf771cd3b1d04.tar.gz |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/.cvsignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/.cvsignore b/test/.cvsignore index c581511e1..1c3ea334a 100644 --- a/test/.cvsignore +++ b/test/.cvsignore @@ -28,3 +28,4 @@ test-nautilus-pixbuf-tile test-nautilus-preferences test-nautilus-smooth-graphics test-nautilus-widgets +test-nautilus-wrapped-label |