summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 2cb28e7..cb15773 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -2519,6 +2519,7 @@ static gboolean
eom_window_unsaved_images_confirm (EomWindow *window)
{
EomWindowPrivate *priv;
+ gboolean disabled;
GtkWidget *dialog;
GList *list;
EomImage *image;
@@ -2526,7 +2527,10 @@ eom_window_unsaved_images_confirm (EomWindow *window)
priv = window->priv;
- if (window->priv->save_disabled) {
+ disabled = g_settings_get_boolean(priv->ui_settings,
+ EOM_CONF_UI_DISABLE_CLOSE_CONFIRMATION);
+ disabled |= window->priv->save_disabled;
+ if (disabled) {
return FALSE;
}