comparison src/fullscreen.c @ 1622:fee96b7345e8

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
comparison
equal deleted inserted replaced
1621:397c25f6c9d6 1622:fee96b7345e8
289 289
290 fs->imd = image_new(FALSE); 290 fs->imd = image_new(FALSE);
291 291
292 gtk_container_add(GTK_CONTAINER(fs->window), fs->imd->widget); 292 gtk_container_add(GTK_CONTAINER(fs->window), fs->imd->widget);
293 293
294 if (options->image.use_custom_border_color) 294 image_background_set_color_from_options(fs->imd, TRUE);
295 {
296 image_background_set_color(fs->imd, &options->image.border_color);
297 }
298
299 image_set_delay_flip(fs->imd, options->fullscreen.clean_flip); 295 image_set_delay_flip(fs->imd, options->fullscreen.clean_flip);
300 image_auto_refresh_enable(fs->imd, fs->normal_imd->auto_refresh); 296 image_auto_refresh_enable(fs->imd, fs->normal_imd->auto_refresh);
301 297
302 if (options->fullscreen.clean_flip) 298 if (options->fullscreen.clean_flip)
303 { 299 {