diff options
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r-- | calendar/gui/dialogs/task-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index b5e47cfdb7..6cf73a3a72 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -38,6 +38,7 @@ #include <cal-client/cal-client.h> #include "task-editor.h" #include "../calendar-config.h" +#include "../widget-util.h" typedef struct { @@ -328,10 +329,9 @@ task_editor_create_date_edit (void) { GtkWidget *dedit; - dedit = e_date_edit_new (); - /* FIXME: Set other options. */ - e_date_edit_set_time_popup_range (E_DATE_EDIT (dedit), calendar_config_get_day_start_hour (), calendar_config_get_day_end_hour ()); + dedit = date_edit_new (TRUE, TRUE); e_date_edit_set_allow_no_date_set (E_DATE_EDIT (dedit), TRUE); + return dedit; } |