diff options
author | Gediminas Paulauskas <menesis@delfi.lt> | 2001-12-09 12:23:40 +0000 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-12-09 12:23:40 +0000 |
commit | 9f8ed1254fb28f3e92ef96804c6c5b435907cc3f (patch) | |
tree | 4387dcb9a3e93457cbff5f460e3369632944415f /root-manager | |
parent | b045659c8e9641faaac7d4d1480409587dfcc9b9 (diff) | |
download | gnome-control-center-9f8ed1254fb28f3e92ef96804c6c5b435907cc3f.tar.gz |
retrieve translation in utf-8 codeset. Do not setlocale (). remove intl.
2001-12-09 Gediminas Paulauskas <menesis@delfi.lt>
* *.c (main): retrieve translation in utf-8 codeset. Do not
setlocale ().
* some Makefile.am (INCLUDES): remove intl.
(..._LDADD): remove INTLLIBS
Diffstat (limited to 'root-manager')
-rw-r--r-- | root-manager/Makefile.am | 3 | ||||
-rw-r--r-- | root-manager/root-manager-helper.c | 3 | ||||
-rw-r--r-- | root-manager/root-manager.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/root-manager/Makefile.am b/root-manager/Makefile.am index ec7a9b7d2..da1bb4b35 100644 --- a/root-manager/Makefile.am +++ b/root-manager/Makefile.am @@ -3,7 +3,6 @@ pixmap_DATA = xst-keys.png INCLUDES = \ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ - -I$(top_srcdir)/intl -I$(top_builddir)/intl \ @RMHELPER_CFLAGS@ \ -DUH_PATH=\""$(sbindir)/root-manager"\" \ -DUH_KEY_PIXMAP_PATH=\""$(pixmapdir)/xst-keys.png"\" \ @@ -30,4 +29,4 @@ root_manager_helper_SOURCES = \ root_manager_helper_LDFLAGS = @RMHELPER_LIBS@ -EXTRA_DIST = xst-keys.png
\ No newline at end of file +EXTRA_DIST = xst-keys.png diff --git a/root-manager/root-manager-helper.c b/root-manager/root-manager-helper.c index 5267dc4f8..b02cdb0c3 100644 --- a/root-manager/root-manager-helper.c +++ b/root-manager/root-manager-helper.c @@ -42,9 +42,8 @@ main(int argc, char* argv[]) int new_fd; - /* first set up our locale info for gettext. */ - setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); argv_fake = g_new0 (char *, 3); diff --git a/root-manager/root-manager.c b/root-manager/root-manager.c index df6fc6177..7a3c841af 100644 --- a/root-manager/root-manager.c +++ b/root-manager/root-manager.c @@ -431,9 +431,8 @@ int main(int argc, char *argv[]) mcheck(mcheck_out); #endif - /* first set up our locale info for gettext. */ - setlocale(LC_ALL, ""); bindtextdomain (PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (PACKAGE, "UTF-8"); textdomain (PACKAGE); if (geteuid() != 0) { |