mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-29 03:34:16 +00:00
Call setlocale() before we try to obtain any translations. Fixes bug
2006-08-15 Federico Mena Quintero <federico@novell.com> * src/nautilus-main.c (main): Call setlocale() before we try to obtain any translations. Fixes bug #342147. Patch by Stanislav Brabec <sbrabec@suse.cz>.
This commit is contained in:
parent
79924a157b
commit
806b7fb7b4
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-08-15 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* src/nautilus-main.c (main): Call setlocale() before we try to
|
||||
obtain any translations. Fixes bug #342147. Patch by Stanislav
|
||||
Brabec <sbrabec@suse.cz>.
|
||||
|
||||
2006-08-15 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* configure.in: Fix intltool req.
|
||||
|
|
|
@ -53,6 +53,9 @@
|
|||
#include <libnautilus-private/nautilus-global-preferences.h>
|
||||
#include <libnautilus-private/nautilus-lib-self-check-functions.h>
|
||||
#include <libxml/parser.h>
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
@ -224,6 +227,8 @@ main (int argc, char *argv[])
|
|||
{ NULL }
|
||||
};
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
if (g_getenv ("NAUTILUS_DEBUG") != NULL) {
|
||||
eel_make_warnings_and_criticals_stop_in_debugger ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue