[gnome-builder] pipeline: improve inactive state messaging
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] pipeline: improve inactive state messaging
- Date: Thu, 23 Nov 2017 11:44:28 +0000 (UTC)
commit d13bfcce2518c4850711109f04e367f85864c8c0
Author: Christian Hergert <chergert redhat com>
Date: Thu Nov 23 03:42:36 2017 -0800
pipeline: improve inactive state messaging
src/libide/buildsystem/ide-build-pipeline.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/buildsystem/ide-build-pipeline.c b/src/libide/buildsystem/ide-build-pipeline.c
index e18f40a..59c77ce 100644
--- a/src/libide/buildsystem/ide-build-pipeline.c
+++ b/src/libide/buildsystem/ide-build-pipeline.c
@@ -2509,6 +2509,12 @@ ide_build_pipeline_get_message (IdeBuildPipeline *self)
if (self->in_clean)
return g_strdup (_("Cleaning…"));
+ /* Not active, use simple messaging */
+ if (self->failed)
+ return g_strdup (_("Failed"));
+ else if (!self->busy)
+ return g_strdup (_("Ready…"));
+
if (self->current_stage != NULL)
{
const gchar *name = ide_build_stage_get_name (self->current_stage);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]