summaryrefslogtreecommitdiffstats
path: root/gnome-map/timezonemapmodule.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-12 04:53:58 +0000
committerMatt Wilson <msw@redhat.com>2001-07-12 04:53:58 +0000
commit744ffe10051e0055ae09413fb72c074979fb0880 (patch)
tree64d3775e7767f3128d17df63cc2906ad224260ef /gnome-map/timezonemapmodule.c
parent8922e79db32f7642c8c07dae914d69f137e6022d (diff)
downloadanaconda-744ffe10051e0055ae09413fb72c074979fb0880.tar.gz
anaconda-744ffe10051e0055ae09413fb72c074979fb0880.tar.xz
anaconda-744ffe10051e0055ae09413fb72c074979fb0880.zip
1) since libfdisk isn't setting up the text domain for C programs
anymore, we have to set it in the timezone map module 2) remove the America/New York default and have the text interface fetch it from the insttimelanguage Fixes #48723
Diffstat (limited to 'gnome-map/timezonemapmodule.c')
-rw-r--r--gnome-map/timezonemapmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnome-map/timezonemapmodule.c b/gnome-map/timezonemapmodule.c
index f5619ff37..befd549fb 100644
--- a/gnome-map/timezonemapmodule.c
+++ b/gnome-map/timezonemapmodule.c
@@ -897,6 +897,10 @@ static tzObject * doNewTZ (PyObject * s, PyObject * args) {
void inittimezonemap (void) {
init_pygtk();
+ setlocale (LC_MESSAGES, "");
+ setlocale (LC_CTYPE, "");
+ bindtextdomain("anaconda","/usr/share/locale");
+ textdomain("anaconda");
Py_InitModule("timezonemap", timezoneMethods);
}