aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index f5f3d13240..e2f10bb846 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -377,7 +377,8 @@ idle_cb (void *data)
}
if (shell != NULL) {
- e_shell_create_window (shell, default_component_id, NULL);
+ if (g_slist_length (uri_list) == 0)
+ e_shell_create_window (shell, default_component_id, NULL);
open_uris (corba_shell, uri_list);
} else {
CORBA_Environment ev;