GNOME Bugzilla – Bug 76993
schema ignores install prefix for default background
Last modified: 2004-12-22 21:47:04 UTC
libgnom/schemas/desktop_gnome_background.schemas <key>/schemas/desktop/gnome/background/picture_filename</key> <default>/usr/share/nautilus/patterns/dark-gnome.jpg</default> 1) /use/share should default to the libgnome install prefix in preference to /usr. Its not correct but it is more likely to be correct. 2) Should the default not be installed in libgnomeui rather than nautilus ?
Did this get fixed, Jody? Also, I'm little unclear on the consequences if not...
no it did not. On a system without nautilus or with nautilus in a different prefix that /usr the background capplet will fail to find the default sample.
*** Bug 77924 has been marked as a duplicate of this bug. ***
*** Bug 77144 has been marked as a duplicate of this bug. ***
Minor but the repetition makes me think this might end up being more common than we'd like. Oh buildmaster, can you make this use $PREFIX somehow?
the pixmap it refers to is installed by nautilus, so the schema really needs to point to nautilus' prefix and not libgnome's. however, it's impossible for libgnome to know this at build time. the right fix is to include an image in libgnome, or set the default to be nothing. trivial to do either.
I think we're ok with just using a solid color for 2.0. Distributions can change it if they want.
Yeah, I think I'm with Anders... just set it to blank or a color and close it.
setting it to an empty string exposes some bugs in the background properties capplet which i will need to fix before committing a fix here. (my guess is those bugs prompted a default image to be added, which causes this bug)
*** Bug 76432 has been marked as a duplicate of this bug. ***
i will fix this this week.
jody, anders: can i commit this patch?
Created attachment 8517 [details] [review] patch to handle non-existant files more gracefully at startup, and set the default background image to nothing
Looks good. I like the idea of defaulting to nothing in place of assuming that nautilus is installed.
fixes committed.
*** Bug 84644 has been marked as a duplicate of this bug. ***