Skip to content

Commit

Permalink
file-browser: use Untitled File/Folder for new file/folders
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho committed Apr 16, 2013
1 parent 945a92d commit e7e404a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/filebrowser/gedit-file-browser-store.c
Expand Up @@ -3708,7 +3708,7 @@ gedit_file_browser_store_new_file (GeditFileBrowserStore *model,

parent_node = FILE_BROWSER_NODE_DIR (parent->user_data);
/* Translators: This is the default name of new files created by the file browser pane. */
file = unique_new_name (((FileBrowserNode *) parent_node)->file, _("file"));
file = unique_new_name (((FileBrowserNode *) parent_node)->file, _("Untitled File"));

stream = g_file_create (file, G_FILE_CREATE_NONE, NULL, &error);

Expand Down Expand Up @@ -3767,7 +3767,7 @@ gedit_file_browser_store_new_directory (GeditFileBrowserStore *model,

parent_node = FILE_BROWSER_NODE_DIR (parent->user_data);
/* Translators: This is the default name of new directories created by the file browser pane. */
file = unique_new_name (((FileBrowserNode *) parent_node)->file, _("directory"));
file = unique_new_name (((FileBrowserNode *) parent_node)->file, _("Untitled Folder"));

if (!g_file_make_directory (file, NULL, &error))
{
Expand Down

0 comments on commit e7e404a

Please sign in to comment.