diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-06-02 13:48:02 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-06-02 13:48:02 +0800 |
commit | 9717e6f9efc0f5acfb0c15e576a703e02c0cd753 (patch) | |
tree | 4a265688162e8febcf3adfb8b8c2ead0c525330b /calendar/gui/gnome-cal.h | |
parent | ad538c17436859d35fb80b6cfc7692b7064f7125 (diff) | |
download | gsoc2013-evolution-9717e6f9efc0f5acfb0c15e576a703e02c0cd753.tar.gz gsoc2013-evolution-9717e6f9efc0f5acfb0c15e576a703e02c0cd753.tar.zst gsoc2013-evolution-9717e6f9efc0f5acfb0c15e576a703e02c0cd753.zip |
Implemented. (gnome_calendar_add_object): Removed function, since it was
2000-06-02 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (save_ical_object_cb): Implemented.
(gnome_calendar_add_object): Removed function, since it was
identical to gnome_calendar_update_object(). Modified the rest
of the code to use only the latter.
(gnome_calendar_remove_object): Be more paranoid about the UID.
(gnome_calendar_update_object): Ditto. Also, renamed this
function from gnome_calendar_object_changed(), for consistency
with the lower-level CalClient interface.
* gui/event-editor.c (event_editor_class_init): New
"save_ical_object" signal to ask that our parent store the
calendar object to the backend.
(save_ical_object): New function to save the calendar object,
actually if just emits the signal.
(file_save_cb): Implemented.
(dialog_to_ical_object): We want priv->
alarm_program_run_program_entry (i.e. the entry inside the
GnomeFileEntry), not the file entry itself.
(dialog_to_ical_object): Only insert the recurrence ending date if
the event is recurrent!
svn path=/trunk/; revision=3380
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r-- | calendar/gui/gnome-cal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index e6d01b8567..a6f8a342ff 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -79,8 +79,8 @@ int gnome_calendar_open (GnomeCalendar *gcal, int gnome_calendar_create (GnomeCalendar *gcal, char *file); */ -void gnome_calendar_add_object (GnomeCalendar *gcal, - iCalObject *obj); +void gnome_calendar_update_object (GnomeCalendar *gcal, + iCalObject *obj); void gnome_calendar_remove_object (GnomeCalendar *gcal, iCalObject *obj); void gnome_calendar_next (GnomeCalendar *gcal); @@ -111,8 +111,6 @@ void gnome_calendar_get_current_time_range (GnomeCalendar *gcal, time_t *start_time, time_t *end_time); -void gnome_calendar_object_changed (GnomeCalendar *gcal, - iCalObject *obj); /* Notifies the calendar that the time format has changed and it must update all its views */ void gnome_calendar_time_format_changed (GnomeCalendar *gcal); |