summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-01-03 23:45:58 +0000
committerJörg Mayer <jmayer@loplof.de>2006-01-03 23:45:58 +0000
commit7719a3b803881aaf21646a2e47228f5108909463 (patch)
treee625a1a23c9dc80fc5e9c0222f58af106c7bb375 /gtk
parent056c4085314cbc6880d68905f3b7c85e733c6a70 (diff)
downloadwireshark-7719a3b803881aaf21646a2e47228f5108909463.tar.gz
Jaap Keuter:
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. svn path=/trunk/; revision=16939
Diffstat (limited to 'gtk')
-rw-r--r--gtk/follow_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c
index 23535c1a05..c06833c00e 100644
--- a/gtk/follow_dlg.c
+++ b/gtk/follow_dlg.c
@@ -293,6 +293,7 @@ follow_stream_cb(GtkWidget * w, gpointer data _U_)
#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;