summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
Diffstat (limited to 'capplet')
-rw-r--r--capplet/gsp-app.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/capplet/gsp-app.c b/capplet/gsp-app.c
index f62228e..1e970e6 100644
--- a/capplet/gsp-app.c
+++ b/capplet/gsp-app.c
@@ -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);
@@ -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;