aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r--plugins/save-calendar/ChangeLog9
-rw-r--r--plugins/save-calendar/csv-format.c3
-rw-r--r--plugins/save-calendar/ical-format.c2
-rw-r--r--plugins/save-calendar/rdf-format.c3
4 files changed, 14 insertions, 3 deletions
diff --git a/plugins/save-calendar/ChangeLog b/plugins/save-calendar/ChangeLog
index 1989b35e5a..eec40e6b7e 100644
--- a/plugins/save-calendar/ChangeLog
+++ b/plugins/save-calendar/ChangeLog
@@ -1,3 +1,12 @@
+2005-03-22 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #73541
+ * csv-format.c: (do_save_calendar_csv):
+ * ical-format.c: (do_save_calendar_ical):
+ * rdf-format.c: (do_save_calendar_rdf): Changed the
+ cal e_cal_new to auth_new_from_source, so that the
+ ecal has the auth function in it.
+
2005-02-24 Björn Torkelsson <torkel@acc.umu.se>
* org-gnome-save-calendar.eplug.in: Fixed description and added
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index 80a32d2386..2acf1eee27 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -36,6 +36,7 @@
#include <libedataserver/e-source.h>
#include <libedataserverui/e-source-selector.h>
#include <libecal/e-cal.h>
+#include "calendar/common/authentication.h"
#include <calendar/gui/e-cal-popup.h>
#include <libgnomevfs/gnome-vfs.h>
#include <string.h>
@@ -330,7 +331,7 @@ do_save_calendar_csv (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSource
primary_source = e_source_selector_peek_primary_selection (target->selector);
/* open source client */
- source_client = e_cal_new (primary_source, type);
+ source_client = auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (target->selector)), error);
g_object_unref (source_client);
diff --git a/plugins/save-calendar/ical-format.c b/plugins/save-calendar/ical-format.c
index b6fe797f1d..751fbaa426 100644
--- a/plugins/save-calendar/ical-format.c
+++ b/plugins/save-calendar/ical-format.c
@@ -70,7 +70,7 @@ do_save_calendar_ical (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSourc
return;
/* open source client */
- source_client = e_cal_new (primary_source, type);
+ source_client = auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (target->selector)), error->message);
g_object_unref (source_client);
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c
index eb8154f782..41b1ba5517 100644
--- a/plugins/save-calendar/rdf-format.c
+++ b/plugins/save-calendar/rdf-format.c
@@ -46,6 +46,7 @@
#include <string.h>
#include "widgets/misc/e-error.h"
+#include "calendar/common/authentication.c"
#include "format-handler.h"
@@ -205,7 +206,7 @@ do_save_calendar_rdf (FormatHandler *handler, EPlugin *ep, ECalPopupTargetSource
primary_source = e_source_selector_peek_primary_selection (target->selector);
/* open source client */
- source_client = e_cal_new (primary_source, type);
+ source_client = auth_new_cal_from_source (primary_source, type);
if (!e_cal_open (source_client, TRUE, &error)) {
display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (target->selector)), error);
g_object_unref (source_client);