summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index bec746f..5565d32 100644
--- a/src/main.c
+++ b/src/main.c
@@ -244,7 +244,8 @@ activate_cb (GApplication *application)
link != NULL;
link = link->next)
{
- gtk_widget_show (GTK_WIDGET (link->data));
+ if (! fr_window_is_batch_mode (FR_WINDOW (link->data)))
+ gtk_widget_show (GTK_WIDGET (link->data));
}
}