Rodrigo, In 1.4 branch, calendar/gui/dialogs/recurrence-page.c, sensitize_recur_widgets(), there are following lines: /* We can't preview that well for instances right now */ if (cal_component_is_instance (priv->comp)) gtk_widget_set_sensitive (priv->preview_calendar, FALSE); else gtk_widget_set_sensitive (priv->preview_calendar, TRUE); For local calendar's recurrent events, cal_component_is_instance() is always false (because comp->priv->recur_id.recur_time.prop == NULL). So the preview calendar is always enabled. And if you open a local calendar's recurrent event, modify some fields and save it, it NEVER asks you the question: "You are modifying a recurring event, what would you like to modify?" with the 3 options (This instance only, This and future Instances, All instances). It just modify all instances of it. Is this a feature or bug? For SunOne connectors, it seemes working correctly. So the preview calendar is disabled when I open an existing recurrent event and if I do some modification, I can see the prompt dialog. Thanks! Harry Rodrigo Moya wrote: On Mon, 2003-10-20 at 12:48, Harry Lu wrote:Hi, For local calendar's events, cal_component_is_instance () is always false. Why? So this mean we cannot only edit a single instance of it, right?always? It seems to work for me, at least for most events. Can you get a recurrent event for which it is returning FALSE, and see which of the checks in that function fail? cheers |