From 6935cbce7dce37600abe92eec6344ffde0cc6bae Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Thu, 20 Jan 2011 17:02:53 -0500 Subject: [PATCH] Call gdk_notify_startup_complete when acting as remote The new logic with multiple processes removed the call, causing a hung startup notification when opening a document for the second time. Signed-off-by: David Benjamin --- shell/ev-application.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/ev-application.c b/shell/ev-application.c index 59ddf317..0c65eec2 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -392,6 +392,10 @@ on_reload_cb (GObject *source_object, } g_variant_unref (value); + /* We did not open a window, so manually clear the startup + * notification. */ + gdk_notify_startup_complete (); + ev_application_shutdown (EV_APP); } -- 2.43.0