|
|
|
|
@ -208,7 +208,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
|
g_signal_connect(G_OBJECT(window->SaveButton),"clicked", G_CALLBACK(on_save_parameters),window);
|
|
|
|
|
g_signal_connect(G_OBJECT(window->ToggleCell),"toggled", G_CALLBACK(on_save_window_parameter_switched),window);
|
|
|
|
|
int config_size=0;
|
|
|
|
|
config_str config_strings = yon_config_get_all(&config_size);
|
|
|
|
|
config_str config_strings = yon_config_get_all_no_ignored(&config_size);
|
|
|
|
|
if (config_strings){
|
|
|
|
|
GtkTreeIter iter;
|
|
|
|
|
gtk_tree_view_set_model(GTK_TREE_VIEW(window->ParametersTree),NULL);
|
|
|
|
|
@ -217,7 +217,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
|
int compare_keys_size=compare_size;
|
|
|
|
|
yon_char_parsed_divide_search_full(compare_keys,compare_keys_size,"=",-1);
|
|
|
|
|
int config_keys_size=0;
|
|
|
|
|
config_str config_keys = yon_config_get_all_keys(&config_keys_size);
|
|
|
|
|
config_str config_keys = yon_config_get_all_keys_no_ignored(&config_keys_size);
|
|
|
|
|
int final_size=0;
|
|
|
|
|
GdkRGBA rgba;
|
|
|
|
|
rgba.alpha=0.8;
|
|
|
|
|
@ -226,6 +226,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
|
rgba.green=0.65;
|
|
|
|
|
char *rgba_string = gdk_rgba_to_string(&rgba);
|
|
|
|
|
for (int i=0;i<compare_keys_size;i++){
|
|
|
|
|
if (!yon_config_check_ignore(compare_keys[i])){
|
|
|
|
|
gtk_list_store_append(window->list,&iter);
|
|
|
|
|
gtk_list_store_set(window->list,&iter,0,0,1,compare_keys[i],5,1,-1);
|
|
|
|
|
for (int j=0;j<compare_size;j++){
|
|
|
|
|
@ -239,7 +240,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
|
free(compare_value);
|
|
|
|
|
free(compare_name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
char *name,*value;
|
|
|
|
|
for (int i=0;i<config_keys_size;i++){
|
|
|
|
|
|