diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-12-26 22:38:31 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-12-26 22:38:31 +0000 |
commit | 6b44d5d485840ebb22403f291813713128ad7e4d (patch) | |
tree | 0da5a6aef53cfb0b2e95a641c1f4cc533edfce49 | |
parent | cb66378e4b7bdadc8133dad02f2561e7f38041ba (diff) |
Set wrap mode for notes window
-rw-r--r-- | src/notes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notes.c b/src/notes.c index 4e58835..71a6b1a 100644 --- a/src/notes.c +++ b/src/notes.c @@ -216,6 +216,7 @@ void open_notes(struct presentation *p) pango_font_description_free(desc); gtk_text_view_set_left_margin(GTK_TEXT_VIEW(n->v), 30); gtk_text_view_set_right_margin(GTK_TEXT_VIEW(n->v), 30); + gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(n->v), GTK_WRAP_WORD_CHAR); gtk_container_add(GTK_CONTAINER(sc), n->v); g_signal_connect(G_OBJECT(n->v), "destroy", |