[gnome-software/gnome-42: 1/3] gs-app-details-page: Set update details markup as markup, not as plain text
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-42: 1/3] gs-app-details-page: Set update details markup as markup, not as plain text
- Date: Thu, 14 Jul 2022 10:53:59 +0000 (UTC)
commit 793cd28dce8d143ffa4946254a984f7fc278d9f0
Author: Milan Crha <mcrha redhat com>
Date: Thu Jul 14 07:43:50 2022 +0200
gs-app-details-page: Set update details markup as markup, not as plain text
Otherwise the markup-escaped text is shown as escape sequences,
instead of human-readable text.
This had been reported downstream at:
https://bugzilla.redhat.com/show_bug.cgi?id=2106872
src/gs-app-details-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-app-details-page.c b/src/gs-app-details-page.c
index 6eb39317d..c60c47f6b 100644
--- a/src/gs-app-details-page.c
+++ b/src/gs-app-details-page.c
@@ -156,7 +156,7 @@ set_updates_description_ui (GsAppDetailsPage *page, GsApp *app)
* a description for the update */
update_details = _("No update description available.");
}
- gtk_label_set_label (GTK_LABEL (page->label_details), update_details);
+ gtk_label_set_markup (GTK_LABEL (page->label_details), update_details);
adw_status_page_set_title (ADW_STATUS_PAGE (page->status_page), gs_app_get_name (app));
adw_status_page_set_description (ADW_STATUS_PAGE (page->status_page), gs_app_get_summary (app));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]