Remove FIXME warning (applier_apply_prefs): Disable wallpaper in new_prefs
2001-04-24 Bradford Hovinen <hovinen@ximian.com> * applier.c (applier_apply_prefs): Remove FIXME warning (applier_apply_prefs): Disable wallpaper in new_prefs structure if the wallpaper pixbuf is NULL and we are not loading a new pixbuf
This commit is contained in:
parent
6ea2d34dd5
commit
1455dedadd
1 changed files with 3 additions and 1 deletions
|
@ -349,12 +349,14 @@ applier_apply_prefs (Applier *applier, Preferences *prefs,
|
|||
gdk_pixbuf_new_from_file (prefs->wallpaper_filename);
|
||||
|
||||
if (!applier->private->wallpaper_pixbuf) {
|
||||
#warning FIXME: should be a dialog
|
||||
g_warning (_("Could not load pixbuf \"%s\"; disabling wallpaper."),
|
||||
prefs->wallpaper_filename);
|
||||
new_prefs->wallpaper_enabled = FALSE;
|
||||
}
|
||||
}
|
||||
else if (applier->private->wallpaper_pixbuf == NULL) {
|
||||
new_prefs->wallpaper_enabled = FALSE;
|
||||
}
|
||||
|
||||
if (do_preview) {
|
||||
if (applier->private->preview_renderer == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue