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 :

http://bugzilla.gnome.org/show_bug.cgi?id=314774

   Thanks,

      Erwann

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


_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to