From 8150f1ab9b0164c80fb3ce68aaee87a82b9d7652 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 20 Sep 2023 09:45:25 +0600 Subject: [PATCH] Fixed global configuration status message --- source/ubl-settings-system.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/ubl-settings-system.c b/source/ubl-settings-system.c index 9b022c8..fdd95b3 100644 --- a/source/ubl-settings-system.c +++ b/source/ubl-settings-system.c @@ -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(){