aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-03-22 22:46:36 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-03-22 22:46:36 +0800
commit9ab035ce81904f24cf11098329fe2d00b4096e63 (patch)
tree8fc270cdd37bc34f7164ed77eb3ddf830b6bc95f /plugins
parenta874cf51d190d268a14d0be37428d9ed463da00f (diff)
downloadgsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.gz
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.bz2
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.lz
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.xz
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.tar.zst
gsoc2013-evolution-9ab035ce81904f24cf11098329fe2d00b4096e63.zip
Fixes #73541
2005-03-22222222222222222222222222222222222222222222 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. svn path=/trunk/; revision=29089
Diffstat (limited to 'plugins')
-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);