Commit cebbbe5d authored by Søren Sandmann's avatar Søren Sandmann Committed by Søren Sandmann Pedersen

If the placement is "none", then set image to NULL.

Sat May 31 03:20:11 2008  Søren Sandmann  <sandmann@redhat.com>

	* libnautilus-private/nautilus-directory-background.c
	(nautilus_file_background_read_desktop_settings): If the placement
	is "none", then set image to NULL.


svn path=/trunk/; revision=14214
parent 063e25ef
Sat May 31 03:20:11 2008 Søren Sandmann <sandmann@redhat.com>
* libnautilus-private/nautilus-directory-background.c
(nautilus_file_background_read_desktop_settings): If the placement
is "none", then set image to NULL.
Fri May 30 23:33:17 2008 Søren Sandmann <sandmann@redhat.com>
* Revert last commit as we do still need to deal with uris.
......
......@@ -188,6 +188,12 @@ nautilus_file_background_read_desktop_settings (char **color,
else if (strcmp (tmp, "zoom") == 0) {
*placement = EEL_BACKGROUND_ZOOM;
}
else if (strcmp (tmp, "none") == 0) {
g_free (*image);
*placement = EEL_BACKGROUND_CENTERED;
*image = NULL;
}
else {
*placement = EEL_BACKGROUND_CENTERED;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment