[gnome-software/155-allow-some-markup-in-release-notes-in-appdata] gs-app-version-history-row: Use markup for the version history description
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/155-allow-some-markup-in-release-notes-in-appdata] gs-app-version-history-row: Use markup for the version history description
- Date: Thu, 4 Nov 2021 09:18:39 +0000 (UTC)
commit 4c35fb7624187b3dd3505ac9ff3706cdb0e3d15b
Author: Milan Crha <mcrha redhat com>
Date: Thu Nov 4 10:16:46 2021 +0100
gs-app-version-history-row: Use markup for the version history description
The plugins provide the markup now, thus draw it that way.
src/gs-app-version-history-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-app-version-history-row.c b/src/gs-app-version-history-row.c
index 21541ea9f..f42972d0a 100644
--- a/src/gs-app-version-history-row.c
+++ b/src/gs-app-version-history-row.c
@@ -59,7 +59,7 @@ gs_app_version_history_row_set_info (GsAppVersionHistoryRow *row,
g_autofree char *version_tmp = NULL;
version_tmp = g_strdup_printf (_("New in Version %s"), version_number);
gtk_label_set_label (GTK_LABEL (row->version_number_label), version_tmp);
- gtk_label_set_label (GTK_LABEL (row->version_description_label), version_description);
+ gtk_label_set_markup (GTK_LABEL (row->version_description_label), version_description);
gtk_style_context_remove_class (gtk_widget_get_style_context
(row->version_description_label), "dim-label");
} else {
g_autofree char *version_tmp = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]