forked from osmocom/wireshark
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
This commit is contained in:
parent
056c408531
commit
7719a3b803
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue