Re: How to use gtk / C language to change the desktop background picture?



Thank you very much.Use "gconf_client_set_string()" funciton is ok.

Matteo Settenvini wrote:
> 
> Hi,
> 
> the easiest way, I believe, is to set the relative gconf key. You can
> see what is by launching "gconf-editor" and navigating
> to /desktop/background/picture_filename.
> 
> To modify that from C code, have a look at the GConf manual. 
> http://library.gnome.org/devel/gconf/stable/gconf-GConfClient.html
> 
> This won't update ~/.gnome2/backgrounds.xml, though.
> 
> Cheers,
> Matteo
> 
> 
> 
>  
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-gtk---C-language-to-change-the-desktop-background-picture--tp22530821p22554727.html
Sent from the Gnome - Desktop - Dev mailing list archive at Nabble.com.



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