aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-03-06 14:10:52 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-03-06 14:10:52 +0800
commit9cad760c5b845ab1d19b9940bd6665e00b1fc291 (patch)
tree9d0d8183c33ef8371c9ee6c1d99582630cf91be8 /calendar/gui/dialogs
parentb15350fdcaf9cda9ac00495f63839c53e000e088 (diff)
downloadgsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.tar
gsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.tar.gz
gsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.tar.bz2
gsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.tar.lz
gsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.tar.xz
gsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.tar.zst
gsoc2013-evolution-9cad760c5b845ab1d19b9940bd6665e00b1fc291.zip
disable dialog for asking user which instance(s) to modify.
2005-03-06 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recur-comp.c (recur_component_dialog): disable dialog for asking user which instance(s) to modify. svn path=/trunk/; revision=28971
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/recur-comp.c13
1 files changed, 13 insertions, 0 deletions
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;
}