Switch to the newly created folder on success.

* gtk/gtkfilechooserdefault.c (edited_idle_cb): Switch to the newly
        created folder on success.


svn path=/trunk/; revision=22432
This commit is contained in:
Matthias Clasen 2009-03-01 07:33:11 +00:00
commit 1291ab4a18
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2009-03-01 Matthias Clasen <mclasen@redhat.com>
Bug 552619 – File Chooser no longer automatically enters newly created
directories
* gtk/gtkfilechooserdefault.c (edited_idle_cb): Switch to the newly
created folder on success.
2009-03-01 Matthias Clasen <mclasen@redhat.com>
Bug 573515 – po-properties/ special Makefile.in.in handling causes

View file

@ -2430,7 +2430,7 @@ edited_idle_cb (GtkFileChooserDefault *impl)
{
GError *error = NULL;
if (!g_file_make_directory (file, NULL, &error))
if (g_file_make_directory (file, NULL, &error))
change_folder_and_display_error (impl, file, FALSE);
else
error_creating_folder_dialog (impl, file, error);