Root/gjay/patches/0017-Initialise-locale-before-parsing-options.patch

Source at commit 1b3135c created 9 years 10 days ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1From 0a8f8397c09538b7e583f07960046913f6461579 Mon Sep 17 00:00:00 2001
2From: Joshua Judson Rosen <rozzin@geekspace.com>
3Date: Fri, 13 May 2011 21:34:34 -0400
4Subject: [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
11diff --git a/gjay.c b/gjay.c
12index 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--
241.7.2.5
25
26

Archive Download this file



interactive