Re: Removing xrdb for 10% startup win?

Hi Ross,

Ross Burton wrote:

On Wed, 2005-09-21 at 11:18 +0200, Erwann Chenede wrote:
Oops, I forgot to reply.
The multiple "style-set" signals are received in g-s-d via the style_set_cb callback because the callback was connected (via gnome_settings_xrdb_init) before the actual theme information
is retrieved from gconf and propagated by g-s-d.
So I believe this case is specific to g-s-d and not generic to gtk itself.

Just a stab in the dark, but would swapping the g_signal_connect and
gtk_widget_ensure_style() lines in gnome_settings_xrdb_init() cure this?
Yes, that would reduce that problem but the callback would still be called during the Xsettings initialization.
I've logged a bug last month with a patch that fixes the problem :



             Erwann Chénedé,
Desktop Group,           Sun Microsystems
[ I speak for myself, not for my employer ]

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