aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/main.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 256c6f7ceb..49a4edee5f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-22 Stephen Cook <siti@orcon.net.nz>
+
+ * main.c: fix startup notification problem (closes: #271851)
+
+
2007-04-20 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #259606 from Michael Meeks
diff --git a/shell/main.c b/shell/main.c
index f9b59170f7..c8b49811b8 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -382,8 +382,12 @@ idle_cb (gchar **uris)
CORBA_exception_free (&ev);
- if (shell == NULL)
+ if (shell == NULL) {
+ /*there is another instance but because we don't open any windows
+ we must notify the startup was complete manually*/
+ gdk_notify_startup_complete ();
bonobo_main_quit ();
+ }
return FALSE;
}