aboutsummaryrefslogtreecommitdiffstats
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
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
-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;