application: Add message when running as a service

This commit is contained in:
Georges Basile Stavracas Neto
2023-09-28 11:19:23 -03:00
parent 231cfbc777
commit 9a665a94c7
+4 -1
View File
@@ -327,7 +327,10 @@ gcal_application_startup (GApplication *app)
/* We're assuming the application is called as a service only by the shell search system */
if ((g_application_get_flags (app) & G_APPLICATION_IS_SERVICE) != 0)
g_application_set_inactivity_timeout (app, 3 * 60 * 1000);
{
g_message ("Running Calendar as a service");
g_application_set_inactivity_timeout (app, 3 * 60 * 1000);
}
/* Startup the manager */
gcal_context_startup (self->context);