Make new strings reuse old ones.

2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
	Make new strings reuse old ones.


svn path=/trunk/; revision=6581
This commit is contained in:
Alexander Larsson
2008-02-25 09:11:09 +00:00
committed by Alexander Larsson
parent 96b70c129a
commit 493cbfa607
2 changed files with 7 additions and 2 deletions

View File

@@ -1853,14 +1853,14 @@ g_local_file_trash (GFile *file,
g_set_error (error, G_IO_ERROR,
G_IO_ERROR_CANCELLED,
_("Unable to trash file: %s"),
_("cancelled"));
_("Operation was cancelled"));
success = FALSE;
}
else if (!success)
g_set_error (error, G_IO_ERROR,
G_IO_ERROR_FAILED,
_("Unable to trash file: %s"),
_("failed"));
_("internal error"));
g_free (wfilename);
return success;