Commit 523dc9e5 authored by Guido Gunther's avatar Guido Gunther Committed by Sebastian Krzyszkowiak

main: Fade out on sigterm

Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 0093426c
......@@ -16,10 +16,21 @@
static gboolean
sigterm_cb (gpointer unused)
quit (gpointer unused)
{
g_debug ("Cleaning up");
gtk_main_quit ();
return G_SOURCE_REMOVE;
}
static gboolean
sigterm_cb (gpointer unused)
{
phosh_shell_fade_out (phosh_shell_get_default ());
g_timeout_add_seconds (2, (GSourceFunc)quit, NULL);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment