|
|
|
@ -430,7 +430,11 @@ void yon_save_window_loaded_config_init(template_saving_window *window, struct l
|
|
|
|
GtkTreeIter iter;
|
|
|
|
GtkTreeIter iter;
|
|
|
|
if (status==0||status==-2) status = 0;
|
|
|
|
if (status==0||status==-2) status = 0;
|
|
|
|
else status=1;
|
|
|
|
else status=1;
|
|
|
|
char *compare_string = yon_char_unite("\n",(char*)current->data,NULL);
|
|
|
|
char *old_val = yon_char_new(current->data);
|
|
|
|
|
|
|
|
if (strstr(old_val,"&")) {old_val = yon_char_replace(old_val,"&","\003");old_val = yon_char_replace(old_val,"\003","&");}
|
|
|
|
|
|
|
|
if (strstr(old_val,">")) old_val = yon_char_replace(old_val,">","<");
|
|
|
|
|
|
|
|
if (strstr(old_val,"<")) old_val = yon_char_replace(old_val,"<",">");
|
|
|
|
|
|
|
|
char *compare_string = yon_char_unite("\n",(char*)old_val,NULL);
|
|
|
|
gtk_list_store_append(window->list,&iter);
|
|
|
|
gtk_list_store_append(window->list,&iter);
|
|
|
|
gtk_list_store_set(window->list,&iter,0,status,1,current->key,3,(char*)current->data,4,compare_string,6,1,7,yon_config_get_section_for_key(current->key),-1);
|
|
|
|
gtk_list_store_set(window->list,&iter,0,status,1,current->key,3,(char*)current->data,4,compare_string,6,1,7,yon_config_get_section_for_key(current->key),-1);
|
|
|
|
free(compare_string);
|
|
|
|
free(compare_string);
|
|
|
|
|