[gnome-builder] flatpak: ignore .Locale runtimes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: ignore .Locale runtimes
- Date: Fri, 16 Sep 2016 21:15:52 +0000 (UTC)
commit 912bde0c44ef323cfbb3f7756034f280799409a2
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 16 14:15:42 2016 -0700
flatpak: ignore .Locale runtimes
These aren't useful for us, so just ignore them when building our list
of available runtimes.
plugins/flatpak/gbp-flatpak-runtime-provider.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-runtime-provider.c b/plugins/flatpak/gbp-flatpak-runtime-provider.c
index c4f39ab..2c7536b 100644
--- a/plugins/flatpak/gbp-flatpak-runtime-provider.c
+++ b/plugins/flatpak/gbp-flatpak-runtime-provider.c
@@ -108,6 +108,10 @@ gbp_flatpak_runtime_provider_load_worker (GTask *task,
name = g_strdup (flatpak_ref_get_name (FLATPAK_REF (ref)));
+ /* Ignore runtimes like org.gnome.Platform.Locale */
+ if (name && g_str_has_suffix (name, ".Locale"))
+ continue;
+
sanitize_name (name);
arch = flatpak_ref_get_arch (FLATPAK_REF (ref));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]