[dconf/dconf-0.12] dconf cli: call setlocale() on startup
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf/dconf-0.12] dconf cli: call setlocale() on startup
- Date: Tue, 10 Apr 2012 12:36:15 +0000 (UTC)
commit 79f634512fcc56c504c6593d2a1f3ffe5de9bb9c
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Apr 10 08:34:43 2012 -0400
dconf cli: call setlocale() on startup
https://bugzilla.gnome.org/show_bug.cgi?id=673834
bin/dconf.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bin/dconf.vala b/bin/dconf.vala
index d7840ec..4117d23 100644
--- a/bin/dconf.vala
+++ b/bin/dconf.vala
@@ -283,6 +283,8 @@ int main (string[] args) {
assert (args.length != 0);
Environment.set_prgname (args[0]);
+ Intl.setlocale (LocaleCategory.ALL, "");
+
var map = new CommandMapping[] {
CommandMapping ("help", dconf_help),
CommandMapping ("read", dconf_read),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]