From 1e959e8cdb46c7dc61de09e80aac06097e12c729 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Tue, 28 Jun 2005 14:00:30 +0000 Subject: do not de-sensitize the attachment bar. svn path=/trunk/; revision=29602 --- calendar/gui/dialogs/event-editor.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'calendar/gui/dialogs') 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)) -- cgit v1.2.3