aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/main.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index d881699f43..35d24cac6d 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-23 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #334821 by Tollef Fog Heen
+
+ * main.c: it should not spawn the default shell for uris.
+
2006-08-23 Daniel Gryniewicz <dang@gentoo.org>
* e-shell-window.c:
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;