diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-09-06 08:13:05 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-09-06 08:13:05 +0800 |
commit | e8648e48175c1b6d26bff5316c2c7d738245a63c (patch) | |
tree | b6dcd1e5670462fe810b90a601013556d5db2604 /calendar/gui/gncal-todo.c | |
parent | 6403bd5b4def7c610285d2aaad10e793b321091d (diff) | |
download | gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.gz gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.bz2 gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.lz gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.xz gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.zst gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.zip |
uses the new TaskEditor dialog.
2000-09-06 Damon Chaplin <damon@helixcode.com>
* gui/e-calendar-table.c (e_calendar_table_open_task): uses the new
TaskEditor dialog.
* gui/dialogs/task-editor.[hc]:
* gui/dialogs/task-editor-dialog.glade: updated. Still need to fix the
'Status' property (CalComponent doesn't support it yet), and use a
replacement for GnomeDateEdit, since we need to support setting 'None'
as the date.
2000-09-04 Damon Chaplin <damon@helixcode.com>
* gui/event-editor.c (obj_updated_cb):
(obj_removed_cb): compare the updated object's uid with the one we
are editing, and just return if it doesn't match.
2000-09-01 Damon Chaplin <damon@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_tag_calendar): added check to see
if the client has loaded successfully. Gets rid of a few warnings.
svn path=/trunk/; revision=5217
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r-- | calendar/gui/gncal-todo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index 47d63e35e9..239517ff3b 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -189,7 +189,11 @@ gncal_todo_edit (CalClient *client, CalComponent *comp) due_entry = gtk_entry_new (); cal_component_get_dtend (comp, &date); - d = icaltime_as_timet (*date.value); + /* FIXME: Does GnomeDateEdit support no time set? */ + if (date.value) + d = icaltime_as_timet (*date.value); + else + d = time (NULL); due_entry = date_edit_new (d, TRUE); gtk_box_pack_start (GTK_BOX (due_box), due_entry, TRUE, TRUE, 0); gtk_widget_show (due_entry); |