diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-03-21 15:03:43 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2011-03-21 15:03:43 -0400 |
commit | c250b5702329e71c61f6e7f4e26227925c5b1e90 (patch) | |
tree | cc60c4548e4892b2b92f737e5c504d760eb462f2 /eel/eel-vfs-extensions.h | |
parent | e0726b71cbbe3ddd9548546991a30951ecc1f21e (diff) | |
download | nautilus-c250b5702329e71c61f6e7f4e26227925c5b1e90.tar.gz |
Properly strip extensions when placing the duplication string
We use a similar matching filter to the one we use when renaming. It's
not ideal (mimetypes are hardcoded, and probably some are missing), but
at least we're consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=351290
Diffstat (limited to 'eel/eel-vfs-extensions.h')
-rw-r--r-- | eel/eel-vfs-extensions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eel/eel-vfs-extensions.h b/eel/eel-vfs-extensions.h index 8e10e5cb4..6338fba1e 100644 --- a/eel/eel-vfs-extensions.h +++ b/eel/eel-vfs-extensions.h @@ -49,6 +49,7 @@ char * eel_filename_strip_extension (const char * void eel_filename_get_rename_region (const char *filename, int *start_offset, int *end_offset); +char * eel_filename_get_extension_offset (const char *filename); G_END_DECLS |