Re: CVS-1-27 compile error explained



The second patched fixed all compile problems. Looking at glib/gi18n.h, I expected native language support to be turned on in NMApplet via GNU gettext. I added

LANG=de_DE.UTF-8
export LANG

to my bash_profile and rebooted. I see that the gconf messages in syslog are in German but the popup messages produced by NMApplet are still in English. The de.po file has these popup messages translated. What am I missing.

Nathan Fredrickson wrote:

On Sat, 2005-29-01 at 22:59 -0500, Nathan Fredrickson wrote:
On Sat, 2005-29-01 at 17:38 -0500, Dan Williams wrote:
Well, I decided to try not to use deprecated functions, and since a number of the gnome guys here at work have been trying to get rid of libgnomeui (for good reason), it seems this one has gone away. I'll have to ask around what the replacement for it is.
The replacement is gtk_window_set_default_icon_from_file().  This was
the panel-applet's only dependency on libgnomeui, so the #include can be
removed too.  Patch attached.

The only remaining dependency on libgnomeui is gnome-password-dialog in
info-daemon/NetworkManagerInfoVPN.c, but that's not deprecated yet.

The second problem Bill reported, the missing _(), is due to
libgnome/gnome-i18n.h being deprecated.  Before being deprecated, this
file included bonobo/bonobo-i18n.h, which defined _().  I believe
glib/gi18n.h can be used instead.

The attached patch replaces my earlier patch and fixes both of the
issues Bill reported.


--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]