Add more terminal title status updates

tingping/wmclass
Alexander Larsson 2017-09-06 17:01:13 +02:00
parent 23b49e676d
commit 584af95176
2 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <string.h>
#include <unistd.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
#include "libglnx/libglnx.h"
@ -722,6 +723,7 @@ main (int argc,
};
g_print ("Mirroring screenshots from appdata\n");
builder_set_term_title (_("Mirroring screenshots"));
if (!flatpak_mkdir_p (screenshots, NULL, &error))
{
@ -752,6 +754,7 @@ main (int argc,
GList *l;
g_print ("Exporting %s to repo\n", builder_manifest_get_id (manifest));
builder_set_term_title (_("Exporting to repository"));
if (!do_export (build_context, &error,
FALSE,

View File

@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/statfs.h>
#include <glib/gi18n.h>
#include "builder-manifest.h"
#include "builder-utils.h"
@ -2331,6 +2332,8 @@ builder_manifest_finish (BuilderManifest *self,
g_autofree char *ref = NULL;
g_print ("Finishing app\n");
builder_set_term_title (_("Finishing %s"), self->id);
if (!builder_context_enable_rofiles (context, error))
return FALSE;
@ -2701,6 +2704,8 @@ builder_manifest_create_platform (BuilderManifest *self,
g_print ("Creating platform based on %s\n", self->runtime);
builder_set_term_title (_("Creating platform for %s"), self->id);
if (!builder_context_enable_rofiles (context, error))
return FALSE;
@ -2999,6 +3004,8 @@ builder_manifest_bundle_sources (BuilderManifest *self,
g_print ("Bundling sources\n");
builder_set_term_title (_("Bunding sources for %s"), self->id);
if (!builder_context_enable_rofiles (context, error))
return FALSE;