[gnome-software] Wrap descriptions where required



commit e6c8b455004f39d13ec7201f0c219658ad71e194
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jan 29 10:29:43 2013 +0000

    Wrap descriptions where required

 src/gs-app-widget.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app-widget.c b/src/gs-app-widget.c
index 8d4e794..9416c21 100644
--- a/src/gs-app-widget.c
+++ b/src/gs-app-widget.c
@@ -425,6 +425,8 @@ gs_app_widget_init (GsAppWidget *app_widget)
 	gtk_box_pack_start (GTK_BOX (box),
 			    GTK_WIDGET (priv->widget_description_more),
 			    TRUE, TRUE, 0);
+	gtk_label_set_line_wrap_mode (priv->widget_description_more,
+				      PANGO_WRAP_WORD);
 
 	/* button */
 	priv->widget_button = gtk_button_new_with_label ("button");



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