[almanah] Wrap text when adding a new note definition
- From: Philip Withnall <pwithnall src gnome org>
- To: svn-commits-list gnome org
- Subject: [almanah] Wrap text when adding a new note definition
- Date: Sun, 3 May 2009 12:15:16 -0400 (EDT)
commit 45cee2421c0c70c8d3964818a70c886755053fa5
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun May 3 17:14:51 2009 +0100
Wrap text when adding a new note definition
---
src/definitions/note.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/definitions/note.c b/src/definitions/note.c
index a664023..f69db11 100644
--- a/src/definitions/note.c
+++ b/src/definitions/note.c
@@ -93,6 +93,7 @@ note_build_dialog (AlmanahDefinition *definition, GtkVBox *parent_vbox)
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_SHADOW_IN);
priv->text_view = gtk_text_view_new ();
+ gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (priv->text_view), GTK_WRAP_WORD_CHAR);
gtk_container_add (GTK_CONTAINER (scrolled_window), priv->text_view);
/* Initialise the dialogue with the definition's current values */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]