aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-cal-menu.c2
-rw-r--r--calendar/gui/e-cal-popup.c2
3 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ecce859b31..ad5862194d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,11 @@
2005-02-01 Rodrigo Moya <rodrigo@novell.com>
+ * gui/e-cal-menu.c (e_cal_menu_target_new_select):
+ * gui/e-cal-popup.c (e_cal_popup_target_new_select): add correct mask
+ for detached recurrences.
+
+2005-02-01 Rodrigo Moya <rodrigo@novell.com>
+
* gui/calendar-commands.c
(calendar_control_sensitize_calendar_commands): only add real data
to the array.
diff --git a/calendar/gui/e-cal-menu.c b/calendar/gui/e-cal-menu.c
index dd2c40f160..499b90d11e 100644
--- a/calendar/gui/e-cal-menu.c
+++ b/calendar/gui/e-cal-menu.c
@@ -146,6 +146,8 @@ e_cal_menu_target_new_select(ECalMenu *eabp, struct _ECalModel *model, GPtrArray
if (e_cal_util_component_has_recurrences (comp_data->icalcomp))
mask &= ~E_CAL_MENU_SELECT_RECURRING;
+ else if (e_cal_util_component_is_instance (comp_data->icalcomp))
+ mask &= ~E_CAL_MENU_SELECT_RECURRING;
else
mask &= ~E_CAL_MENU_SELECT_NONRECURRING;
diff --git a/calendar/gui/e-cal-popup.c b/calendar/gui/e-cal-popup.c
index 3b8c361178..00dd097b17 100644
--- a/calendar/gui/e-cal-popup.c
+++ b/calendar/gui/e-cal-popup.c
@@ -151,6 +151,8 @@ e_cal_popup_target_new_select(ECalPopup *eabp, struct _ECalModel *model, GPtrArr
if (e_cal_util_component_has_recurrences (comp_data->icalcomp))
mask &= ~E_CAL_POPUP_SELECT_RECURRING;
+ else if (e_cal_util_component_is_instance (comp_data->icalcomp))
+ mask &= ~E_CAL_POPUP_SELECT_RECURRING;
else
mask &= ~E_CAL_POPUP_SELECT_NONRECURRING;