I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and then a, for example). However, it does not work in some GTK+ applications - in this case, Gedit and GnuCash. In other ones, such as Inkscape and Dia, I can enter diacritics as dead keys. It is valid to note that Dia and Inkscape runs through X11 but Gedit and GnuCash (at least my versions) do not.
Does anybody have such problem? Has someone solved it? How could I configure the keyboard layout for GTK+? Do I do it in some ~/.gconf* or ~/.gnome file?
Thanks in advance?