Commit 5ce6bea6 authored by Timur I. Bakeyev's avatar Timur I. Bakeyev

Under some systems (notably, BSDI), there is no LC_MESSAGES category in


Under some systems (notably, BSDI), there is no LC_MESSAGES category in
locale.h. In this case it is good guess to relay on the value of LC_ALL
(in fact, LC_CTYPE will be more precise).
parent 6205bbbf
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
according to LC_ALL.
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
......
...@@ -380,7 +380,11 @@ gtk_rc_init (void) ...@@ -380,7 +380,11 @@ gtk_rc_init (void)
gchar *locale_suffixes[3]; gchar *locale_suffixes[3];
gint n_locale_suffixes = 0; gint n_locale_suffixes = 0;
gint i, j; gint i, j;
#ifdef HAVE_LC_MESSAGES
char *locale = setlocale (LC_MESSAGES, NULL); char *locale = setlocale (LC_MESSAGES, NULL);
#else
char *locale = setlocale (LC_ALL, NULL);
#endif
guint length; guint length;
char *p; char *p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment