[evince] Call gdk_notify_startup_complete when acting as remote



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]