diff options
author | Wu Xiaotian <[email protected]> | 2019-05-03 11:26:50 +0800 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-05-09 15:10:37 -0400 |
commit | fb24ae35d358177cfaa1706280b3e0752a2ec97b (patch) | |
tree | 63c5349e78dfdd31eece997e06f03854919f8555 /capplet/gsp-app-manager.c | |
parent | 7b242fb0745aa6c70a7712743cdde1d6c7209afc (diff) | |
download | mate-session-manager-fb24ae35d358177cfaa1706280b3e0752a2ec97b.tar.bz2 mate-session-manager-fb24ae35d358177cfaa1706280b3e0752a2ec97b.tar.xz |
Hide NoDisplay Apps in Startup Applications
Autostart applications are hidden in Startup Applications when NoDisplay=true.
Fix #134.
Diffstat (limited to 'capplet/gsp-app-manager.c')
-rw-r--r-- | capplet/gsp-app-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capplet/gsp-app-manager.c b/capplet/gsp-app-manager.c index 7e245db..4072036 100644 --- a/capplet/gsp-app-manager.c +++ b/capplet/gsp-app-manager.c @@ -479,7 +479,7 @@ _gsp_app_manager_fill_from_dir (GspAppManager *manager, desktop_file_path = g_build_filename (xdgdir->dir, name, NULL); app = gsp_app_new (desktop_file_path, xdgdir->index); - if (app != NULL) { + if (app != NULL && !gsp_app_get_nodisplay(app)) { gsp_app_manager_add (manager, app); g_object_unref (app); } |