]> www.fi.muni.cz Git - evince.git/commitdiff
Call gdk_notify_startup_complete when acting as remote
authorDavid Benjamin <davidben@mit.edu>
Thu, 20 Jan 2011 22:02:53 +0000 (17:02 -0500)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 29 Jan 2011 12:59:16 +0000 (13:59 +0100)
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

index 59ddf31758a1d55121f22a282418a268fac65c23..0c65eec286f809d040d850b7d7ba2f240c99fb35 100644 (file)
@@ -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);
 }