aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-menu.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-10-01 00:48:04 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-10-01 00:48:04 +0800
commita61075336b590e86aede3936ae0e19577b60f439 (patch)
treefd4eefaaa2ff92f2c62be3d554ec16a55feceb7f /calendar/gui/e-cal-menu.c
parent8627c38b49611a820612508ad766993b8b42bec5 (diff)
downloadgsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.tar
gsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.tar.gz
gsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.tar.bz2
gsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.tar.lz
gsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.tar.xz
gsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.tar.zst
gsoc2013-evolution-a61075336b590e86aede3936ae0e19577b60f439.zip
fixes #258786.
svn path=/trunk/; revision=30451
Diffstat (limited to 'calendar/gui/e-cal-menu.c')
-rw-r--r--calendar/gui/e-cal-menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-menu.c b/calendar/gui/e-cal-menu.c
index 7a177d6017..25d4f5a554 100644
--- a/calendar/gui/e-cal-menu.c
+++ b/calendar/gui/e-cal-menu.c
@@ -146,8 +146,11 @@ e_cal_menu_target_new_select(ECalMenu *eabp, struct _ECalModel *model, GPtrArray
if (!e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT)
&& !e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK)
- && !icalcomponent_get_first_property (comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY))
+ && !icalcomponent_get_first_property (comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY))
mask &= ~E_CAL_MENU_SELECT_ASSIGNABLE;
+
+ if (!icalcomponent_get_first_property (comp_data->icalcomp, ICAL_COMPLETED_PROPERTY))
+ mask &= ~ E_CAL_MENU_SELECT_NOTCOMPLETE;
if (e_cal_util_component_has_recurrences (comp_data->icalcomp))
mask &= ~E_CAL_MENU_SELECT_RECURRING;
@@ -239,6 +242,7 @@ static const EMenuHookTargetMask ecalph_select_masks[] = {
{ "not-meeting", E_CAL_MENU_SELECT_NOTMEETING },
{ "assignable", E_CAL_MENU_SELECT_ASSIGNABLE },
{ "hasurl", E_CAL_MENU_SELECT_HASURL },
+ { "not-complete", E_CAL_MENU_SELECT_NOTCOMPLETE },
{ 0 }
};