From 1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Fri, 12 Feb 1999 01:27:52 +0000 Subject: Gnomecal now autosaves all the time. Gnomecal now autosaves all the time. Miguel. svn path=/trunk/; revision=662 --- calendar/gui/gncal-todo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/gui/gncal-todo.c') diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index 33e596b203..a78bd9432b 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -59,9 +59,10 @@ ok_button (GtkWidget *widget, GnomeDialog *dialog) if (ico->new) { gnome_calendar_add_object (todo->calendar, ico); ico->new = FALSE; - } else + } else gnome_calendar_object_changed (todo->calendar, ico, CHANGE_ALL); /* ok, summary only... */ + save_default_calendar (todo->calendar); gtk_widget_destroy (GTK_WIDGET (dialog)); } @@ -170,6 +171,7 @@ static void delete_todo (GncalTodo *todo) { gnome_calendar_remove_object (todo->calendar, get_clist_selected_ico (todo->clist)); + save_default_calendar (todo->calendar); } static void -- cgit