From 48d7037311bb1e3a5fa49a805b720ebe2ae4333b Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Fri, 19 Jun 2026 12:40:37 -0400 Subject: [PATCH] about: Explicitly state when app is not contained inside Flatpak At the moment, whenever the user is not running under Flatpak, the "Flatpak:" label won't show up, which confused me for a moment when looking at https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1609, as I assumed the "Flatpak:" label showed up whether it was running under Flatpak or not, making me assume that they did not go in the Troubleshooting section. Part-of: --- src/gui/gcal-application.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/gcal-application.c b/src/gui/gcal-application.c index 40f687eb..4229f019 100644 --- a/src/gui/gcal-application.c +++ b/src/gui/gcal-application.c @@ -152,8 +152,9 @@ build_system_information (void) g_string_append_printf (str, "GNOME Calendar (`%s`)\n\n", VERSION); - if (g_file_test ("/.flatpak-info", G_FILE_TEST_EXISTS)) - g_string_append (str, "* Flatpak: yes\n"); + g_string_append_printf (str, + "* Flatpak: %s\n", + g_file_test ("/.flatpak-info", G_FILE_TEST_EXISTS) ? "yes" : "no"); g_string_append_printf (str, "* GLib: %d.%d.%d (%d.%d.%d)\n", glib_major_version,