Don't check for old configuration directory location on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3557 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
b635305e3e
commit
df24b80537
@ -1,3 +1,9 @@
|
||||
2009-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/main.c:
|
||||
Don't check for old configuration directory location on Windows.
|
||||
|
||||
|
||||
2009-02-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/geanymenubuttonaction.c, src/geanyentryaction.c,
|
||||
|
@ -592,6 +592,7 @@ static gint create_config_dir(void)
|
||||
|
||||
if (! g_file_test(app->configdir, G_FILE_TEST_EXISTS))
|
||||
{
|
||||
#ifndef G_OS_WIN32
|
||||
/* if we are *not* using an alternate config directory, we check whether the old one
|
||||
* in ~/.geany still exists and try to move it */
|
||||
if (alternate_config == NULL)
|
||||
@ -626,6 +627,7 @@ static gint create_config_dir(void)
|
||||
}
|
||||
g_free(old_dir);
|
||||
}
|
||||
#endif
|
||||
geany_debug("creating config directory %s", app->configdir);
|
||||
saved_errno = utils_mkdir(app->configdir, FALSE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user