diff options
author | infirit <[email protected]> | 2014-12-10 01:21:50 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 01:21:50 +0100 |
commit | b7a74f8f6f05a6c944385af7d641c909e258231e (patch) | |
tree | f3d1003c01c363e69a4fb11363277b2e30230dc7 | |
parent | 3d2385996e32b5a60c8d572e455e171a60d388fa (diff) | |
download | atril-b7a74f8f6f05a6c944385af7d641c909e258231e.tar.bz2 atril-b7a74f8f6f05a6c944385af7d641c909e258231e.tar.xz |
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 <[email protected]>
-rw-r--r-- | shell/ev-application.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |