Re: Do Apps Use a "Root" Locales?
- From: Pablo Saratxaga <pablo mandrakesoft com>
- To: "gnome-i18n gnome org" <gnome-i18n gnome org>
- Subject: Re: Do Apps Use a "Root" Locales?
- Date: Thu, 18 Apr 2002 20:36:10 +0200
Kaixo!
On Fri, Apr 19, 2002 at 12:49:01AM +0800, R.I.P. Deaddog wrote:
> On Thu, 18 Apr 2002, Daniel Yacob wrote:
>
> > After convincing gnome ghost view to speak amharic:
> >
> > http://gnome.geez.org/Amharic/ggv.jpg
> > I was also surprised that the spacing between the toolbar
> > buttons expanded quite a bit. Anyone know how to remedy
> > that?
I learned the hard way that, in order for Gtk to count *characters* and
not *bytes* you need to call gtk_set_locale().
So, try editing the file ggv/src/main.c to change:
int main(int argc, char *argv[])
{
GnomeClient *client;
poptContext ctx;
gchar **startups;
gchar *fname;
ggv_window *ggv;
bindtextdomain(PACKAGE, GNOMELOCALEDIR);
textdomain(PACKAGE);
to:
int main(int argc, char *argv[])
{
GnomeClient *client;
poptContext ctx;
gchar **startups;
gchar *fname;
ggv_window *ggv;
gtk_set_locale();
bindtextdomain(PACKAGE, GNOMELOCALEDIR);
textdomain(PACKAGE);
and recompile, and see if that changes something.
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]