[gnome-photos/wip/facebook] error-box: Wrap the secondary error label to deal with long messages



commit 932348f9252e435c072046d3317051fac805abfa
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 20 09:32:06 2013 +0200

    error-box: Wrap the secondary error label to deal with long messages

 src/photos-error-box.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-error-box.c b/src/photos-error-box.c
index 225495f..e0e885b 100644
--- a/src/photos-error-box.c
+++ b/src/photos-error-box.c
@@ -70,6 +70,7 @@ photos_error_box_constructed (GObject *object)
 
   priv->secondary_label = gtk_label_new (NULL);
   gtk_label_set_use_markup (GTK_LABEL (priv->secondary_label), TRUE);
+  gtk_label_set_line_wrap (GTK_LABEL (priv->secondary_label), TRUE);
   gtk_widget_set_halign (priv->secondary_label, GTK_ALIGN_CENTER);
   gtk_widget_set_valign (priv->secondary_label, GTK_ALIGN_CENTER);
   gtk_container_add (GTK_CONTAINER (self), priv->secondary_label);


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