Clear the current_folder_path if loading yields an error

Signed-off-by: Federico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=19852
This commit is contained in:
Federico Mena Quintero 2008-03-13 00:46:14 +00:00 committed by Federico Mena Quintero
parent 7efced5687
commit c406ebcc44

View File

@ -1283,6 +1283,9 @@ load_directory_get_folder_callback (GtkFileSystemHandle *handle,
pop_up_completion_feedback (chooser_entry, msg);
g_free (msg);
}
gtk_file_path_free (chooser_entry->current_folder_path);
chooser_entry->current_folder_path = NULL;
}
if (cancelled || error)