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:
Bradford Hovinen 2001-04-25 01:32:13 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 6ea2d34dd5
commit 1455dedadd

View file

@ -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)