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/ChangeLog | 6 ++++++ calendar/gui/dialogs/event-editor.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 75804474b6..2ebbbcbe89 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-06-25 Chenthill Palanisamy + + * gui/dialogs/event-editor.c + (event_editor_construct): Do not desensitize the attachment + bar as there will be no way to open an attachement. + 2005-06-27 Tor Lillqvist * */Makefile.am: Prune unnecessary and nonexistent directories 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