|
|
|
|
@ -41,6 +41,7 @@ void on_storage_open(GtkWidget *self, storage_config_window *window){
|
|
|
|
|
|
|
|
|
|
filechooser_window *dialog = yon_file_chooser_window_new(GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
|
|
|
|
|
yon_gtk_window_setup(GTK_WINDOW(dialog->Window),GTK_WINDOW(window->MainWindow),OPEN_EXISTING_TOOLTIP_LABEL,icon_path,"file_chooser_window");
|
|
|
|
|
gtk_file_chooser_set_create_folders(GTK_FILE_CHOOSER(dialog->MainFileChooser),1);
|
|
|
|
|
if (yon_char_is_empty(main_config.last_selection)){
|
|
|
|
|
char *user_folder_path = yon_ubl_user_get_home_directory();
|
|
|
|
|
gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog->MainFileChooser),user_folder_path);
|
|
|
|
|
|