aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/event-editor.c')
-rw-r--r--calendar/gui/dialogs/event-editor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 8409b89047..519c9f4447 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -129,7 +129,6 @@ EventEditor *
event_editor_construct (EventEditor *ee, ECal *client)
{
EventEditorPrivate *priv;
- gboolean read_only = FALSE;
guint32 flags = comp_editor_get_flags (COMP_EDITOR (ee));
priv = ee->priv;
@@ -150,11 +149,6 @@ event_editor_construct (EventEditor *ee, ECal *client)
COMP_EDITOR_PAGE (priv->recur_page),
_("Recurrence"));
- if (!e_cal_is_read_only (client, &read_only, NULL))
- read_only = TRUE;
- comp_editor_sensitize_attachment_bar (COMP_EDITOR (ee), !read_only &&
- (flags & COMP_EDITOR_USER_ORG));
-
if (priv->is_meeting) {
if (e_cal_get_static_capability (client, CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS))