From 4c3e3df47c07d1c4d4a8fe03c315fb5a55ef08c9 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Tue, 19 May 2009 20:53:26 +0000 Subject: [PATCH] Turned off line wrapping on text grids. They don't need it, since they're always the correct size, and it was causing them to wrap sometimes when the width of the text was exactly the width of the window. git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@56 ddfedd41-794f-dd11-ae45-00112f111e67 --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 2f3c602..aa894c6 100644 --- a/src/window.c +++ b/src/window.c @@ -417,7 +417,7 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, { GtkWidget *textview = gtk_text_view_new(); - gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW(textview), GTK_WRAP_CHAR ); + gtk_text_view_set_wrap_mode( GTK_TEXT_VIEW(textview), GTK_WRAP_NONE ); gtk_text_view_set_editable( GTK_TEXT_VIEW(textview), FALSE ); gtk_widget_show(textview); -- 2.30.2