[gcompris] lang, set back the default locale when leaving lang activity.



commit d1be1d223063659fc80de48623afebba87cb9ac9
Author: Bruno Coudoin <bcoudoin gcompris net>
Date:   Sun Sep 29 15:59:38 2013 +0200

    lang, set back the default locale when leaving lang activity.

 src/lang-activity/lang.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/lang-activity/lang.py b/src/lang-activity/lang.py
index 4b9a6ee..93b69df 100644
--- a/src/lang-activity/lang.py
+++ b/src/lang-activity/lang.py
@@ -111,6 +111,7 @@ class Gcompris_lang:
     self.pause(0);
 
   def end(self):
+    gcompris.set_locale( "" )
     gcompris.sound.policy_set(self.saved_policy)
     gcompris.sound.resume()
     if self.currentExercise:


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