From 0035f69115239bbf5ca680701348166b68052690 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 3 Dec 2024 10:03:29 +0600 Subject: [PATCH] Added cursive for attention string --- source/ubl-settings-kernel.c | 2 +- source/ubl-strings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index 808342a..1e42b76 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -737,7 +737,7 @@ void on_package_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); yon_dictionary_add_or_create_if_exists_with_data(dict,"window",window); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 4c4ec3e..607ae2d 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -62,7 +62,7 @@ #define PACKAGE_REMOVED_BUT_NOT_DISABLED_LABEL _("The package with the module has been removed, but the module is not disabled from the system, as it is used by other system programs. After rebooting, the module will be disabled and removed.") #define KERNEL_MODULE_INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install kernel module")," ",target,"?",NULL) -#define KERNEL_PACKAGE_INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install kernel package")," ",target,"?\n",KERNEL_PACKAGE_INSTALL_ATTENTION_LABEL,NULL) +#define KERNEL_PACKAGE_INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install kernel package")," ",target,"?\n",KERNEL_PACKAGE_INSTALL_ATTENTION_LABEL,"",NULL) #define KERNEL_MODULE_UPDATE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to update kernel module")," ",target,"?",NULL) #define KERNEL_PACKAGE_UPDATE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to update kernel package")," ",target,"?",NULL) #define KERNEL_MODULE_REMOVE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to remove kernel module")," ",target,"?",NULL)