aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-06-22 22:32:36 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-06-22 22:32:36 +0800
commit6233ffcdc44f613aed1314ed2c8ac605115b5fa4 (patch)
tree8cfda10bacc9b6aa392e2ddc7ee5e801eab8d98a /calendar/gui/e-calendar-view.c
parentca3816102af57541751a1f9a92a8d04a0a7fa3b9 (diff)
downloadgsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.gz
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.tar.zst
gsoc2013-evolution-6233ffcdc44f613aed1314ed2c8ac605115b5fa4.zip
Commiting the fix for free busy and sensitizing the attachment bar properly.
svn path=/trunk/; revision=29566
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index d37ef722f6..05bedbbd84 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1679,8 +1679,10 @@ e_calendar_view_new_appointment_for (ECalendarView *cal_view,
e_cal_component_commit_sequence (comp);
flags |= COMP_EDITOR_NEW_ITEM;
- if (meeting)
+ if (meeting) {
flags |= COMP_EDITOR_MEETING;
+ flags |= COMP_EDITOR_USER_ORG;
+ }
open_event_with_flags (cal_view, e_cal_model_get_default_client (priv->model),
icalcomp, flags);
@@ -1779,8 +1781,14 @@ e_calendar_view_edit_appointment (ECalendarView *cal_view,
g_return_if_fail (E_IS_CAL (client));
g_return_if_fail (icalcomp != NULL);
- if (meeting)
+ if (meeting) {
+ ECalComponent *comp = e_cal_component_new ();
+ e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (icalcomp));
flags |= COMP_EDITOR_MEETING;
+ if (itip_organizer_is_user (comp, client))
+ flags |= COMP_EDITOR_USER_ORG;
+ g_object_unref (comp);
+ }
open_event_with_flags (cal_view, client, icalcomp, flags);
}