Skip to content

Commit fbd7aa8

Browse files
yetistlukefromdc
authored andcommitted
change app startup dalay where it in system path
1 parent 6f1578f commit fbd7aa8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

capplet/gsp-app.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ _gsp_app_user_equal_system (GspApp *app,
320320
char *path;
321321
char *str;
322322
GKeyFile *keyfile;
323+
guint delay;
323324

324325
manager = gsp_app_manager_get ();
325326
priv = gsp_app_get_instance_private (app);
@@ -390,6 +391,13 @@ _gsp_app_user_equal_system (GspApp *app,
390391
}
391392
g_free (str);
392393

394+
delay = gsp_key_file_get_delay(keyfile);
395+
if (delay != priv->delay) {
396+
g_free (path);
397+
g_key_file_free (keyfile);
398+
return FALSE;
399+
}
400+
393401
g_key_file_free (keyfile);
394402

395403
*system_path = path;

0 commit comments

Comments
 (0)