diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 91ce2f5..a60d1e9 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -92,6 +92,12 @@ void on_save_parameters(GtkWidget *self, saving_window *window){ saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){ if (((type==YON_CONFIG_LOCAL&& main_config.load_mode==1)||(type==YON_CONFIG_GLOBAL&& main_config.load_mode==0))){ yon_config_save_registered(path); + if (type == YON_CONFIG_GLOBAL) + yon_ubl_status_box_render(GLOBAL_SAVE_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); + else if (type == YON_CONFIG_LOCAL) + yon_ubl_status_box_render(LOCAL_SAVE_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); + else if (type == YON_CONFIG_BOTH) + yon_ubl_status_box_render(GLOBAL_LOCAL_SAVE_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); return NULL; } else { char *config_to_save = NULL;