changeset 1384:99eae1622e0c

enable wrap mode in comment pane
author nadvornik
date Fri, 06 Mar 2009 14:42:32 +0000
parents 3c9abbc05792
children b4e6fee484f7
files src/bar_comment.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar_comment.c	Fri Mar 06 14:24:11 2009 +0000
+++ b/src/bar_comment.c	Fri Mar 06 14:42:32 2009 +0000
@@ -243,6 +243,7 @@
 	gtk_widget_show(scrolled);
 
 	pcd->comment_view = gtk_text_view_new();
+	gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(pcd->comment_view), GTK_WRAP_WORD);
 	gtk_container_add(GTK_CONTAINER(scrolled), pcd->comment_view);
 	g_signal_connect(G_OBJECT(pcd->comment_view), "populate-popup",
 			 G_CALLBACK(bar_pane_comment_populate_popup), pcd);