Skip to content

Commit

Permalink
change app startup dalay where it in system path
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist authored and lukefromdc committed Dec 21, 2018
1 parent 6f1578f commit fbd7aa8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions capplet/gsp-app.c
Expand Up @@ -320,6 +320,7 @@ _gsp_app_user_equal_system (GspApp *app,
char *path;
char *str;
GKeyFile *keyfile;
guint delay;

manager = gsp_app_manager_get ();
priv = gsp_app_get_instance_private (app);
Expand Down Expand Up @@ -390,6 +391,13 @@ _gsp_app_user_equal_system (GspApp *app,
}
g_free (str);

delay = gsp_key_file_get_delay(keyfile);
if (delay != priv->delay) {
g_free (path);
g_key_file_free (keyfile);
return FALSE;
}

g_key_file_free (keyfile);

*system_path = path;
Expand Down

0 comments on commit fbd7aa8

Please sign in to comment.