From ee413a3fd2c6ee802b6af1286f1cf7a65f52c5f1 Mon Sep 17 00:00:00 2001 From: Eskil Olsen Date: Thu, 4 Nov 1999 14:20:13 +0000 Subject: Uses the PISOCK_LIBDIR, for people with odd install dirs for their 1999-11-04 Eskil Olsen * Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install dirs for their pilot-link. Also install a pretty icon for the calendar-conduit. * calendar-conduit-control-applet.c: Modfied the try/revert/ok/cancel scheme to be more intuitive, also uses a GtkOptionMenu for the possible sync methods. * calendar-conduit-control-applet.desktop: use the nice icon... * calendar-conduit.c: Ack, had to define debug_alarms and alarm_default, otherwise they are undefined. Is gncal code messy or is this considered a way of configuring the cal engine ? Implemented delete_all syncabs methods. * calendar-pilot-sync.c: also had to declare debug_alarms and alarm_defaults, just as ugly. svn path=/trunk/; revision=1367 --- calendar/gui/calendar-pilot-sync.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'calendar/gui/calendar-pilot-sync.c') diff --git a/calendar/gui/calendar-pilot-sync.c b/calendar/gui/calendar-pilot-sync.c index f4bc821500..a98ff9b49b 100644 --- a/calendar/gui/calendar-pilot-sync.c +++ b/calendar/gui/calendar-pilot-sync.c @@ -37,9 +37,20 @@ struct pi_sockaddr addr; /* The Pilot DB identifier for DateBook */ int db; +/* If true, enable debug output for alarms */ +int debug_alarms = 0; + /* True if you want to dump the flags bits from the records */ int debug_attrs = 0; +/* Default values for alarms */ +CalendarAlarm alarm_defaults[4] = { + { ALARM_MAIL, 0, 15, ALARM_MINUTES }, + { ALARM_PROGRAM, 0, 15, ALARM_MINUTES }, + { ALARM_DISPLAY, 0, 15, ALARM_MINUTES }, + { ALARM_AUDIO, 0, 15, ALARM_MINUTES } +}; + int only_desktop_to_pilot = 0; int only_pilot_to_desktop = 0; -- cgit v1.2.3