From 3e8a4428fe1b92bbc4aca2d719ae55a1b8ccf8a3 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 18 Jun 2004 13:38:01 +0000 Subject: Fixes #56323 2004-06-18 Rodrigo Moya Fixes #56323 * gui/calendar-component.c (create_new_event): removed read-only check, just call the editor with the currently selected client and let it do the job. * gui/tasks-component.c (create_new_todo): ditto. svn path=/trunk/; revision=26419 --- calendar/gui/calendar-component.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 61f0aae690..3b84151b1f 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -955,17 +955,6 @@ create_new_event (CalendarComponent *calendar_component, CalendarComponentView * if (!ecal) return FALSE; - if (!e_cal_is_read_only (ecal, &read_only, NULL) || read_only) { - GtkWidget *dialog; - - dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, - GTK_MESSAGE_INFO, GTK_BUTTONS_OK, - _("Selected calendar is read-only, events cannot be created. Please select a read-write calendar.")); - gtk_dialog_run (GTK_DIALOG (dialog)); - gtk_widget_destroy (dialog); - return TRUE; - } - if (component_view && (view = E_CALENDAR_VIEW (gnome_calendar_get_current_view_widget (component_view->calendar)))) { GnomeCalendarViewType view_type; -- cgit