diff src/fullscreen.c @ 1626:1d7941c147be

Add an option to Image preferences to restrict custom border to fullscreen mode only. Bug 2798062.
author zas_
date Thu, 04 Jun 2009 19:51:20 +0000
parents 24a12aa0cb54
children 956aab097ea7
line wrap: on
line diff
--- a/src/fullscreen.c	Thu Jun 04 16:07:41 2009 +0000
+++ b/src/fullscreen.c	Thu Jun 04 19:51:20 2009 +0000
@@ -291,11 +291,7 @@
 
 	gtk_container_add(GTK_CONTAINER(fs->window), fs->imd->widget);
 
-	if (options->image.use_custom_border_color)
-		{
-		image_background_set_color(fs->imd, &options->image.border_color);
-		}
-
+	image_background_set_color_from_options(fs->imd, TRUE);
 	image_set_delay_flip(fs->imd, options->fullscreen.clean_flip);
 	image_auto_refresh_enable(fs->imd, fs->normal_imd->auto_refresh);