diff options
author | rbuj <[email protected]> | 2021-04-22 14:43:13 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-04-22 18:30:15 +0200 |
commit | add9dd5ba8b984ba7371383cb9d527ebd5980e0e (patch) | |
tree | 86fae7aa521e0590f96351e3fa89f26ac13321b1 /mate-session | |
parent | 5fd6ec91cce37c0c76051437dc29aee73cd6bb8e (diff) | |
download | mate-session-manager-add9dd5ba8b984ba7371383cb9d527ebd5980e0e.tar.bz2 mate-session-manager-add9dd5ba8b984ba7371383cb9d527ebd5980e0e.tar.xz |
Follow freedesktop guidelines to disable autorun using Hidden key
Diffstat (limited to 'mate-session')
-rw-r--r-- | mate-session/gsm-autostart-app.c | 10 | ||||
-rw-r--r-- | mate-session/gsm-autostart-app.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/mate-session/gsm-autostart-app.c b/mate-session/gsm-autostart-app.c index 8c90759..deaa05d 100644 --- a/mate-session/gsm-autostart-app.c +++ b/mate-session/gsm-autostart-app.c @@ -114,16 +114,6 @@ is_disabled (GsmApp *app) priv = gsm_autostart_app_get_instance_private (GSM_AUTOSTART_APP(app)); - /* GSM_AUTOSTART_APP_ENABLED_KEY key, used by old mate-session */ - if (egg_desktop_file_has_key (priv->desktop_file, - GSM_AUTOSTART_APP_ENABLED_KEY, NULL) && - !egg_desktop_file_get_boolean (priv->desktop_file, - GSM_AUTOSTART_APP_ENABLED_KEY, NULL)) { - g_debug ("app %s is disabled by " GSM_AUTOSTART_APP_ENABLED_KEY, - gsm_app_peek_id (app)); - return TRUE; - } - /* Hidden key, used by autostart spec */ if (egg_desktop_file_get_boolean (priv->desktop_file, EGG_DESKTOP_FILE_KEY_HIDDEN, NULL)) { diff --git a/mate-session/gsm-autostart-app.h b/mate-session/gsm-autostart-app.h index 48b2c48..08237c4 100644 --- a/mate-session/gsm-autostart-app.h +++ b/mate-session/gsm-autostart-app.h @@ -42,7 +42,6 @@ struct _GsmAutostartAppClass GsmApp *gsm_autostart_app_new (const char *desktop_file); -#define GSM_AUTOSTART_APP_ENABLED_KEY "X-MATE-Autostart-enabled" #define GSM_AUTOSTART_APP_PHASE_KEY "X-MATE-Autostart-Phase" #define GSM_AUTOSTART_APP_PROVIDES_KEY "X-MATE-Provides" #define GSM_AUTOSTART_APP_STARTUP_ID_KEY "X-MATE-Autostart-startup-id" |