Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mainscreen.py
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2009-02-20 15:31:18 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2009-02-20 15:31:18 (GMT)
commit385f575bc7f59d10d4e85fabee1e44237cdcc0e3 (patch)
tree6b28166c45b99c1b8cbb3cdbad8bd995f502b852 /mainscreen.py
parent4176f798165efcf0acad22896a3f330d7b710bd2 (diff)
Fixes from Aleksey Lim.
Diffstat (limited to 'mainscreen.py')
-rw-r--r--mainscreen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainscreen.py b/mainscreen.py
index d8ce76c..3771c91 100644
--- a/mainscreen.py
+++ b/mainscreen.py
@@ -130,7 +130,7 @@ class MainScreen(gtk.VBox):
# Load lessons for this language.
bundle_path = sugar.activity.activity.get_bundle_path()
- code = locale.getlocale(locale.LC_ALL)[0]
+ code = locale.getdefaultlocale()[0]
path = bundle_path + '/lessons/' + code
self.load_lessons(path)