Commit 26575ec3 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Convert new directory name with g_filename_from_utf8(). (#90154)

2003-01-16  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file-operations.c (nautilus_file_operations_new_folder):
	Convert new directory name with g_filename_from_utf8(). (#90154)
parent 5007870e
2003-01-16 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c (nautilus_file_operations_new_folder):
Convert new directory name with g_filename_from_utf8(). (#90154)
2003-01-16 Alexander Larsson <alexl@redhat.com>
* nautilus-file-management-properties.desktop.in:
* src/network-scheme.desktop.in:
Change the icon to something that exists.
......
......@@ -2126,6 +2126,7 @@ nautilus_file_operations_new_folder (GtkWidget *parent_view,
{
GList *target_uri_list;
GnomeVFSURI *uri, *parent_uri;
char *dirname;
NewFolderTransferState *state;
state = g_new (NewFolderTransferState, 1);
......@@ -2137,7 +2138,10 @@ nautilus_file_operations_new_folder (GtkWidget *parent_view,
/* pass in the target directory and the new folder name as a destination URI */
parent_uri = gnome_vfs_uri_new (parent_dir);
/* localizers: the initial name of a new folder */
uri = gnome_vfs_uri_append_file_name (parent_uri, _("untitled folder"));
dirname = g_filename_from_utf8 (_("untitled folder"), -1, NULL, NULL, NULL);
uri = gnome_vfs_uri_append_file_name (parent_uri, dirname);
g_free (dirname);
target_uri_list = g_list_prepend (NULL, uri);
gnome_vfs_async_xfer (&state->handle, NULL, target_uri_list,
......
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