aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/edit_packet_comment_dlg.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-05-24 21:35:41 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-05-24 21:35:41 +0000
commit373e0925f3d809e948651f9239c111034ef17920 (patch)
treed40cf043ba4a0a1701d30801c0daac815d82b702 /ui/gtk/edit_packet_comment_dlg.c
parent9ea08d6b122297c163f9100bdcc589aa4fad4a46 (diff)
Enable word wrapping for capture-file comments.
svn path=/trunk/; revision=42835
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c
index 2349d4f692..2549442400 100644
--- a/ui/gtk/edit_packet_comment_dlg.c
+++ b/ui/gtk/edit_packet_comment_dlg.c
@@ -171,8 +171,6 @@ edit_packet_comment_dlg (GtkAction *action _U_, gpointer data _U_)
gtk_widget_show (edit_or_add_pkt_comment_dlg);
-
-
}
static void
@@ -213,6 +211,7 @@ edit_capture_dlg_launch (void)
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 */