[gcompris-devel] RFC: improvements to the admin module for wordlist/wordgame and missing_letter

miguel2i at free.fr miguel2i at free.fr
Thu Jan 15 16:53:57 UTC 2009


Hello,

I send you the patch for wordlist editing.
This is in gcompris core and is enable in reading and
wordsgame boards.

This patch add a new file board_config_wordlist.c which is include
in board_config.c

In board_config.c, gc_locale_gets_list() find locale list
from po directory when program is launch from gcompris source
directory when DEBUG is define.

I find problems in board_config.c :
 - this file is too long (more than 1200 lines). This file
should be split into board_config_textview.c ... etc
 - board_config.c use too many static variables (examples: conf_window,
main_conf_box, hash_conf, Confcallback)
I'm going to work in this next week.

Word lists are saved in gcompris package_data_dir
boards/wordsgame/default-$LOCALE.xml but this directory is always not
writeable.

In this case, in which directory custom wordlist should be saved ?
In User directory ?
And how to diffuse custom word list ?
Use --server option ?
How to prepare custom files for server use ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcompris-wordlist-15012009.patch
Type: text/x-patch
Size: 22930 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20090115/8ee85df4/attachment.patch>


More information about the Gcompris-devel mailing list