aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-page.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-08-12 06:35:58 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-08-12 06:35:58 +0800
commit54ebf885b1dc0211bb2c30d7b58afd32b5a13470 (patch)
tree55b11e3a78208094ed686ab192bc848efd33d0c5 /calendar/gui/dialogs/task-page.c
parentc02be949db38a653e1338c6126dde0b61dcf0dcc (diff)
downloadgsoc2013-evolution-54ebf885b1dc0211bb2c30d7b58afd32b5a13470.tar.gz
gsoc2013-evolution-54ebf885b1dc0211bb2c30d7b58afd32b5a13470.tar.zst
gsoc2013-evolution-54ebf885b1dc0211bb2c30d7b58afd32b5a13470.zip
turn on word-wrap for the description fields. Fixes bug #6821.
2001-08-11 Damon Chaplin <damon@ximian.com> * gui/dialogs/event-page.c (init_widgets): * gui/dialogs/task-page.c (init_widgets): turn on word-wrap for the description fields. Fixes bug #6821. svn path=/trunk/; revision=11922
Diffstat (limited to 'calendar/gui/dialogs/task-page.c')
-rw-r--r--calendar/gui/dialogs/task-page.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index edf037ef98..d2f4a557c2 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <gtk/gtksignal.h>
+#include <gtk/gtktext.h>
#include <gtk/gtktogglebutton.h>
#include <gtk/gtkspinbutton.h>
#include <gtk/gtkoptionmenu.h>
@@ -700,6 +701,9 @@ init_widgets (TaskPage *tpage)
gtk_signal_connect (GTK_OBJECT (priv->summary), "changed",
GTK_SIGNAL_FUNC (summary_changed_cb), tpage);
+ /* Description - turn on word wrap. */
+ gtk_text_set_word_wrap (GTK_TEXT (priv->description), TRUE);
+
/* Dates */
gtk_signal_connect (GTK_OBJECT (priv->start_date), "changed",
GTK_SIGNAL_FUNC (date_changed_cb), tpage);