Mercurial > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
1625:d00761ba18bd | 1626:1d7941c147be |
---|---|
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 { |