From: David Benjamin Date: Thu, 20 Jan 2011 22:02:53 +0000 (-0500) Subject: Call gdk_notify_startup_complete when acting as remote X-Git-Tag: EVINCE_2_91_6~11 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=6935cbce7dce37600abe92eec6344ffde0cc6bae;p=evince.git 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 --- 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); }