diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 50b1fa3ba7..bae084d526 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -711,7 +711,7 @@ summary_changed_cb (GtkEditable *editable, gpointer data) if (priv->updating) return; - summary = e_dialog_editable_get (editable); + summary = e_dialog_editable_get (GTK_WIDGET (editable)); comp_editor_page_notify_summary_changed (COMP_EDITOR_PAGE (epage), summary); g_free (summary); @@ -1041,6 +1041,9 @@ init_widgets (EventPage *epage) gtk_signal_connect (GTK_OBJECT (priv->summary), "changed", GTK_SIGNAL_FUNC (summary_changed_cb), epage); + /* Description - turn on word wrap. */ + gtk_text_set_word_wrap (GTK_TEXT (priv->description), TRUE); + /* Start and end times */ gtk_signal_connect (GTK_OBJECT (priv->start_time), "changed", GTK_SIGNAL_FUNC (date_changed_cb), epage); 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); |