Set the current dir for the gtk file chooser to user home dir instead of the current path.

This commit is contained in:
riccardom 2009-05-08 19:51:15 +00:00
parent ece807b605
commit 3fd744b810
1 changed files with 2 additions and 0 deletions

View File

@ -829,6 +829,8 @@ static void OpenNdsDialog()
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(pFileSelection), pFilter_dsgba);
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(pFileSelection), pFilter_any);
gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(pFileSelection), g_get_home_dir());
/* Showing the window */
switch(gtk_dialog_run(GTK_DIALOG(pFileSelection))) {
case GTK_RESPONSE_OK: