GNOME Bugzilla – Bug 634156
gnome-appearance-properties erases backgrounds.xml if Backgrounds tab is not shown before closing
Last modified: 2011-09-09 10:12:08 UTC
Created attachment 173940 [details] [review] gnome-control-center-2.32.0-background-xml-write.patch 1. Open gnome-terminal and run "gnome-appearance-properties" 2. go to "background" tab 3. Click on "Add" and add a new image from my home. 4. Click on "Close" 5. Run again "gnome-appearance-properties" 6. Click on close without opening "Background" tab Now check ~/.gnome2/backgrounds.xml: <?xml version="1.0"?> <!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd"> <wallpapers/> Attached patch from: http://bugs.gentoo.org/show_bug.cgi?id=344335 and prepared by Matthew Turnbull looks to solve this. Thanks for fixing this
I can confirm this bug in 2.32.1. Given patch seems to fix the issue. One note: in step 3: add either 2 or more wallpapers or after adding only one, select other wallpaper or none. Selected one will not disappear even though backgrounds.xml will be empty. gnome-appearance-properties probably reads currently used wallpaper from gconf settings in /desktop/gnome/background at startup etc.
Reassigning to "Appearance" for GNOME 2.x, the GNOME 3 code doesn't save anything anymore.
*** Bug 636548 has been marked as a duplicate of this bug. ***
Attached patch worked ok for me, if there won't be "Appearance" in gnome-control-center-3, maybe this could be committed only to 2.32 branch... Thanks
Could you at least review the patch and tell us if it's safe enough to be included downstream? Thanks
(In reply to comment #5) > Could you at least review the patch and tell us if it's safe enough to be > included downstream? Thanks Sorry, but you should ask somebody who's familiar with the GNOME 2.32.x capplet. I've never read its code, I only triaged the bugs.
OK, I hope any other gnome-control-center developer will also read this :-) Regards
Nobody cares about GNOME 2.32 it seems, not even the people shipping it. Closing this.