aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-08-11 05:43:22 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-08-11 05:43:22 +0800
commitadc07dd4d08a53f8167ebf033381992e952d40e8 (patch)
treec01adc2931d989817a0e23a8d5a0476d346c41aa /calendar/gui/gnome-cal.h
parent0aed413e61ead24e0bf3811a4d77f2caf4145f33 (diff)
downloadgsoc2013-evolution-adc07dd4d08a53f8167ebf033381992e952d40e8.tar.gz
gsoc2013-evolution-adc07dd4d08a53f8167ebf033381992e952d40e8.tar.zst
gsoc2013-evolution-adc07dd4d08a53f8167ebf033381992e952d40e8.zip
New function. Mostly moved over from
2000-08-10 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_new_appointment): New function. Mostly moved over from calendar-commands.c:display_objedit(). * gui/calendar-commands.c (calendar_iterate): Removed. Wheee! (display_objedit): Removed. (new_appointment_cb): New function. Just call gnome_calendar_new_appointment(). (display_objedit_today): Removed. (calendar_control_activate): Removed the "New appointment for today" option, since it is pretty useless. svn path=/trunk/; revision=4707
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index f7405d8b06..df087395e1 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -104,6 +104,8 @@ void gnome_calendar_set_selected_time_range (GnomeCalendar *gcal,
void gnome_calendar_edit_object (GnomeCalendar *gcal,
CalComponent *comp);
+void gnome_calendar_new_appointment (GnomeCalendar *gcal);
+
/* Returns the selected time range for the current view. Note that this may be
different from the fields in the GnomeCalendar, since the view may clip
this or choose a more appropriate time. */