diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-28 07:10:04 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-28 07:10:04 +0800 |
commit | 1bf9e439824ee6a2aa721aa05859200da89cbc9b (patch) | |
tree | 4cf1a0858160b535c4f1945fe2bc0664aaa879a6 | |
parent | 4a4c22b8e13922b35937690dca168819b411df2d (diff) | |
download | gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.tar gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.tar.gz gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.tar.bz2 gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.tar.lz gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.tar.xz gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.tar.zst gsoc2013-evolution-1bf9e439824ee6a2aa721aa05859200da89cbc9b.zip |
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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-config.c | 5 |
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); } |