Ethereal-dev: RE: [Ethereal-dev] Preferences bug: font reset if editing prefere nces

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 19 Jan 2004 15:51:10 +0100
| From: Ulf Lamping
| 
| Olivier Biot wrote:
| >
| >The code in gtk/gui_prefs.c says:
| >
| >    /* Set the font to the current font.
| >    XXX - GTK+ 1.2.8, and probably earlier versions, have a bug
| >    wherein that doesn't necessarily cause that font to be
| >    selected in the dialog box.  I've sent to the GTK+ folk
| >    a fix; hopefully, it'll show up in 1.2.9 if, as, and when
| >    they put out a 1.2.9 release. */
| > gtk_font_selection_set_font_name(
| >     GTK_FONT_SELECTION(font_browse_w), prefs.gui_font_name);
| >
| >So it seems that the problem is known to some extent.
| 
| You have written, that you're using GTK 2.x, so this bug should have 
| been fixed for quite a while now...
| 
| Hmmm, that sounds to me, that we cannot do anything against it, or do 
| you have any good idea?

I verified this on my laptop, and it also displays the bug.

I compile with GLib 2.2.1 and GTK+ 2.2.1 for cygwin. Unfortunately
I don't succeed in compiling GLib/GTK 2.x from source (and I know,
version 2.2.1 is already old).

Do other people that compile with cygwin (and GTK+-2.0) have the same
problem? If not, which GTK+ version are they using?

Regards,

Olivier