diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-08-23 06:31:53 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-08-23 06:31:53 +0800 |
commit | 0af9d4d9864670f408b39cdec77e83c661e70584 (patch) | |
tree | d23bc8b9466bd7c7c9ae4c004f7a58deca2d5241 /my-evolution/e-summary-rdf.c | |
parent | 1b92eea9f43d08e724c831ae6807b39b2ba73f4e (diff) | |
download | gsoc2013-evolution-0af9d4d9864670f408b39cdec77e83c661e70584.tar.gz gsoc2013-evolution-0af9d4d9864670f408b39cdec77e83c661e70584.tar.zst gsoc2013-evolution-0af9d4d9864670f408b39cdec77e83c661e70584.zip |
Fix the show_full_path bug
Set up the functions for better online/offline reporting.
svn path=/trunk/; revision=12403
Diffstat (limited to 'my-evolution/e-summary-rdf.c')
-rw-r--r-- | my-evolution/e-summary-rdf.c | 53 |
1 files changed, 27 insertions, 26 deletions
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; } @@ -504,7 +504,33 @@ e_summary_rdf_add (ESummary *summary, } 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) { |