[gnome-builder] podman: add Podman prefix to regular name



commit 75eff8035c862090aacf89b53e583bc5ccb00290
Author: Christian Hergert <chergert redhat com>
Date:   Thu May 2 13:03:10 2019 -0700

    podman: add Podman prefix to regular name

 src/plugins/podman/gbp-podman-runtime.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/podman/gbp-podman-runtime.c b/src/plugins/podman/gbp-podman-runtime.c
index 40fd83b55..86d0b4b06 100644
--- a/src/plugins/podman/gbp-podman-runtime.c
+++ b/src/plugins/podman/gbp-podman-runtime.c
@@ -113,6 +113,7 @@ GbpPodmanRuntime *
 gbp_podman_runtime_new (JsonObject *object)
 {
   g_autofree gchar *full_id = NULL;
+  g_autofree gchar *name = NULL;
   GbpPodmanRuntime *self;
   const gchar *id;
   const gchar *names;
@@ -122,6 +123,7 @@ gbp_podman_runtime_new (JsonObject *object)
   id = json_object_get_string_member (object, "ID");
   names = json_object_get_string_member (object, "Names");
   full_id = g_strdup_printf ("podman:%s", id);
+  name = g_strdup_printf ("%s %s", _("Podman"), names);
 
   g_return_val_if_fail (id != NULL, NULL);
   g_return_val_if_fail (names != NULL, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]