Re: Control center: theme changes.



Hi Havoc,

On Fri, 2001-12-28 at 16:08, Havoc Pennington wrote:
> Doesn't work. There's no guarantee the user has a writable config
> database at all, it's totally legitimate not to have one. Then the
> value won't change and ergo no notification.

	True; hmm.

> GConf is not an IPC mechanism. Use proper IDL. ;-)

	sure - problem is, it's not at all obvious what bit of infastructure to
shoehorn this onto - having an 'application registration and theme
change notification daemon' might be judged bloat ;-)

> I believe it's fixed in GTK 2 because the theme change notification
> comes via an xsetting which is monitored by looking at PropertyNotify
> on the root window or something, i.e. you don't need a realized window
> in order to get the notify.

	Ah - I see it lurking in an interaction between gdkevents-x11.c and
gtkrc.c; I missed that and only saw the gtkwindow code still there.
It's great to know it's fixed without having to do nasty hacks.

> The xsetting properties will mirror a GConf key (gnome-settings-daemon
> propagates from gconf to xsetting, I believe).

	Oh - sounds good.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




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