I found why 'My Gcompris' is always created, even if gcompris.conf
calls for a different user_dir:
in gcompris.c (current SVN trunk, r3462) gcompris.c contains (lines ~1573):
/* Now we know where our config file is, load the saved config */
gc_prop_old_config_migration(properties);
gc_prop_load(properties, GC_PROP_FROM_USER_CONF);
gc_prop_load will read gcompris.conf, and change the user directory if
required. But gc_prop_old_config_migration() called the line before
contains the following stanza (properties.c) :
/* User Images Migration */
new = g_strconcat(props->user_dir,
NULL);
if (!g_file_test(new, G_FILE_TEST_IS_DIR))
gc_util_create_rootdir(new);
[..]
Where props->user_dir is still the default user_dir of 'My Gcompris'.
So if the user directory is supposed to be settable, then
gc_prop_old_config_migration should obey it, really!
Jeroen Nijhof
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]