diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-08 10:55:29 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-08 10:55:29 +0800 |
commit | ac94f697a5cf1842244984a4c1d2859118916aa2 (patch) | |
tree | 70e6b5561514073d26dd7232b8cf9d47e2d46f38 /calendar/gui/calendar-commands.c | |
parent | 573ea91f0c6dc6de73884bbf1a4b039975fcacda (diff) | |
download | gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.tar gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.tar.gz gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.tar.bz2 gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.tar.lz gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.tar.xz gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.tar.zst gsoc2013-evolution-ac94f697a5cf1842244984a4c1d2859118916aa2.zip |
New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCE
2000-08-07 Federico Mena Quintero <federico@helixcode.com>
* cal-util/cal-component.c (cal_component_clone): New function.
(cal_component_get_icalcomponent): Ensure that the SEQUENCE
property does not need incrementing.
* gui/dialogs/alarm-notify-dialog.c (alarm_notify_dialog): Use
CalComponent. Deal with an empty summary property.
svn path=/trunk/; revision=4589
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r-- | calendar/gui/calendar-commands.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index eb22b317a2..4f06fd6239 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -83,14 +83,14 @@ const guint MAX_SNOOZE_SECS = 3600; gboolean enable_snooze = 0; guint snooze_secs = 60; -/*extern CalendarAlarm alarm_defaults[4];*/ +#if 0 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 } }; - +#endif static void calendar_iterate_free_cache_entry (gpointer key, gpointer value, @@ -114,6 +114,7 @@ range_check_hour (int hour) return hour; } +#if 0 static void init_default_alarms (void) { @@ -158,7 +159,7 @@ init_default_alarms (void) gnome_config_pop_prefix (); } } - +#endif static void about_calendar_cmd (BonoboUIHandler *uih, void *user_data, const char *path) @@ -871,8 +872,9 @@ init_calendar (void) if (snooze_secs > MAX_SNOOZE_SECS) snooze_secs = MAX_SNOOZE_SECS; +#if 0 init_default_alarms (); - +#endif /* Done */ |