From ac94f697a5cf1842244984a4c1d2859118916aa2 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 8 Aug 2000 02:55:29 +0000 Subject: New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCE 2000-08-07 Federico Mena Quintero * 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 --- calendar/gui/prop.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/gui/prop.c') diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c index 6bf56c7c57..2555059af8 100644 --- a/calendar/gui/prop.c +++ b/calendar/gui/prop.c @@ -62,7 +62,9 @@ static GtkWidget *snooze_cb; static GtkWidget *snooze_spin; /* prototypes */ +#if 0 static void prop_apply_alarms (void); +#endif static void create_alarm_page (void); static void to_cb_changed (GtkWidget* object, gpointer data); static void snooze_cb_changed (GtkWidget* object, gpointer data); @@ -187,7 +189,9 @@ prop_apply (GtkWidget *w, int page) break; case PROP_ALARMS: +#if 0 prop_apply_alarms (); +#endif break; case -1: @@ -889,7 +893,8 @@ prop_store_alarm_default_values (CalendarAlarm* alarm) gnome_config_pop_prefix (); gnome_config_sync (); } - + +#if 0 static void prop_apply_alarms () { @@ -910,6 +915,7 @@ prop_apply_alarms () gnome_config_sync(); } +#endif static void to_cb_changed (GtkWidget *object, gpointer data) -- cgit v1.2.3