aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-09 11:08:16 +0200
committerThomas White <taw@physics.org>2020-09-09 11:08:16 +0200
commit362efbb2cb77745a3b2cb0222867ae5833962575 (patch)
tree3a3c1d5c0d9f6de291d782ba0268c1426260eabf
parentd61ed49c0b13656b4d3c7d1826f633db643da246 (diff)
Show job title in progress bar
-rw-r--r--src/gui_index.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index f88cfa35..7d91a450 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -109,8 +109,10 @@ static int run_indexing_all(struct crystfelproject *proj,
be->indexing_opts_priv);
if ( job_priv != NULL ) {
- add_running_task(proj, "Indexing all frames",
- be, job_priv);
+ char name[256];
+ snprintf(name, 255, "Indexing all frames (%s)",
+ job_title);
+ add_running_task(proj, name, be, job_priv);
return 0;
} else {
return 1;