summaryrefslogtreecommitdiff
path: root/eel/eel-vfs-extensions.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-03-21 15:03:43 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-03-21 15:03:43 -0400
commitc250b5702329e71c61f6e7f4e26227925c5b1e90 (patch)
treecc60c4548e4892b2b92f737e5c504d760eb462f2 /eel/eel-vfs-extensions.h
parente0726b71cbbe3ddd9548546991a30951ecc1f21e (diff)
downloadnautilus-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.h1
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