|
|
|
|
@ -1689,6 +1689,11 @@ void yon_terminal_integrated_start(GtkWidget *terminal, char* command, void *end
|
|
|
|
|
g_key_file_set_integer(__yon_window_config_file,"window","WindowHeight",__yon_main_window_config.height);
|
|
|
|
|
g_key_file_set_integer(__yon_window_config_file,"window","fullscreen",__yon_main_window_config.fullscreen);
|
|
|
|
|
dictionary *dict=NULL;
|
|
|
|
|
if (__yon_main_window_config.deleted_parameters)
|
|
|
|
|
for_dictionaries(dict,__yon_main_window_config.deleted_parameters){
|
|
|
|
|
__yon_custom_parameter *param = yon_dictionary_get_data(dict,__yon_custom_parameter*);
|
|
|
|
|
g_key_file_remove_key(__yon_window_config_file,param->section,param->parameter_name,NULL);
|
|
|
|
|
}
|
|
|
|
|
if (__yon_main_window_config.custom_listeners)
|
|
|
|
|
for_dictionaries(dict,__yon_main_window_config.custom_listeners){
|
|
|
|
|
__yon_listener_parameter *param = yon_dictionary_get_data(dict,__yon_listener_parameter*);
|
|
|
|
|
@ -1724,11 +1729,7 @@ void yon_terminal_integrated_start(GtkWidget *terminal, char* command, void *end
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (__yon_main_window_config.deleted_parameters)
|
|
|
|
|
for_dictionaries(dict,__yon_main_window_config.deleted_parameters){
|
|
|
|
|
__yon_custom_parameter *param = yon_dictionary_get_data(dict,__yon_custom_parameter*);
|
|
|
|
|
g_key_file_remove_key(__yon_window_config_file,param->section,param->parameter_name,NULL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
g_key_file_save_to_file(__yon_window_config_file,__yon_window_config_path,NULL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|