Hi, Lool,

You are right, it should not. 

Hildon-desktop theme update at runtime is working fine without listening to 
gconf key changes. Hildon-desktop only listens to gconf key change to update 
the cached-theme, which is ~/.gtkrc-2.0. The main purpose to update the cache 
is while updating theme of hildon-desktop at runtime is working fine, it will 
not keep the change, and fall back to Default theme setting everytime when X is 
restarted or system is rebooted. With cached-theme updated, new theme setting 
could be saved and re-applied.

There might be better way to handle the situation. If so, please share with me.

Thanks,
Horace

-----Original Message-----
From: Loïc Minier [mailto:[EMAIL PROTECTED] 
Sent: 2008年5月16日 17:40
To: Li, Horace
Cc: Bill Filler; Kyle Nitzsche; Spencer, Bob; Guo, Young; Whalen, Mauri; Xie, 
May; [EMAIL PROTECTED]; [email protected]
Subject: Re: Marquee panel supports theme update at runtime

On Fri, May 16, 2008, Li, Horace wrote:
> I worked out a patch to hildon-desktop 2.0.11, to support marquee
> panel theme update at runtime. The patch will read what is set in
> gconf key /desktop/gnome/interface/gtk_theme, apply the theme and then
> monitor any changes of /desktop/gnome/interface/gtk_theme at runtime.

 I wonder why Gtk+ xsettings watch on the theme setting doesn't work
 with hildon-desktop: gtk apps shouldn't have to listen to the gconf key
 changes.

-- 
Loïc Minier
-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to