evolution r35450 - trunk/plugins/itip-formatter
- From: abharath svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r35450 - trunk/plugins/itip-formatter
- Date: Wed, 30 Apr 2008 09:45:02 +0100 (BST)
Author: abharath
Date: Wed Apr 30 08:45:02 2008
New Revision: 35450
URL: http://svn.gnome.org/viewvc/evolution?rev=35450&view=rev
Log:
Committing on behalf of Chenthill Palanisamy <pchenthill novell com>
2008-04-30 Chenthill Palanisamy <pchenthill novell com>
** Fixes #338330 (bnc)
Internet Based Calendar Events Are Declined By Evolution/GroupWise
Modified:
trunk/plugins/itip-formatter/ChangeLog
trunk/plugins/itip-formatter/itip-formatter.c
Modified: trunk/plugins/itip-formatter/itip-formatter.c
==============================================================================
--- trunk/plugins/itip-formatter/itip-formatter.c (original)
+++ trunk/plugins/itip-formatter/itip-formatter.c Wed Apr 30 08:45:02 2008
@@ -1622,7 +1622,7 @@
gboolean status = FALSE, delete_invitation_from_cache = FALSE;
icalproperty *prop;
ECalComponentTransparency trans;
- gboolean flag;
+ gboolean flag, save_schedules;
if (pitip->method == ICAL_METHOD_PUBLISH || pitip->method == ICAL_METHOD_REQUEST) {
if (itip_view_get_free_time_check_state (ITIP_VIEW (pitip->view)))
@@ -1647,6 +1647,8 @@
icalcomponent_add_property (pitip->ical_comp, prop);
}
+ save_schedules = e_cal_get_save_schedules (pitip->current_ecal);
+
switch (response) {
case ITIP_VIEW_RESPONSE_ACCEPT:
if (pitip->type != E_CAL_SOURCE_TYPE_JOURNAL)
@@ -1657,7 +1659,7 @@
if (status) {
e_cal_component_rescan (pitip->comp);
flag = update_item (pitip, response);
- if (e_cal_get_save_schedules (pitip->current_ecal) && flag)
+ if (save_schedules && flag)
delete_invitation_from_cache = TRUE;
}
break;
@@ -1667,7 +1669,7 @@
if (status) {
e_cal_component_rescan (pitip->comp);
flag = update_item (pitip, response);
- if (e_cal_get_save_schedules (pitip->current_ecal) && flag)
+ if (save_schedules && flag)
delete_invitation_from_cache = TRUE;
}
@@ -1686,7 +1688,7 @@
if (status) {
e_cal_component_rescan (pitip->comp);
flag = update_item (pitip, response);
- if (e_cal_get_save_schedules (pitip->current_ecal) && flag)
+ if (save_schedules && flag)
delete_invitation_from_cache = TRUE;
}
break;
@@ -1746,7 +1748,7 @@
}
}
- if (!delete_invitation_from_cache && pitip->delete_message) {
+ if (!save_schedules && pitip->delete_message) {
g_message ("Deleting!");
camel_folder_delete_message (pitip->folder, pitip->uid);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]