From: fliep Date: Tue, 19 May 2009 20:53:26 +0000 (+0000) Subject: Turned off line wrapping on text grids. They don't need it, since they're always... X-Git-Tag: v0.9~409 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=ce6091da26e2bf62d505a0ad093afa4a7d94f7b4;p=projects%2Fchimara%2Fchimara.git 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. --- 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);