Set the current dir for the gtk file chooser to user home dir instead of the current path.
This commit is contained in:
parent
ece807b605
commit
3fd744b810
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue