diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-12-23 01:29:39 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-12-23 01:29:39 +0800 |
commit | 4369c400fc801eef03a6fdda2b5256972f018246 (patch) | |
tree | e6b3b8486921d9a155026b3a0e6f3d11c221596f /doc/devel | |
parent | 8acc182b76bc6987c140fb49e83405246d61d0e8 (diff) | |
download | gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.tar gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.tar.gz gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.tar.bz2 gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.tar.lz gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.tar.xz gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.tar.zst gsoc2013-evolution-4369c400fc801eef03a6fdda2b5256972f018246.zip |
Alarm trigger queueing for the GUI part.
2000-12-21 Federico Mena Quintero <federico@helixcode.com>
Alarm trigger queueing for the GUI part.
* gui/alarm-notify.[ch]: New files with the high-level alarm
notification system; mostly moved over from gnome-cal.c. The
low-level timer stuff is still in alarm.[ch].
* gui/alarm-notify.c (alarm_notify_init): New function to
initialize the alarm notification system.
(alarm_notify_done): New function to shut down the alarm
notification system.
(alarm_notify_add_client): New function to start monitoring a
calendar client for alarm notification.
(alarm_notify_remove_client): New function to stop monitoring a
client.
* gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so
the callback may know which ID is being destroyed.
* gui/alarm.c (clear_itimer): New function.
(pop_alarm): Use clear_itimer().
(alarm_done): New function to shut down the timer system.
(alarm_add): Add some preconditions. Do not call the destroy
notification function if we could not create the alarm.
(alarm_ready): Pass the alarm ID to the destroy notify function.
(alarm_remove): Likewise. Also, add some preconditions.
* gui/gnome-cal.c: Removed the alarm notification functions from
here since they are now in alarm-notify.c.
(gnome_calendar_construct): Register the client with
alarm_notify_add_client().
(gnome_calendar_destroy): Use alarm_notify_remove_client() to
unregister the client.
(obj_updated_cb): Do not do any alarm-related stuff.
(obj_removed_cb): Likewise.
* gui/main.c (main): Shut down the alarm timer system.
(main): Initialize and shut down the alarm notification system.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
alarm-notify.[ch] to the list of sources.
* gui/calendar-model.c (calendar_model_set_cal_client): Only
connect to the "cal_loaded" signal if the client is not already
loaded.
* gui/e-day-view.c (e_day_view_set_cal_client): Likewise.
* gui/e-week-view.c (e_week_view_set_cal_client): Likewise.
* gui/e-itip-control.c (update_calendar): Connect to "cal_loaded"
before issuing the load request.
svn path=/trunk/; revision=7130
Diffstat (limited to 'doc/devel')
-rw-r--r-- | doc/devel/calendar/cal-client/evolution-cal-client.signals | 6 | ||||
-rw-r--r-- | doc/devel/calendar/cal-client/tmpl/evolution-cal-client-unused.sgml | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/devel/calendar/cal-client/evolution-cal-client.signals b/doc/devel/calendar/cal-client/evolution-cal-client.signals index 97e360b6a2..d5af728e6f 100644 --- a/doc/devel/calendar/cal-client/evolution-cal-client.signals +++ b/doc/devel/calendar/cal-client/evolution-cal-client.signals @@ -2,20 +2,20 @@ <NAME>CalClient::cal-loaded</NAME> <RETURNS>void</RETURNS> CalClient *calclient -GtkEnum arg1 +gint arg1 </SIGNAL> <SIGNAL> <NAME>CalClient::obj-updated</NAME> <RETURNS>void</RETURNS> CalClient *calclient -GtkString arg1 +gchar *arg1 </SIGNAL> <SIGNAL> <NAME>CalClient::obj-removed</NAME> <RETURNS>void</RETURNS> CalClient *calclient -GtkString arg1 +gchar *arg1 </SIGNAL> diff --git a/doc/devel/calendar/cal-client/tmpl/evolution-cal-client-unused.sgml b/doc/devel/calendar/cal-client/tmpl/evolution-cal-client-unused.sgml index a0c23894d9..77eb4a2b15 100644 --- a/doc/devel/calendar/cal-client/tmpl/evolution-cal-client-unused.sgml +++ b/doc/devel/calendar/cal-client/tmpl/evolution-cal-client-unused.sgml @@ -1,22 +1,22 @@ -<!-- ##### FUNCTION cal_client_update_pilot_id ##### --> +<!-- ##### FUNCTION cal_client_get_events_in_range ##### --> <para> </para> @client: -@uid: -@pilot_id: -@pilot_status: +@start: +@end: +@Returns: -<!-- ##### FUNCTION cal_client_get_events_in_range ##### --> +<!-- ##### FUNCTION cal_client_update_pilot_id ##### --> <para> </para> @client: -@start: -@end: -@Returns: +@uid: +@pilot_id: +@pilot_status: <!-- ##### FUNCTION cal_client_get_uid_by_pilot_id ##### --> <para> |