[gnome-software] trivial: Allow markup in labels



commit 4e0337b2370a39a80bb9ad0281e7ee5ae433e195
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jan 24 11:40:19 2013 +0000

    trivial: Allow markup in labels

 src/gs-app-widget.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-app-widget.c b/src/gs-app-widget.c
index 107856a..7d9a682 100644
--- a/src/gs-app-widget.c
+++ b/src/gs-app-widget.c
@@ -67,9 +67,9 @@ gs_app_widget_refresh (GsAppWidget *app_widget)
 {
 	GsAppWidgetPrivate *priv = app_widget->priv;
 
-	gtk_label_set_label (GTK_LABEL (priv->widget_name), priv->name);
-	gtk_label_set_label (GTK_LABEL (priv->widget_description), priv->description);
-	gtk_label_set_label (GTK_LABEL (priv->widget_description_more), priv->description_more);
+	gtk_label_set_markup (GTK_LABEL (priv->widget_name), priv->name);
+	gtk_label_set_markup (GTK_LABEL (priv->widget_description), priv->description);
+	gtk_label_set_markup (GTK_LABEL (priv->widget_description_more), priv->description_more);
 	gtk_label_set_label (GTK_LABEL (priv->widget_status), priv->status);
 	gtk_label_set_label (GTK_LABEL (priv->widget_version), priv->version);
 	gtk_image_set_from_pixbuf (GTK_IMAGE (priv->widget_image), priv->pixbuf);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]