[evince] Call gdk_notify_startup_complete when acting as remote
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Call gdk_notify_startup_complete when acting as remote
- Date: Sat, 29 Jan 2011 13:00:24 +0000 (UTC)
commit 6935cbce7dce37600abe92eec6344ffde0cc6bae
Author: David Benjamin <davidben mit edu>
Date: Thu Jan 20 17:02:53 2011 -0500
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 <davidben mit edu>
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 59ddf31..0c65eec 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]