@ -274,9 +274,13 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
char * compare_command = " " ;
char * cur_command ;
if ( ! path & & type = = YON_CONFIG_CUSTOM ) {
textdomain ( template_ui_LocaleName ) ;
GtkWidget * dialog = gtk_file_chooser_dialog_new ( template_app_information . app_title , NULL , GTK_FILE_CHOOSER_ACTION_SAVE , CANCEL_LABEL , GTK_RESPONSE_CANCEL , SAVE_LABEL , GTK_RESPONSE_ACCEPT , NULL ) ;
textdomain ( template_app_information . app_locale ) ;
GtkFileFilter * filter = gtk_file_filter_new ( ) ;
gtk_window_set_icon_name ( GTK_WINDOW ( dialog ) , yon_char_append ( " com.ublinux. " , template_app_information . app_tech_name ) ) ;
gtk_file_filter_add_pattern ( filter , " *.ini " ) ;
gtk_file_filter_set_name ( filter , " *.ini " ) ;
gtk_file_chooser_add_filter ( GTK_FILE_CHOOSER ( dialog ) , filter ) ;
int response = gtk_dialog_run ( GTK_DIALOG ( dialog ) ) ;
if ( response = = GTK_RESPONSE_ACCEPT ) {
@ -304,7 +308,6 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
char * temp = cur_command ;
cur_command = yon_config_parameter_prepare_command ( cur_command , type ! = YON_CONFIG_CUSTOM ? yon_config_get_type_path ( type ) : path , NULL , NULL ) ;
compare_command = yon_char_unite ( compare_command , ! yon_char_is_empty ( compare_command ) ? " ; " : " " , cur_command , NULL ) ;
free ( temp ) ;
}
config_compare = yon_config_get_compared ( compare_command , & compare_size ) ;
@ -698,7 +701,6 @@ template_main_window *yon_ubl_window_setup(){
if ( template_config )
yon_ubl_setup_sockets ( widgets - > PlugBox , widgets - > LeftBox , widgets - > RightBox , template_config - > socket_id , template_config - > load_socket_id , template_config - > save_socket_id ) ;
yon_window_config_setup ( GTK_WINDOW ( widgets - > Window ) ) ;
yon_window_config_load ( ui_config_path ) ;
GtkCssProvider * css = gtk_css_provider_new ( ) ;
gtk_css_provider_load_from_resource ( css , template_app_information . css_path ) ;
gtk_style_context_add_provider_for_screen ( gdk_screen_get_default ( ) ,