diff src/layout_image.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 0cd2268f500b
children 1a134b4dc88c
line wrap: on
line diff
--- a/src/layout_image.c	Thu Jun 04 16:07:41 2009 +0000
+++ b/src/layout_image.c	Thu Jun 04 19:51:20 2009 +0000
@@ -1610,7 +1610,7 @@
 		g_signal_connect(G_OBJECT(lw->split_images[i]->pr), "update-pixel",
 				 G_CALLBACK(layout_status_update_pixel_cb), lw);
 
-		image_background_set_color(lw->split_images[i], options->image.use_custom_border_color ? &options->image.border_color : NULL);
+		image_background_set_color_from_options(lw->split_images[i], FALSE);
 
 		image_auto_refresh_enable(lw->split_images[i], TRUE);