From: Philip Chimento 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-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4c3e3df47c07d1c4d4a8fe03c315fb5a55ef08c9;hp=79e849f3294d0d7824a8a06955a6baf3f2a2a5b7;p=rodin%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. git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@56 ddfedd41-794f-dd11-ae45-00112f111e67 --- 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);