aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-menu.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-02-01 23:51:26 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-02-01 23:51:26 +0800
commit1e96efa375e62360deeae603f151a76b77c82a98 (patch)
treee9d77ed13c37bbd36ee52a3d97a283c81482c020 /calendar/gui/e-cal-menu.c
parentea1f3f4ae446b9e70708542a84ee521eddf6885c (diff)
downloadgsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.tar
gsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.tar.gz
gsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.tar.bz2
gsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.tar.lz
gsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.tar.xz
gsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.tar.zst
gsoc2013-evolution-1e96efa375e62360deeae603f151a76b77c82a98.zip
add correct mask for detached recurrences.
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. svn path=/trunk/; revision=28660
Diffstat (limited to 'calendar/gui/e-cal-menu.c')
-rw-r--r--calendar/gui/e-cal-menu.c2
1 files changed, 2 insertions, 0 deletions
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;