diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-10-19 03:50:29 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-10-19 03:50:29 +0800 |
commit | d21e6e4dc143f1b077da4d9c9375947e63321d7a (patch) | |
tree | cb01ffe152063455c05e2d802ae5309d0d96685a /calendar/gui/alarm-notify/Makefile.am | |
parent | f7d9f635db0b3375f31bfa8d7984032dad87c5d1 (diff) | |
download | gsoc2013-evolution-d21e6e4dc143f1b077da4d9c9375947e63321d7a.tar.gz gsoc2013-evolution-d21e6e4dc143f1b077da4d9c9375947e63321d7a.tar.zst gsoc2013-evolution-d21e6e4dc143f1b077da4d9c9375947e63321d7a.zip |
Adds session management for the alarm daemon. Also makes it store a list
2001-10-18 Federico Mena Quintero <federico@ximian.com>
Adds session management for the alarm daemon. Also makes it store
a list of calendars to be monitored. Those calendars will all be
loaded when the alarm daemon starts up.
* idl/evolution-calendar.idl (AlarmNotify): Removed the ::die()
method. The alarm daemon now handles termination via the session
manager's commands.
* gui/alarm-notify/notify-main.c (set_session_parameters): New
function, sets some parameters so that the session manager can
restart the daemon via the evolution-alarm-client program. Also,
sets up the "die" signal so that the daemon can terminate when the
session ends.
(load_calendars): New function to load the calendars on startup.
(main): Set the session parameters. Load the calendars on startup.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New
function, moved over from the impl_ function. Added a
load_afterwards argument to indicate whether the calendar should
just be loaded or if it should also be added to the list of
calendars to load on startup.
(AlarmNotify_addCalendar): Use alarm_notify_add_calendar().
(AlarmNotify_removeCalendar): Remove the calendar from the list of
calendars to load on startup.
* gui/alarm-notify/save.c (save_calendars_to_load): New function,
saves a sequence of the URIs to load.
(get_calendars_to_load): New function, loads a sequence of
calendars to load.
* gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init().
* gui/component-factory.c (remove_folder): Ask the alarm daemon to
stop monitoring alarms for the folder that is being deleted.
svn path=/trunk/; revision=13763
Diffstat (limited to 'calendar/gui/alarm-notify/Makefile.am')
-rw-r--r-- | calendar/gui/alarm-notify/Makefile.am | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/calendar/gui/alarm-notify/Makefile.am b/calendar/gui/alarm-notify/Makefile.am index 4c323c3b55..8cf9b749fc 100644 --- a/calendar/gui/alarm-notify/Makefile.am +++ b/calendar/gui/alarm-notify/Makefile.am @@ -11,7 +11,7 @@ idl_flags = `$(GNOME_CONFIG) --cflags idl` -I $(datadir)/idl $(CORBA_GENERATED): $(idls) $(ORBIT_IDL) $(idl_flags) $(top_srcdir)/calendar/idl/evolution-calendar.idl -bin_PROGRAMS = evolution-alarm-notify # evolution-alarm-client +bin_PROGRAMS = evolution-alarm-notify noinst_LIBRARIES = libalarm.a @@ -63,15 +63,6 @@ evolution_alarm_notify_LDADD = \ $(EXTRA_GNOME_LIBS) \ $(INTLLIBS) -# evolution_alarm_client_SOURCES = \ -# client-main.c \ -# $(CORBA_GENERATED) -# -# evolution_alarm_client_LDADD = \ -# $(BONOBO_VFS_GNOME_LIBS) \ -# $(EXTRA_GNOME_LIBS) \ -# $(INTLLIBS) - oafdir = $(datadir)/oaf oaf_in_files = \ GNOME_Evolution_Calendar_AlarmNotify.oaf.in |