Commit 5b6cbc52 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

unescape new file name Bump version to 0.0.4

2005-10-10  Juerg Billeter  <j@bitron.ch>

	* src/nautilus-image-resizer.c: unescape new file name
	* configure.ac: Bump version to 0.0.4

svn path=/trunk/; revision=6
parent 58ed267a
2005-10-10 Jürg Billeter <j@bitron.ch>
* src/nautilus-image-resizer.c: unescape new file name
* configure.ac: Bump version to 0.0.4
2005-10-10 Jürg Billeter <j@bitron.ch>
* configure.ac: Added "it" to ALL_LINGUAS.
......
AC_INIT([nautilus-image-converter], [0.0.3], [j@bitron.ch], [nautilus-image-converter])
AC_INIT([nautilus-image-converter], [0.0.4], [j@bitron.ch], [nautilus-image-converter])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])
......
......@@ -165,6 +165,7 @@ nautilus_image_resizer_transform_uri (NautilusImageResizer *resizer, char *text_
GnomeVFSURI *uri;
GnomeVFSURI *parent;
GnomeVFSURI *new_uri;
char *escaped_basename;
char *basename;
char *extension;
char *new_basename;
......@@ -174,7 +175,9 @@ nautilus_image_resizer_transform_uri (NautilusImageResizer *resizer, char *text_
parent = gnome_vfs_uri_get_parent (uri);
basename = gnome_vfs_uri_extract_short_path_name (uri);
escaped_basename = gnome_vfs_uri_extract_short_path_name (uri);
basename = gnome_vfs_unescape_string (escaped_basename, "/");
g_free (escaped_basename);
gnome_vfs_uri_unref (uri);
extension = g_strdup (strrchr (basename, '.'));
if (extension != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment