From baef3c66194214f38ab263a46722b6bd8b2fa156 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Tue, 25 Nov 2008 00:46:20 -0200 Subject: [PATCH] Wrap the text in the textview --- chat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/chat.c b/chat.c index 0255330..253340b 100644 --- a/chat.c +++ b/chat.c @@ -88,6 +88,7 @@ hc_xmpp_chat_open (hc_xmpp_t *xmpp) g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (hc_xmpp_chat_send), xmpp); textview = gtk_text_view_new (); + gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (textview), GTK_WRAP_WORD_CHAR); gtk_container_add (GTK_CONTAINER (window), vbox); gtk_container_add (GTK_CONTAINER (vbox), textview); gtk_container_add (GTK_CONTAINER (vbox), hbox); -- 2.20.1