From 0af9d4d9864670f408b39cdec77e83c661e70584 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 22 Aug 2001 22:31:53 +0000 Subject: Fix the show_full_path bug Set up the functions for better online/offline reporting. svn path=/trunk/; revision=12403 --- my-evolution/e-summary-rdf.c | 53 ++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 26 deletions(-) (limited to 'my-evolution/e-summary-rdf.c') diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c index 3ab6fe2816..24c8de3cc6 100644 --- a/my-evolution/e-summary-rdf.c +++ b/my-evolution/e-summary-rdf.c @@ -476,7 +476,7 @@ make_connection (RDF *r) d = g_new (ESummaryConnectionData, 1); d->hostname = g_strdup (r->uri); - d->type = g_strdup (_("RDF Summary")); + d->type = g_strdup (_("News Feed")); return d; } @@ -503,8 +503,34 @@ e_summary_rdf_add (ESummary *summary, return connections; } +static void +rdf_free (RDF *r) +{ + /* Stop the download */ + if (r->handle) { + gnome_vfs_async_cancel (r->handle); + } + if (r->uri) { + g_free (r->uri); + } + if (r->html) { + g_free (r->html); + } + if (r->string) { + g_string_free (r->string, TRUE); + } + if (r->buffer) { + g_free (r->buffer); + } + if (r->cache) { + xmlFreeDoc (r->cache); + } + g_free (r); +} + static void e_summary_rdf_set_online (ESummary *summary, + GNOME_Evolution_OfflineProgressListener progress, gboolean online, void *data) { @@ -574,31 +600,6 @@ e_summary_rdf_init (ESummary *summary) return; } -static void -rdf_free (RDF *r) -{ - /* Stop the download */ - if (r->handle) { - gnome_vfs_async_cancel (r->handle); - } - if (r->uri) { - g_free (r->uri); - } - if (r->html) { - g_free (r->html); - } - if (r->string) { - g_string_free (r->string, TRUE); - } - if (r->buffer) { - g_free (r->buffer); - } - if (r->cache) { - xmlFreeDoc (r->cache); - } - g_free (r); -} - void e_summary_rdf_reconfigure (ESummary *summary) { -- cgit v1.2.3