Ethereal-dev: Re: [Ethereal-dev] Preferences bug: font reset if editing preferences

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

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Fri, 23 Jan 2004 01:09:53 +0100
Great! This fixes the bug on my GTK2 build!

Thanks!

Olivier

----- Original Message ----- 
From: "Olivier Abad"


| On dim, jan 18, 2004 at 11:28:30 +0100, Ulf Lamping wrote:
| > 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 noticed, using gdb, that gtk_font_selection_set_font_name returns
| false (it doesn't work). However, if I wait until the preference
dialog
| is displayed before calling gtk_font_selection_set_font_name, it
works !
|
| After a few tests, I found that it must be executed at least after
the
| font selection widget has been appended to the notebook.
|
| Olivier