Module: deluge
Branch: master
Commit: eb37c918661d447cbb9d56165e659ba3d38c6d3c

Author: John Garland <[email protected]>
Date:   Mon Sep 20 02:43:07 2010 +1000

Set locale to the user's default settings in the gtkui

---

 deluge/ui/gtkui/gtkui.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py
index bfec91b..3ff0924 100644
--- a/deluge/ui/gtkui/gtkui.py
+++ b/deluge/ui/gtkui/gtkui.py
@@ -47,6 +47,7 @@ import sys
 
 # Initialize gettext
 try:
+    locale.setlocale(locale.LC_ALL, '')
     if hasattr(locale, "bindtextdomain"):
         locale.bindtextdomain("deluge", 
pkg_resources.resource_filename("deluge", "i18n"))
     if hasattr(locale, "textdomain"):

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to