* Fixes NB#104249, do not allow to go forward when mandatory data is missing in easys...
[modest] / src / hildon2 / modest-connection-specific-smtp-window.c
index b6b5c98..ca1833f 100644 (file)
@@ -388,16 +388,10 @@ modest_connection_specific_smtp_window_init (ModestConnectionSpecificSmtpWindow
        //gtk_vbox_new (FALSE, MODEST_MARGIN_DEFAULT);
 
        /* Introductory note: */
-       /* TODO: For some reason this label does not wrap. It is truncated. */
        GtkWidget *label = gtk_label_new(_("mcen_ia_optionalsmtp_note"));
        gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
        gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
-       /* So that it is shown without being truncated: */
-       /* gtk_label_set_max_width_chars (GTK_LABEL (label), 20); */
-       /* The documentation for gtk_label_set_line_wrap() says that we must 
-        * call gtk_widget_set_size_request() with a hard-coded width, 
-        * though I wonder why gtk_label_set_max_width_chars() isn't enough. */
-       /* gtk_widget_set_size_request (label, 400, -1); */
+       gtk_widget_set_size_request (label, 600, -1);
        gtk_widget_show (label);
        gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, MODEST_MARGIN_HALF);