diff options
| author | Ryan Lortie <desrt@desrt.ca> | 2012-04-10 12:34:43 (GMT) |
|---|---|---|
| committer | Ryan Lortie <desrt@desrt.ca> | 2012-04-10 12:36:04 (GMT) |
| commit | 79f634512fcc56c504c6593d2a1f3ffe5de9bb9c (patch) | |
| tree | 83bb3d48538f710a096e040352eae13639c1d3ed | |
| parent | 8291e1d05eba85dc23241368586fa955d2afe8f5 (diff) | |
| download | dconf-79f634512fcc56c504c6593d2a1f3ffe5de9bb9c.zip dconf-79f634512fcc56c504c6593d2a1f3ffe5de9bb9c.tar.xz | |
dconf cli: call setlocale() on startup
https://bugzilla.gnome.org/show_bug.cgi?id=673834
| -rw-r--r-- | 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), |