aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-popup.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-popup.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-popup.c')
-rw-r--r--calendar/gui/e-cal-popup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-popup.c b/calendar/gui/e-cal-popup.c
index 8cebaaf8c3..2ceeeb63ad 100644
--- a/calendar/gui/e-cal-popup.c
+++ b/calendar/gui/e-cal-popup.c
@@ -268,7 +268,10 @@ e_cal_popup_target_new_select(ECalPopup *eabp, struct _ECalModel *model, GPtrArr
if (e_cal_get_static_capability (client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) &&
needs_to_accept (comp_data->icalcomp, user_email))
mask &= ~E_CAL_POPUP_SELECT_ACCEPTABLE;
-
+
+ if (!icalcomponent_get_first_property (comp_data->icalcomp, ICAL_COMPLETED_PROPERTY))
+ mask &= ~E_CAL_POPUP_SELECT_NOTCOMPLETE;
+
g_object_unref (comp);
g_free (user_email);
}
@@ -422,6 +425,7 @@ static const EPopupHookTargetMask ecalph_select_masks[] = {
{ "hasurl", E_CAL_POPUP_SELECT_HASURL },
{ "delegate", E_CAL_POPUP_SELECT_DELEGATABLE },
{ "accept", E_CAL_POPUP_SELECT_ACCEPTABLE },
+ { "not-complete", E_CAL_POPUP_SELECT_NOTCOMPLETE },
{ 0 }
};