diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-02-12 09:27:52 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-02-12 09:27:52 +0800 |
commit | 1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd (patch) | |
tree | ea0bfc96b420ce323dbe8afaf13c1b8ae00e6a80 /calendar/gncal-todo.c | |
parent | 27660c1d472b5a182170def1510ab70cde116fcd (diff) | |
download | gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.tar gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.tar.gz gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.tar.bz2 gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.tar.lz gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.tar.xz gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.tar.zst gsoc2013-evolution-1f3958dbd1fef814f3c7d655ff6f4bfbbf8229bd.zip |
Gnomecal now autosaves all the time.
Gnomecal now autosaves all the time.
Miguel.
svn path=/trunk/; revision=662
Diffstat (limited to 'calendar/gncal-todo.c')
-rw-r--r-- | calendar/gncal-todo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c index 33e596b203..a78bd9432b 100644 --- a/calendar/gncal-todo.c +++ b/calendar/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 |