From e75cff6bb517badcb5c93177b4e9fe944c1e9e8d Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 24 May 2017 12:02:42 +0200 Subject: [PATCH] export: Store the app id in the X-Flatpak key We need this, because it may not correspond 100% to the desktop file id, as flatpak allows suffixes if you want multiple desktop files in one app. --- common/flatpak-dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index b5422a4f..e6620a89 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -3582,7 +3582,7 @@ export_desktop_file (const char *app, } /* Add a marker so consumers can easily find out that this launches a sandbox */ - g_key_file_set_boolean (keyfile, "Desktop Entry", "X-Flatpak", TRUE); + g_key_file_set_string (keyfile, "Desktop Entry", "X-Flatpak", app); } groups = g_key_file_get_groups (keyfile, NULL);