aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-08-12 05:14:33 +0800
committerChris Toshok <toshok@src.gnome.org>2000-08-12 05:14:33 +0800
commit324e5fc9a75d530ae9f2d7478e4eb5c61beed6c2 (patch)
tree2a2cc966ed0bbd70d1ff553bbd2d334a66599ec3 /camel
parentf399a64ee80c7724514a4acb047a3eca0b9e59f4 (diff)
downloadgsoc2013-evolution-324e5fc9a75d530ae9f2d7478e4eb5c61beed6c2.tar.gz
gsoc2013-evolution-324e5fc9a75d530ae9f2d7478e4eb5c61beed6c2.tar.zst
gsoc2013-evolution-324e5fc9a75d530ae9f2d7478e4eb5c61beed6c2.zip
use g_get_home_dir, since evolution_dir isn't available in the providers.
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. svn path=/trunk/; revision=4754
Diffstat (limited to 'camel')
-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;