summaryrefslogtreecommitdiff
path: root/mate-session/gsm-autostart-app.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-04-19 10:00:09 +0200
committerraveit65 <[email protected]>2021-04-22 13:51:08 +0200
commitf56f8cd63d330e576aeabd09a0600a8da2e02392 (patch)
tree6343d0dacb127dab5986b064acd37fe3e227f793 /mate-session/gsm-autostart-app.c
parentba48852392801f0c924201e88f8a78fb7eff363c (diff)
downloadmate-session-manager-f56f8cd63d330e576aeabd09a0600a8da2e02392.tar.bz2
mate-session-manager-f56f8cd63d330e576aeabd09a0600a8da2e02392.tar.xz
Follow freedesktop guidelines to disable autorun using Hidden key
Diffstat (limited to 'mate-session/gsm-autostart-app.c')
-rw-r--r--mate-session/gsm-autostart-app.c10
1 files changed, 0 insertions, 10 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)) {