application: Add message when running as a service
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user