aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-03-12 16:37:12 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-03-12 16:37:12 +0800
commit6e515d204a3477cabe2d5dd934ee45406c528ab5 (patch)
treef40b26b7618d2213d021ce5069307c12be7fc2cf /calendar/gui/gncal-todo.c
parent1f7ba945b16cd5f8c01641dd864a9671d791a651 (diff)
downloadgsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.tar
gsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.tar.gz
gsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.tar.bz2
gsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.tar.lz
gsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.tar.xz
gsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.tar.zst
gsoc2013-evolution-6e515d204a3477cabe2d5dd934ee45406c528ab5.zip
Removed function now that it is no CORBA server in the GUI.
2000-03-12 Federico Mena Quintero <federico@helixcode.com> * gui/main.c (gnome_calendar_locate): Removed function now that it is no CORBA server in the GUI. (save_default_calendar): Removed function. Now the personal calendar server will take care of saving modified calendars when appropriate. (close_cmd): Do not call unregister_calendar_services(). * gui/eventedit.c (ee_ok): Do not save the calendar. * gui/gncal-day-panel.c (day_view_range_activated): Likewise. * gui/gncal-todo.c (ok_button): Likewise. (delete_todo): Likewise. * gui/gncal-full-day.c (delete_occurance): Likewise. (delete_appointment): Likewise. (unrecur_appointment): Likewise. (child_focus_out): Likewise. (update_from_drag_info): Likewise. * gui/gnome-cal.c (gnome_calendar_new): Removed obsolete call to create the CORBA server. * gui/gnome-cal.h (GnomeCalendar): Renamed `calc' field to `client'. * cal-client/cal-client.h (CalClient): Removed filename and corba_server fields. svn path=/trunk/; revision=2102
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index 87fd1b68ba..e00b851df0 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -87,7 +87,6 @@ ok_button (GtkWidget *widget, GnomeDialog *dialog)
} else
gnome_calendar_object_changed (todo->calendar, ico, CHANGE_ALL); /* ok, summary only... */
- save_default_calendar (todo->calendar);
gtk_widget_destroy (GTK_WIDGET (dialog));
}
@@ -282,8 +281,6 @@ 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
@@ -862,11 +859,11 @@ gncal_todo_update (GncalTodo *todo, iCalObject *ico, int flags)
*/
GList *l, *uids;
- uids = cal_client_get_uids (todo->calendar->calc,
+ uids = cal_client_get_uids (todo->calendar->client,
CALOBJ_TYPE_EVENT);
for (l = uids; l; l = l->next){
char *obj_string =
- cal_client_get_object (todo->calendar->calc,
+ cal_client_get_object (todo->calendar->client,
l->data);
iCalObject *obj = string_to_ical_object (obj_string);
insert_in_clist (todo, obj);