diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-03-12 16:37:12 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-03-12 16:37:12 +0800 |
commit | 6e515d204a3477cabe2d5dd934ee45406c528ab5 (patch) | |
tree | f40b26b7618d2213d021ce5069307c12be7fc2cf /calendar/gui/gncal-full-day.c | |
parent | 1f7ba945b16cd5f8c01641dd864a9671d791a651 (diff) | |
download | gsoc2013-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-full-day.c')
-rw-r--r-- | calendar/gui/gncal-full-day.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c index f402707e73..05c863058d 100644 --- a/calendar/gui/gncal-full-day.c +++ b/calendar/gui/gncal-full-day.c @@ -439,7 +439,6 @@ delete_occurance (GtkWidget *widget, gpointer data) *t = child->start; ical->exdate = g_list_prepend(ical->exdate, t); gnome_calendar_object_changed (gcal, child->ico, CHANGE_DATES); - save_default_calendar (gcal); } @@ -454,7 +453,6 @@ delete_appointment (GtkWidget *widget, gpointer data) fullday = GNCAL_FULL_DAY (child->widget->parent); gnome_calendar_remove_object (fullday->calendar, child->ico); - save_default_calendar (fullday->calendar); } static void @@ -479,7 +477,6 @@ unrecur_appointment (GtkWidget *widget, gpointer data) gnome_calendar_object_changed (fullday->calendar, child->ico, CHANGE_ALL); gnome_calendar_add_object (fullday->calendar, new); - save_default_calendar (fullday->calendar); } static void @@ -634,7 +631,6 @@ child_focus_out (GtkWidget *widget, GdkEventFocus *event, gpointer data) fullday = GNCAL_FULL_DAY (widget->parent); gnome_calendar_object_changed (fullday->calendar, child->ico, CHANGE_SUMMARY); - save_default_calendar (fullday->calendar); return FALSE; } @@ -1846,7 +1842,6 @@ update_from_drag_info (GncalFullDay *fullday) /* Notify calendar of change */ gnome_calendar_object_changed (fullday->calendar, di->child->ico, CHANGE_DATES); - save_default_calendar (fullday->calendar); } static gint @@ -2134,7 +2129,7 @@ gncal_full_day_update (GncalFullDay *fullday, iCalObject *ico, int flags) g_return_if_fail (fullday != NULL); g_return_if_fail (GNCAL_IS_FULL_DAY (fullday)); - if (!fullday->calendar->calc) + if (!fullday->calendar->client) return; /* Try to find child that changed */ |