From 9cad760c5b845ab1d19b9940bd6665e00b1fc291 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Sun, 6 Mar 2005 06:10:52 +0000 Subject: disable dialog for asking user which instance(s) to modify. 2005-03-06 Rodrigo Moya * gui/dialogs/recur-comp.c (recur_component_dialog): disable dialog for asking user which instance(s) to modify. svn path=/trunk/; revision=28971 --- calendar/ChangeLog | 5 +++++ calendar/gui/dialogs/recur-comp.c | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 29ef032209..d12dd4e5a9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2005-03-06 Rodrigo Moya + + * gui/dialogs/recur-comp.c (recur_component_dialog): disable dialog for + asking user which instance(s) to modify. + 2005-03-04 Rodrigo Moya Fixes #72835 diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c index cfffa29c69..734516e904 100644 --- a/calendar/gui/dialogs/recur-comp.c +++ b/calendar/gui/dialogs/recur-comp.c @@ -36,6 +36,7 @@ recur_component_dialog (ECal *client, CalObjModType *mod, GtkWindow *parent) { +#if 0 char *str; GtkWidget *dialog, *rb_this, *rb_prior, *rb_future, *rb_all, *hbox; GtkWidget *placeholder, *vbox; @@ -133,4 +134,16 @@ recur_component_dialog (ECal *client, gtk_widget_destroy (dialog); return ret; +#endif + + icalproperty *prop; + + prop = icalcomponent_get_first_property (e_cal_component_get_icalcomponent (comp), + ICAL_RECURRENCEID_PROPERTY); + if (prop) + icalcomponent_remove_property (e_cal_component_get_icalcomponent (comp), prop); + + *mod = CALOBJ_MOD_ALL; + + return TRUE; } -- cgit v1.2.3