aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/edit_packet_comment_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-05-24 19:18:31 +0000
committerGuy Harris <guy@alum.mit.edu>2012-05-24 19:18:31 +0000
commit0d6e9145beb144485257ceeb42aeb79f0151b6cf (patch)
tree4c1a9448fbafa1ef542a0e548b358f2c235f1699 /ui/gtk/edit_packet_comment_dlg.c
parenta4bbd97979922583244fb69040f96f39dc58d325 (diff)
Word-wrap comments in the display.
svn path=/trunk/; revision=42833
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c
index 2fa8705e5f..2349d4f692 100644
--- a/ui/gtk/edit_packet_comment_dlg.c
+++ b/ui/gtk/edit_packet_comment_dlg.c
@@ -131,6 +131,7 @@ edit_packet_comment_dlg (GtkAction *action _U_, gpointer data _U_)
gtk_widget_show (vbox);
view = gtk_text_view_new ();
+ gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(view), GTK_WRAP_WORD);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
/* Get the comment */