From d2324a5fe2d7a323fd3c9d370a8c55ef2fe60dc1 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 7 Mar 2025 11:34:51 +0600 Subject: [PATCH 1/2] Fixed markup messages --- source/ubl-settings-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index 921d00e..1f60850 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -821,7 +821,7 @@ void on_module_install_clicked(GtkWidget *self,dictionary *dict){ } } - gtk_label_set_text(GTK_LABEL(window->TopicLabel),action_text); + gtk_label_set_markup(GTK_LABEL(window->TopicLabel),action_text); gtk_widget_show(window->Window); if (dict->first->next->next) { yon_dictionary_free(dict->first->next->next); From 07d7e0c01bfac806a0ccd26dfc286347489e7a55 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 7 Mar 2025 12:11:05 +0600 Subject: [PATCH 2/2] Fixed custom config loading --- source/ubl-settings-kernel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index 1f60850..1d67995 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -55,13 +55,13 @@ void yon_load_proceed(YON_CONFIG_TYPE type){ if (!yon_char_is_empty(file)){ path=file; } + yon_config_clean(); + char *command = yon_config_get_custom_command(path); + yon_config_load_config(type,command,NULL); gtk_widget_destroy(dialog); } else { gtk_widget_destroy(dialog); } - yon_config_clean(); - char *command = yon_config_get_custom_command(path); - yon_config_load_config(type,command,NULL); } }