r19620 - gnucash/trunk/src/gnome - Add word wrapping to very long label in dialog-tax-info

Christian Stimming cstim at code.gnucash.org
Tue Sep 28 16:35:16 EDT 2010


Author: cstim
Date: 2010-09-28 16:35:16 -0400 (Tue, 28 Sep 2010)
New Revision: 19620
Trac: http://svn.gnucash.org/trac/changeset/19620

Modified:
   gnucash/trunk/src/gnome/dialog-tax-info.c
Log:
Add word wrapping to very long label in dialog-tax-info

Modified: gnucash/trunk/src/gnome/dialog-tax-info.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-tax-info.c	2010-09-28 02:53:44 UTC (rev 19619)
+++ gnucash/trunk/src/gnome/dialog-tax-info.c	2010-09-28 20:35:16 UTC (rev 19620)
@@ -1146,6 +1146,7 @@
     gtk_container_add (GTK_CONTAINER (alignment), type_combo);
     gtk_table_attach_defaults (GTK_TABLE (table), alignment, 1, 2, 1, 2);
     label = gtk_label_new (_("CAUTION: If you set TXF categories, and later change 'Type', you will need to manually reset those categories one at a time"));
+    gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
     gtk_misc_set_alignment (GTK_MISC (label), 0.50, 0.50);
     alignment = gtk_alignment_new(0.50, 0.50, 1.00, 0.00);
     gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 6, 6, 4, 4);



More information about the gnucash-changes mailing list