aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 698eb9ed05..18ad0d1af8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-27 Dan Winship <danw@helixcode.com>
+
+ * mail-config.c (get_service_url): toss in a kludge to deal with
+ the IMAP vs mbox path problem for now.
+
2000-07-26 Christopher James Lahey <clahey@helixcode.com>
* message-list.c, message-list.h: Removed counting of selected
diff --git a/mail/mail-config.c b/mail/mail-config.c
index f05c526a77..1375a75012 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -506,7 +506,10 @@ get_service_url (GtkObject *table)
editable = gtk_object_get_data (table, "path_entry");
if (editable) {
char *path = gtk_editable_get_chars (editable, 0, -1);
- url->path = g_strdup_printf ("/%s", path);
+ /* FIXME. I am a kludge. */
+ url->path = g_strdup_printf (
+ "%s%s", !strcmp (url->protocol, "imap") ? "/" : "",
+ path);
g_free (path);
}