OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | From 0a8f8397c09538b7e583f07960046913f6461579 Mon Sep 17 00:00:00 2001 |
2 | From: Joshua Judson Rosen <rozzin@geekspace.com> |
3 | Date: Fri, 13 May 2011 21:34:34 -0400 |
4 | Subject: [PATCH 17/17] Initialise locale before parsing options |
5 | to enable, for example, handling of localised filenames passed to the "--file" and "--analyze-standalone" options. |
6 | |
7 | --- |
8 | gjay.c | 1 + |
9 | 1 files changed, 1 insertions(+), 0 deletions(-) |
10 | |
11 | diff --git a/gjay.c b/gjay.c |
12 | index 205065e..ea1dc84 100644 |
13 | --- a/gjay.c |
14 | +++ b/gjay.c |
15 | @@ -130,6 +130,7 @@ parse_commandline(int *argc_p, char ***argv_p, guint *playlist_minutes, gboolean |
16 | /* if (gtk_init_check(&argc, &argv)) |
17 | g_option_context_add_group (context, gtk_get_option_group (TRUE));*/ |
18 | error = NULL; |
19 | + gtk_set_locale(); |
20 | if (!g_option_context_parse (context, argc_p, argv_p, &error)) |
21 | { |
22 | g_print (_("option parsing failed: %s\n"), error->message); |
23 | -- |
24 | 1.7.2.5 |
25 | |
26 |