diff options
author | Bruno Coudoin <bcoudoin@src.gnome.org> | 2006-04-26 20:31:41 (GMT) |
---|---|---|
committer | Bruno Coudoin <bcoudoin@src.gnome.org> | 2006-04-26 20:31:41 (GMT) |
commit | 8771d96b242b2be6c6e4ede9d5924f63cf920ae8 (patch) | |
tree | add366680799b2813211552b1e4cc7b96d35ea2f | |
parent | cd7f894932047591839a5922197f9e2596a75836 (diff) |
Fixed the management of the bar when the sounds are not found and the
dialog is displayed.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | src/boards/click_on_letter.c | 10 |
3 files changed, 13 insertions, 7 deletions
@@ -1,3 +1,11 @@ +2006-04-26 bruno <set EMAIL_ADDRESS environment variable> + + Fixed the management of the bar when the sounds are not found and the + dialog is displayed. + + * INSTALL: + * src/boards/click_on_letter.c: (start_board), (sounds_are_fine): + 2006-04-24 Bruno coudoin <bruno.coudoin@free.fr> Fixes Dutch alphabet by Hans de Goede @@ -51,7 +51,7 @@ urpmi libgnomecanvas2_0-devel libgdk_pixbuf2.0_0-devel urpmi libgnomeui2_0-devel urpmi libSDL_mixer1.2-devel libSDL1.2-devel urpmi python-gtk-devel gnome-python-canvas -urpmi libpython2.3-devel +urpmi libpython2.4-devel urpmi pygtk2.0-devel urpmi texinfo urpmi texi2html diff --git a/src/boards/click_on_letter.c b/src/boards/click_on_letter.c index 5cc2050..b61f9ba 100644 --- a/src/boards/click_on_letter.c +++ b/src/boards/click_on_letter.c @@ -30,7 +30,7 @@ #define SOUNDLISTFILE PACKAGE static GcomprisBoard *gcomprisBoard = NULL; -static gboolean board_paused = TRUE; +static gboolean board_paused; static void start_board (GcomprisBoard *agcomprisBoard); static void pause_board (gboolean pause); @@ -138,6 +138,8 @@ static void start_board (GcomprisBoard *agcomprisBoard) GHashTable *config = gcompris_get_board_conf(); int ready; + board_paused = TRUE; + gcompris_change_locale(g_hash_table_lookup( config, "locale")); gchar *up_init_str = g_hash_table_lookup( config, "uppercase_only"); @@ -177,10 +179,6 @@ static void start_board (GcomprisBoard *agcomprisBoard) gamewon = FALSE; pause_board(FALSE); } - else - { - gcompris_bar_set(0); - } } } @@ -252,7 +250,7 @@ static gboolean sounds_are_fine () char *str2 = NULL; GcomprisProperties *properties = gcompris_get_properties(); gchar *locale = NULL; - gboolean fine = TRUE; + gboolean fine = FALSE; /* TRANSLATORS: Put here the alphabet in your language */ alphabet=_("abcdefghijklmnopqrstuvwxyz"); |