Fixed global configuration status message

pull/16/head
parent d147b25a19
commit 8150f1ab9b

@ -104,7 +104,6 @@ void on_about(){
void yon_load_proceed(YON_CONFIG_TYPE type){
if (yon_config_load_register(type,"config",hostname_parameter,"config",id_parameter,"locale",console_font_parameter,"locale",language_parameter,NULL))
yon_ubl_status_box_render(LOCAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
else
yon_ubl_status_box_render(LOAD_FAILED_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);
@ -147,7 +146,7 @@ void yon_config_local_load(GtkWidget *self, main_window *widgets){
if (code&&!strcmp(code,lang)) gtk_combo_box_set_active_iter(GTK_COMBO_BOX(widgets->LanguageCombo),&iter);
}
}
yon_ubl_status_box_render(LOCAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
}
void yon_config_global_load(GtkWidget *self, main_window *widgets){
@ -186,7 +185,7 @@ void yon_config_global_load(GtkWidget *self, main_window *widgets){
else { gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->LanguageCombo),0); }
}
}
yon_ubl_status_box_render(GLOBAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
}
void yon_config_global_local_save(){

Loading…
Cancel
Save