aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/summary_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/summary_dlg.c
parent9ea08d6b122297c163f9100bdcc589aa4fad4a46 (diff)
Enable word wrapping for capture-file comments.
svn path=/trunk/; revision=42835
Diffstat (limited to 'ui/gtk/summary_dlg.c')
-rw-r--r--ui/gtk/summary_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/summary_dlg.c b/ui/gtk/summary_dlg.c
index 2900ee7410..c23f239314 100644
--- a/ui/gtk/summary_dlg.c
+++ b/ui/gtk/summary_dlg.c
@@ -270,6 +270,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_)
gtk_widget_show (comment_vbox);
comment_view = gtk_text_view_new ();
+ gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(comment_view), GTK_WRAP_WORD);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (comment_view));
if(summary.opt_comment == NULL) {
gtk_text_buffer_set_text (buffer, "", -1);