[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDK/GTK 1.2 with hebrew support
Dov Grobgeld writes:
> > I have a strange idea. The text and entry widgets are created by
> > calling the appropriate GTK function by the application, right? So
> > what if we make an .so library that overrides these functions and
> > makes them create the Hebrew widgets instead, and then LD_PRELOAD that
> > library into any GTK application? Theoretically this should allow us
> > to Hebrewfy any GTK application on the fly without recompilation. Is
> > there anything that will stop this from working?
>
> Nope. It certainly should work. I thought about doing it once but it somehow
> slipped out of my mind. The problem is more an organizational one. If a new
> version of Gtk is released one should update the reflected versions as well. If
> someone takes upon himself the headache of keeping an updated site with rpm's
> and tar files of the patched library., I'll write the code. Any volunteers?
I'd like to take a stab at it. Lets try it!
> Note that such a solution is less than perfect. E.g. in irc you'll
> have one big pain flipping the direction of the text widget the whole
> time if you are trying to speak in Hebrew and English at the same time.
What do you mean? Of course you need to change language if you want to
speak in both languages. How can it be something else?
> Also, such a solution isn't enough to insert the appropriate header's
> and be able to quote appropriately for a mail agent.
There are a few applications that need more support than just
inserting the Hebrew text widgets instead of the English ones, such as
a mail program, but such a solution is good for the short term, pretty
easy and will benefit a lot of other applications (even if it's only
good for ICQ and IRC, it will make a lot of people happy).
--
Alex Shnitman | http://www.debian.org
alexsh@hectic.net, alexsh@linux.org.il +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
Software suppliers are trying to make their software packages more
"user-friendly". ... Their best approach, so far, has been to take all
the old brochures, and stamp the words, "user-friendly" on the cover.
-- Bill Gates, Microsoft, Inc.