From b7a74f8f6f05a6c944385af7d641c909e258231e Mon Sep 17 00:00:00 2001 From: infirit Date: Wed, 10 Dec 2014 01:21:50 +0100 Subject: 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. Taken from evince commit: 6935cbce7dce37600abe92eec6344ffde0cc6bae From: David Benjamin --- shell/ev-application.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell') diff --git a/shell/ev-application.c b/shell/ev-application.c index da6366f8..8a981c24 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -400,6 +400,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); } -- cgit v1.2.1