[sylpheed:34554] Re: [Bulk] Re: Sylpheed 3.1.1 not using configuration files in ~/.sylpheed-2.0

Hiroyuki Yamamoto hiro-y at kcn.ne.jp
Mon May 9 12:01:11 JST 2011


Hello,

On Sun, 8 May 2011 13:56:00 -0400
Kevin Horton <khorton01 at rogers.com> wrote:

> 
> On 2011-05-08, at 11:22 , Frank Elsner wrote:
> 
> > On Sun, 8 May 2011 07:28:53 -0400 Kevin Horton wrote:
> >> Sylpheed 3.1.1 is not using the configuration files in
> >> ~/.sylpheed-2.0.  When I started it for the first time, it asked
> >> for the account information, as if sylpheed had never run on this
> >> machine before.
> > 
> > Sorry, can't agree. At least not for my Fedora 14 systems.
> > 
> 
> I suspect this is an OS X only issue.  I finally found the
> configuration files that sylpheed 3.1.1 is using on my machine, and
> they are in a very specific OS X place:
> 
> ~/Library/Application Support/Sylpheed
> 
> Previous versions of sylpheed used ~/.sylpheed-2.0.
> 
> Was this an intended change with sylpheed 3.1.1?  If so, is there a
> way to force it to use the previous configuration files?  I could use
> a symlink to do that, but seems a bit of a kludge.

Since 3.1.1, the location of config and mailbox files have been modified
so that they follow the guideline of Apple.
(Maybe this should have been postponed until major update)

You have to modify the source code (libsylph/utils.c) to revert the
location of config files.


--- libsylph/utils.c    (revision 2869)
+++ libsylph/utils.c    (working copy)
@@ -2233,7 +2233,8 @@
                        rc_dir = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S,
                                             RC_DIR, NULL);
                g_free(appdata);
-#elif defined(__APPLE__)
+//#elif defined(__APPLE__)
+#elif 0
                rc_dir = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S,
                                     "Library", G_DIR_SEPARATOR_S,
                                     "Application Support", G_DIR_SEPARATOR_S,
@@ -2260,7 +2261,8 @@

 const gchar *get_mail_base_dir(void)
 {
-#if defined(G_OS_WIN32) || defined(__APPLE__)
+//#if defined(G_OS_WIN32) || defined(__APPLE__)
+#if defined(G_OS_WIN32)
        static gchar *mail_base_dir = NULL;

        if (!mail_base_dir)


-- 
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>


More information about the Sylpheed mailing list