diff --git a/source/libublsettings-gtk3.c b/source/libublsettings-gtk3.c index 56aa994..2161f2e 100644 --- a/source/libublsettings-gtk3.c +++ b/source/libublsettings-gtk3.c @@ -290,7 +290,9 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi int yon_window_config_load(char *path){ if(__yon_window_config_target_window){ - if (!access(path,0)){ + if (access(path,0)){ + yon_file_create_full_path(path,0777); + } __yon_window_config_file = g_key_file_new(); __yon_window_config_path=yon_char_new(path); struct passwd *user = getpwnam(yon_ubl_root_user_get()); @@ -348,9 +350,6 @@ void yon_terminal_integrated_start_shell(GtkWidget *terminal, char* command, voi pthread_create(&tid,NULL,(void *)_yon_maximize,NULL); return 1; } - } else { - // g_warning("config file were not loaded properly"); - } return 0; }