From 8f8ecd25e13165724e6e4cc71af09a383d44d727 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 18 May 2004 13:33:40 +0000 Subject: just set up the alarm notify object 2004-05-18 JP Rosevear * gui/alarm-notify/notify-main.c (init_alarm_service): just set up the alarm notify object * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (process_removal_in_hash): process removals using the source list (list_changed_cb): when the list changes, update (load_calendars): initially load the calendars (alarm_notify_init): load the calendars here and don't listen for a selection notification (alarm_notify_add_calendar): get the source type when adding a calendar * gui/alarm-notify/notify-main.c (main): no need to init/shutdown gnome vfs * gui/alarm-notify/config-data.h: new proto * gui/alarm-notify/config-data.c (config_data_get_notify_with_tray): routine to get schema value * gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking here, setup_timeout does that (queue_alarm): ditto (setup_timeout): calculate the timeout better * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): tidy (edit_component): clean up exception handling (display_notification): don't show the tray icon if we aren't notifying with the tray * gui/apps_evolution_calendar.schemas.in.in: add notify_with_tray option svn path=/trunk/; revision=25958 --- calendar/gui/apps_evolution_calendar.schemas.in.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'calendar/gui/apps_evolution_calendar.schemas.in.in') diff --git a/calendar/gui/apps_evolution_calendar.schemas.in.in b/calendar/gui/apps_evolution_calendar.schemas.in.in index 03dbe29296..1939dcfeab 100644 --- a/calendar/gui/apps_evolution_calendar.schemas.in.in +++ b/calendar/gui/apps_evolution_calendar.schemas.in.in @@ -344,6 +344,17 @@ Programs that can run as part of alarms + + + /schemas/apps/evolution/calendar/notify/notify_with_tray + /apps/evolution/calendar/notify/notify_with_tray + evolution-calendar + bool + false + + Whether or not to use the notification tray for display alarms + + /schemas/apps/evolution/calendar/publish/uris -- cgit v1.2.3