Hi list, Browsing through the wishlist I came across this old one by Steve Brown: ------8<------ The GTK1 UI wordwraps assembled TCP streams, the GTK2 UI doesn't, but should also. Not wrapping makes reading any protocol that lacks linebreaks virtually impossible (XML, etc.) as it all ends up on one line. I'm tired of having to install the GTK1 UI :P ------8<------ It seems like a simple request. The oneliner patch implements this wish. Maybe someone feels the need to make it a preference or selectable. Be my guest :-) Thanx, Jaap
Index: gtk/follow_dlg.c
===================================================================
--- gtk/follow_dlg.c (revision 16934)
+++ gtk/follow_dlg.c (working copy)
@@ -293,6 +293,7 @@
#else
text = gtk_text_view_new();
gtk_text_view_set_editable(GTK_TEXT_VIEW(text), FALSE);
+ gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text), GTK_WRAP_WORD_CHAR);
#endif
gtk_container_add(GTK_CONTAINER(txt_scrollw), text);
follow_info->text = text;
Powered by MHonArc 2.6.10