aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-12-13 05:28:14 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-12-13 05:28:14 +0800
commit153ab60b4208de29dd94885398f847381242d7e5 (patch)
tree2b310b41b6f68a797f186564c4a4f5d6413be8ed /calendar/gui/e-week-view.c
parent3622e520dda5f4b7c9cf6aee8aaadc1a50f21ba5 (diff)
downloadgsoc2013-evolution-153ab60b4208de29dd94885398f847381242d7e5.tar.gz
gsoc2013-evolution-153ab60b4208de29dd94885398f847381242d7e5.tar.zst
gsoc2013-evolution-153ab60b4208de29dd94885398f847381242d7e5.zip
ungrab the pointer before calling e_day_view_finish_long_event_resize
2001-12-12 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_top_canvas_button_release): ungrab the pointer before calling e_day_view_finish_long_event_resize (e_day_view_on_main_canvas_button_release): ditto (e_day_view_finish_long_event_resize): ask if the meeting should be sent (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto svn path=/trunk/; revision=15008
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index ba54529e4b..df489ef710 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -48,7 +48,9 @@
#include <gal/widgets/e-canvas-utils.h>
#include <gal/widgets/e-unicode.h>
#include "dialogs/delete-comp.h"
+#include "dialogs/send-comp.h"
#include "comp-util.h"
+#include "itip-utils.h"
#include "cal-util/timeutil.h"
#include "calendar-commands.h"
#include "calendar-config.h"
@@ -3185,8 +3187,12 @@ e_week_view_on_editing_stopped (EWeekView *week_view,
summary.altrep = NULL;
cal_component_set_summary (event->comp, &summary);
- if (!cal_client_update_object (week_view->client, event->comp))
+ if (cal_client_update_object (week_view->client, event->comp)) {
+ if (cal_component_has_attendees (event->comp) && send_component_dialog (event->comp))
+ itip_send_comp (CAL_COMPONENT_METHOD_REQUEST, event->comp);
+ } else {
g_message ("e_week_view_on_editing_stopped(): Could not update the object!");
+ }
}
out: