From 1bf9e439824ee6a2aa721aa05859200da89cbc9b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 27 Jul 2000 23:10:04 +0000 Subject: toss in a kludge to deal with the IMAP vs mbox path problem for now. * mail-config.c (get_service_url): toss in a kludge to deal with the IMAP vs mbox path problem for now. svn path=/trunk/; revision=4399 --- mail/ChangeLog | 5 +++++ mail/mail-config.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + * 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 * 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); } -- cgit v1.2.3