X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-connection-specific-smtp-window.c;h=ca1833f06435a37b920ddfa33cca0c2f05dad072;hb=c712ba618d30859f259b2b4286023fcbeb7e32ed;hp=b6b5c98a9d3158574f7b7143c31cda36275b2885;hpb=a6c20a9ecb78c19d319ac7cc13313921f557ec50;p=modest diff --git a/src/hildon2/modest-connection-specific-smtp-window.c b/src/hildon2/modest-connection-specific-smtp-window.c index b6b5c98..ca1833f 100644 --- a/src/hildon2/modest-connection-specific-smtp-window.c +++ b/src/hildon2/modest-connection-specific-smtp-window.c @@ -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);