[gcompris] click_on_letter_up: Splitted click on letter in two activities, on with lowercase one with uppercase



commit 479e5655bd9e7e07e9b2aa2f0d7a6793e05366e0
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Wed Sep 7 00:30:37 2011 +0200

    click_on_letter_up: Splitted click on letter in two activities, on with lowercase one with uppercase.
    
    As suggested by Sylvain Dechy

 configure.ac                                       |    1 +
 po/POTFILES.in                                     |    1 +
 src/Makefile.am                                    |    1 +
 src/click_on_letter-activity/click_on_letter.c     |   35 +-----
 .../click_on_letter.xml.in                         |    2 +-
 src/click_on_letter_up-activity/Makefile.am        |   27 ++++
 .../click_on_letter_up.svg                         |  133 ++++++++++++++++++++
 .../click_on_letter_up.xml.in                      |   21 +++
 src/click_on_letter_up-activity/init_path.sh       |    8 ++
 9 files changed, 199 insertions(+), 30 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 931b536..b7d3753 100644
--- a/configure.ac
+++ b/configure.ac
@@ -646,6 +646,7 @@ src/chronos-activity/resources/chronos/Makefile
 src/click_on_letter-activity/Makefile
 src/click_on_letter-activity/resources/Makefile
 src/click_on_letter-activity/resources/click_on_letter/Makefile
+src/click_on_letter_up-activity/Makefile
 src/clickanddraw-activity/Makefile
 src/clickgame-activity/Makefile
 src/clickgame-activity/resources/Makefile
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3badce2..d7c713b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -164,6 +164,7 @@ src/clickgame-activity/clickgame.c
 src/clickgame-activity/clickgame.xml.in
 src/click_on_letter-activity/click_on_letter.c
 src/click_on_letter-activity/click_on_letter.xml.in
+src/click_on_letter-activity/click_on_letter_up.xml.in
 src/clockgame-activity/clockgame.c
 src/clockgame-activity/clockgame.xml.in
 src/colors-activity/colors.xml.in
diff --git a/src/Makefile.am b/src/Makefile.am
index b2642c6..03d580f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,6 +25,7 @@ SUBDIRS = \
 	chess_partyend-activity \
 	chronos-activity \
 	click_on_letter-activity \
+	click_on_letter_up-activity \
 	clickanddraw-activity \
 	clickgame-activity \
 	clockgame-activity \
diff --git a/src/click_on_letter-activity/click_on_letter.c b/src/click_on_letter-activity/click_on_letter.c
index 3aa36e6..cb25681 100644
--- a/src/click_on_letter-activity/click_on_letter.c
+++ b/src/click_on_letter-activity/click_on_letter.c
@@ -172,13 +172,6 @@ static void start_board (GcomprisBoard *agcomprisBoard)
 
   gc_locale_set(g_hash_table_lookup( config, "locale_sound"));
 
-  gchar *up_init_str = g_hash_table_lookup( config, "uppercase_only");
-
-  if (up_init_str && (strcmp(up_init_str, "True")==0))
-    uppercase_only = TRUE;
-  else
-    uppercase_only = FALSE;
-
   g_hash_table_destroy(config);
 
   ready = sounds_are_fine();
@@ -188,6 +181,12 @@ static void start_board (GcomprisBoard *agcomprisBoard)
   if (agcomprisBoard!=NULL)
     {
       gcomprisBoard=agcomprisBoard;
+
+      if ( gcomprisBoard->mode && g_strcasecmp(gcomprisBoard->mode, "uppercase")==0 )
+	uppercase_only = TRUE;
+      else
+	uppercase_only = FALSE;
+
       gc_set_background(goo_canvas_get_root_item(gcomprisBoard->canvas),
 			      "click_on_letter/background.svgz");
 
@@ -754,12 +753,10 @@ static void load_datafile() {
 
   // Reset the alphabet to match the current locale
   alphabet = get_alphabet();
-  printf("alphabet=%s\n", alphabet);
 
   /* create level array */
   levels = g_array_sized_new (FALSE, FALSE, sizeof (Level), 10);
 
-  printf("load_datafile %s\n", filename);
   if ( filename )
     {
       load_desktop_datafile(filename);
@@ -1046,15 +1043,6 @@ conf_ok(GHashTable *table)
     printf("conf_ok =%s\n", (char*)g_hash_table_lookup(config, "locale_sound"));
     gc_locale_set(g_hash_table_lookup(config, "locale_sound"));
 
-    gchar *up_init_str = g_hash_table_lookup( config, "uppercase_only");
-    if (up_init_str)
-      {
-	if(strcmp(up_init_str, "True")==0)
-	  uppercase_only = TRUE;
-	else
-	  uppercase_only = FALSE;
-      }
-
     if (profile_conf)
       g_hash_table_destroy(config);
 
@@ -1340,17 +1328,6 @@ config_start(GcomprisBoard *agcomprisBoard,
 				      "voices/$LOCALE/colors/purple.ogg",
 				      G_CALLBACK (locale_changed));
 
-  gboolean up_init = FALSE;
-
-  gchar *up_init_str = g_hash_table_lookup( config, "uppercase_only");
-
-  if (up_init_str && (strcmp(up_init_str, "True")==0))
-    up_init = TRUE;
-
-  gc_board_config_boolean_box(bconf, _("Uppercase only text"),
-		       "uppercase_only",
-		       up_init);
-
   /* frame */
   GtkWidget *frame = gtk_frame_new("");
   gtk_widget_show(frame);
diff --git a/src/click_on_letter-activity/click_on_letter.xml.in b/src/click_on_letter-activity/click_on_letter.xml.in
index 54fea95..1e36a57 100644
--- a/src/click_on_letter-activity/click_on_letter.xml.in
+++ b/src/click_on_letter-activity/click_on_letter.xml.in
@@ -11,7 +11,7 @@
 	 author="Pascal Georges (pascal georges1 free fr)"
 	 boarddir="click_on_letter"
 	 demo="1">
-	 <_title>Click on a letter</_title>
+	 <_title>Click on a lowercase letter</_title>
 	 <_description>Listen to a letter and click on the right one</_description>
         <_prerequisite>Visual letter-recognition. Can move the mouse.</_prerequisite>
         <_goal>Letter-name recognition</_goal>
diff --git a/src/click_on_letter_up-activity/Makefile.am b/src/click_on_letter_up-activity/Makefile.am
new file mode 100644
index 0000000..f7852df
--- /dev/null
+++ b/src/click_on_letter_up-activity/Makefile.am
@@ -0,0 +1,27 @@
+SUBDIRS =
+
+xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
+
+xml_in_files = \
+	click_on_letter_up.xml.in
+
+
+xml_DATA = $(xml_in_files:.xml.in=.xml)
+
+# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
+# in the file themselves. GCompris pick the translations from the po file at
+# runtime.
+#
+$(xml_DATA): %.xml: %.xml.in
+	sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
+
+# Use this directive and instead of the one above to embed the translations
+# in the xml files directly, this is needed for the tool gcompris2spip
+# INTLTOOL_XML_RULE@
+
+
+icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
+icon_DATA = click_on_letter_up.svg
+
+EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
+CLEANFILES = $(xml_DATA)
diff --git a/src/click_on_letter_up-activity/click_on_letter_up.svg b/src/click_on_letter_up-activity/click_on_letter_up.svg
new file mode 100644
index 0000000..311777a
--- /dev/null
+++ b/src/click_on_letter_up-activity/click_on_letter_up.svg
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="100"
+   height="100"
+   id="svg2831"
+   sodipodi:version="0.32"
+   inkscape:version="0.48.1 r9760"
+   version="1.0"
+   sodipodi:docname="click_on_letter_up.svg">
+  <defs
+     id="defs2833" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.2161034"
+     inkscape:cx="52.732444"
+     inkscape:cy="48.505797"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     height="100px"
+     width="100px"
+     inkscape:window-width="1005"
+     inkscape:window-height="575"
+     inkscape:window-x="1"
+     inkscape:window-y="1"
+     showgrid="false"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata2836">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <path
+       style="fill:black;fill-opacity:0.2961877;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 66.437923,24.363823 L 53.000423,24.957573 L 40.562923,25.145073 L 26.750423,24.957573 L 20.406673,26.863823 L 16.594173,29.551323 L 12.937923,34.145073 L 11.219173,41.426323 C 11.219173,41.426323 11.594173,47.374004 11.594173,48.332573 C 11.594173,49.291143 14.656673,54.270073 14.656673,54.270073 L 18.312923,58.488823 L 18.562923,58.613823 L 8.7191727,58.613823 L 8.9066727,63.770073 C 8.9066727,63.770073 8.5460667,69.145074 9.3129227,69.145073 C 10.003218,69.623007 14.022478,69.635095 18.375423,69.520073 L 17.625423,73.895073 L 20.344173,78.426323 L 24.594173,81.113823 L 31.187923,80.738823 C 31.187923,80.738823 33.660229,77.943639 34.969173,76.832573 C 36.278116,75.721503 36.625423,71.256142 36.625423,70.145073 C 36.625423,69.99068 36.564578,69.730254 36.469173,69.457573 C 40.322069,69.730305 45.607128,69.873091 51.656673,69.145073 C 54.707907,68.77788 65.281674,69.363822 65.281673,69.363823 L 67.344173,69.332573 L 66.531673,74.082573 L 69.219173,78.645073 L 73.
 500423,81.301323 L 80.062923,80.926323 C 80.062923,80.926323 82.566478,78.131141 83.875423,77.020073 C 85.184366,75.909003 85.500421,71.443644 85.500423,70.332573 C 85.500423,70.130691 85.405448,69.787343 85.250423,69.395073 L 94.219173,69.801323 L 94.406673,57.738823 L 86.844173,58.176323 C 86.944256,58.08793 87.021108,58.020206 87.125423,57.926323 C 89.042563,56.200897 90.585746,53.514105 90.969173,52.363823 C 91.352601,51.213539 91.929495,45.857856 92.312923,44.707573 C 92.696351,43.557289 91.750423,37.416143 91.750423,36.457573 C 91.750423,35.499003 89.250424,31.474429 89.250423,30.707573 C 89.250423,29.940717 84.250422,26.676323 84.250423,26.676323 C 84.250423,26.676323 78.511313,24.761645 76.594173,25.145073 C 74.677033,25.528501 66.437924,24.363823 66.437923,24.363823 z "
+       id="path33185" />
+    <path
+       style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 17.062545,62.232339 L 10.735983,59.164915 L 7.093417,54.947208 C 7.093417,54.947208 4.0259936,49.962644 4.0259936,49.004074 C 4.0259936,48.045504 3.6425656,42.10237 3.6425656,42.10237 L 5.367992,34.817238 L 9.010557,30.216103 L 12.844837,27.532107 L 19.171399,25.614967 L 32.974806,25.806681 L 45.436215,25.614967 L 58.856195,25.039825 C 58.856195,25.039825 67.099897,26.190109 69.017037,25.806681 C 70.934177,25.423253 76.685596,27.340393 76.685596,27.340393 C 76.685596,27.340393 81.67016,30.599531 81.67016,31.366387 C 81.67016,32.133243 84.162442,36.159236 84.162442,37.117806 C 84.162442,38.076376 85.121012,44.211224 84.737584,45.361508 C 84.354156,46.511792 83.779014,51.879784 83.395586,53.030068 C 83.012158,54.180351 81.478446,56.864347 79.561306,58.589773 C 77.644166,60.315199 76.493882,61.082055 74.193314,62.040625 C 71.892747,62.999195 66.908183,62.615767 64.607615,62.807481 C 62.307047,62.999195 49.078782,62.424053 47.54507,62.424053 C 46.011358,62.424053 38.
 726226,62.999195 35.658802,62.999195 C 32.591378,62.999195 22.430537,63.190909 22.430537,63.190909 L 17.062545,62.232339 z "
+       id="path2839"
+       sodipodi:nodetypes="cccsccccccccscssssssssscc" />
+    <path
+       style="fill:#fc0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 69.722295,29.745489 L 75.421388,32.227173 L 78.702685,35.639489 C 78.702685,35.639489 81.465879,39.672227 81.465879,40.447753 C 81.465879,41.223279 81.811279,46.031543 81.811279,46.031543 L 80.256987,51.925545 L 76.975687,55.648071 L 73.521691,57.819545 L 67.822598,59.370599 L 55.388213,59.215493 L 44.162728,59.370599 L 32.073743,59.835914 C 32.073743,59.835914 24.647652,58.905282 22.920653,59.215493 C 21.193655,59.525704 16.012662,57.97465 16.012662,57.97465 C 16.012662,57.97465 11.522467,55.33786 11.522467,54.71744 C 11.522467,54.097018 9.277372,50.839808 9.277372,50.064282 C 9.277372,49.288755 8.413873,44.325386 8.759274,43.394754 C 9.104676,42.464122 9.622772,38.121174 9.968175,37.190542 C 10.313567,36.259911 11.695173,34.088436 13.42217,32.692489 C 15.149163,31.296541 16.185362,30.67612 18.257761,29.900594 C 20.330156,29.125067 24.82035,29.435277 26.892749,29.280172 C 28.965146,29.125067 40.881432,29.590383 42.26303,29.590383 C 43.644627,29.590383 50.207219,
 29.125067 52.970416,29.125067 C 55.733613,29.125067 64.886702,28.969962 64.886702,28.969962 L 69.722295,29.745489 z "
+       id="path31370"
+       sodipodi:nodetypes="cccsccccccccscssssssssscc" />
+    <path
+       style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 1.1502838,59.292724 L 16.103975,59.292724 L 37.767656,59.292724 C 37.767656,59.292724 56.747341,58.621725 57.705911,58.621725 C 58.664481,58.621725 75.343599,59.069058 75.343599,59.069058 L 86.846438,58.398059 L 86.654724,70.476041 L 71.701033,69.805047 L 57.705911,70.028708 C 57.705911,70.028708 47.145452,69.437844 44.094218,69.805037 C 33.058101,71.133153 24.347676,69.581376 22.813964,69.581376 C 21.395203,69.772502 3.2668346,70.872256 1.7254252,69.805042 C 0.9585693,69.805042 1.3419978,64.43705 1.3419978,64.43705 L 1.1502838,59.292724 z "
+       id="path2845"
+       sodipodi:nodetypes="cccscccccscccc" />
+    <path
+       style="fill:#666;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 3.9301365,62.015773 L 17.813318,62.015773 L 37.926131,62.015773 C 37.926131,62.015773 55.547091,61.674948 56.437039,61.674948 C 57.326987,61.674948 72.812074,61.902165 72.812074,61.902165 L 83.491443,61.56134 L 83.313454,67.696188 L 69.430273,67.355366 L 56.437039,67.468971 C 56.437039,67.468971 46.632586,67.16885 43.799785,67.35536 C 33.553725,68.02996 25.466866,67.241755 24.04295,67.241755 C 22.725755,67.338835 5.895167,67.89744 4.4641045,67.355363 C 3.7521465,67.355363 4.108126,64.628764 4.108126,64.628764 L 3.9301365,62.015773 z "
+       id="path32257"
+       sodipodi:nodetypes="cccscccccscccc" />
+    <path
+       style="fill:black;fill-opacity:0.27565984;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 2.1088532,64.820479 L 2.8757093,68.201616 L 15.337119,68.811615 L 40.068224,68.567615 L 69.017036,69.421614 L 83.970728,68.463044 L 84.929298,65.569906 L 2.1088532,64.820479 z "
+       id="path32278"
+       sodipodi:nodetypes="cccccccc" />
+    <path
+       style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 11.076441,68.667829 L 13.859599,64.576478 L 20.536535,62.999194 L 26.175571,64.929406 C 26.175571,64.929406 29.044669,69.687399 29.044669,70.798468 C 29.044669,71.909538 28.720739,76.38431 27.411796,77.49538 C 26.102852,78.606446 23.603959,81.403736 23.603959,81.403736 L 17.026185,81.765396 L 12.768812,79.098816 L 10.064984,74.55432 L 11.076441,68.667829 z "
+       id="path2843"
+       sodipodi:nodetypes="ccccssccccc" />
+    <path
+       style="fill:red;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 13.81693,70.178599 L 15.700481,67.633733 L 20.219216,66.652645 L 24.035532,67.853258 C 24.035532,67.853258 25.977245,70.812782 25.977245,71.503879 C 25.977245,72.194977 25.75802,74.978335 24.872169,75.669432 C 23.986319,76.360528 22.295148,78.100473 22.295148,78.100473 L 17.843524,78.325429 L 14.962271,76.666787 L 13.132408,73.84006 L 13.81693,70.178599 z "
+       id="path32259"
+       sodipodi:nodetypes="ccccssccccc" />
+    <path
+       style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 59.963515,68.870429 L 62.746673,64.779078 L 69.423609,63.201794 L 75.062645,65.132006 C 75.062645,65.132006 77.931743,69.889999 77.931743,71.001068 C 77.931743,72.112138 77.607813,76.58691 76.29887,77.69798 C 74.989926,78.809046 72.491033,81.606336 72.491033,81.606336 L 65.913259,81.967996 L 61.655886,79.301416 L 58.952058,74.75692 L 59.963515,68.870429 z "
+       id="path32267"
+       sodipodi:nodetypes="ccccssccccc" />
+    <path
+       style="fill:red;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 62.704004,70.381199 L 64.587555,67.836333 L 69.10629,66.855245 L 72.922606,68.055858 C 72.922606,68.055858 74.864319,71.015382 74.864319,71.706479 C 74.864319,72.397577 74.645094,75.180935 73.759243,75.872032 C 72.873393,76.563128 71.182222,78.303073 71.182222,78.303073 L 66.730598,78.528029 L 63.849345,76.869387 L 62.019482,74.04266 L 62.704004,70.381199 z "
+       id="path32269"
+       sodipodi:nodetypes="ccccssccccc" />
+    <path
+       style="fill:black;fill-opacity:0.27565984;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 6.326561,51.68807 L 11.311125,57.944917 L 15.720547,60.855484 L 40.451652,61.37834 L 69.400464,61.465483 L 76.493882,58.781487 L 82.053588,51.862355 L 65.853756,56.276134 L 42.368792,56.472205 L 20.609254,56.284849 L 6.326561,51.68807 z "
+       id="path32276"
+       sodipodi:nodetypes="ccccccccccc" />
+    <text
+       xml:space="preserve"
+       style="font-size:25.04507064999999955px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#7a6b6b;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+       x="19.288235"
+       y="51.324699"
+       id="text2995"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan2997"
+         x="19.288235"
+         y="51.324699">ABC</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-size:25.04507065px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+       x="17.472635"
+       y="50.260551"
+       id="text2995-1"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan2997-1"
+         x="17.472635"
+         y="50.260551">ABC</tspan></text>
+  </g>
+</svg>
diff --git a/src/click_on_letter_up-activity/click_on_letter_up.xml.in b/src/click_on_letter_up-activity/click_on_letter_up.xml.in
new file mode 100644
index 0000000..eb08f32
--- /dev/null
+++ b/src/click_on_letter_up-activity/click_on_letter_up.xml.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GCompris>
+  <Board
+	 name="click_on_letter"
+	 type="click_on_letter"
+	 section="/reading"
+	 mode="uppercase"
+	 icon="click_on_letter_up.svg"
+	 mandatory_sound_dir="voices/$LOCALE/alphabet"
+	 mandatory_sound_file="voices/$LOCALE/misc/click_on_letter.ogg"
+	 difficulty="1"
+	 author="Pascal Georges (pascal georges1 free fr)"
+	 boarddir="click_on_letter"
+	 demo="1">
+	 <_title>Click on an uppercase letter</_title>
+	 <_description>Listen to a letter and click on the right one</_description>
+        <_prerequisite>Visual letter-recognition. Can move the mouse.</_prerequisite>
+        <_goal>Letter-name recognition</_goal>
+	<_manual>A letter is spoken. Click on the matching letter in the main area. You can listen to the letter again, by clicking on the mouth icon in the bottom box.</_manual>
+  </Board>
+</GCompris>
diff --git a/src/click_on_letter_up-activity/init_path.sh b/src/click_on_letter_up-activity/init_path.sh
new file mode 100755
index 0000000..6b05317
--- /dev/null
+++ b/src/click_on_letter_up-activity/init_path.sh
@@ -0,0 +1,8 @@
+# Set the different path for this activity
+# This is sourced by runit.sh
+path=$1
+activity=click_on_letter
+plugindir=$path/../click_on_letter-activity/.libs
+pythonplugindir=$path
+resourcedir=$path/../click_on_letter-activity/resources
+section="/reading"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]