aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/nntp/camel-nntp-store.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 6c0b8ab842..018e5fc1e6 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-11 Chris Toshok <toshok@helixcode.com>
+
+ * providers/nntp/camel-nntp-store.c
+ (camel_nntp_store_get_toplevel_dir): use g_get_home_dir, since
+ evolution_dir isn't available in the providers.
+
2000-08-11 Peter Williams <peterw@helixcode.com>
* camel-folder.c (thaw): Fix a bug where the message_changed
diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c
index 48537ed2b3..45b1fdee04 100644
--- a/camel/providers/nntp/camel-nntp-store.c
+++ b/camel/providers/nntp/camel-nntp-store.c
@@ -467,12 +467,11 @@ camel_nntp_store_get_toplevel_dir (CamelNNTPStore *store)
{
CamelURL *url = CAMEL_SERVICE (store)->url;
char *top_dir;
- extern char *evolution_dir;
g_assert(url != NULL);
- top_dir = g_strdup_printf( "%s/news/%s",
- evolution_dir,
+ top_dir = g_strdup_printf( "%s/evolution/news/%s",
+ g_get_home_dir (),
url->host );
return top_dir;