GNOME Bugzilla – Bug 339404
Unable to change the background after a manipulation with gconf
Last modified: 2007-01-08 16:28:21 UTC
Please describe the problem: After unchecking /desktop/gnome/background/draw_background entry, it is impossible to change the background even this entry is checked again. Steps to reproduce: 1. Uncheck /desktop/gnome/background/draw_background. 2. Check this entry. 3. Try to modify the background. Actual results: Expected results: Does this happen every time? Other information: Here is a patch which solves this bug. control-center-2.12.3.orig/libbackground/preferences.c 2005-11-07 19:06:45.000000000 +0100 +++ control-center-2.12.3/libbackground/preferences.c 2006-04-17 22:20:22.000000000 +0200 @@ -361,7 +361,7 @@ (prefs->wallpaper_filename != NULL) && strcmp (prefs->wallpaper_filename, "") != 0 && strcmp (prefs->wallpaper_filename, "(none)") != 0) - prefs->wallpaper_enabled = TRUE; + prefs->enabled = TRUE; else prefs->enabled = FALSE; } else {
Created attachment 64106 [details] [review] Patch presented above
I can't reproduce it in GNOME 2.14. Can you try a more recent distro, like a live CD or something? Also, it's always better to submit patches agains the most recent release (2.14), or even against CVS HEAD.
I forgot to say that i don't use nautilus to paint the wallpaper. /apps/nautilus/preferences/show_desktop and background_set entries are unchecked. It is important because if they are checked, background is drawn by nautilus. And it may be why you can't reproduce it. And I verified cvs version but the part of the file I have patched hasn't been modified for two years. And when I look at this file, I think my patch should be applied. Indeed, the part of the file I have modified is a bit strange. Please take a look and tell me if I'm wrong. Best regards, Jean-Christophe Jaskula
Hi, I switched to Gnome 2.14 few weeks ago but I still have this problem. I wasn't enable to test my patch but I'm pretty sure it solves the issue: it has already solved it for Gnome 2.12. Can you take a look ? Best regards, Jean-Christophe Jaskula
also see bug 337674 and bug 342356, perhaps the same issue.
Committed. Thanks.