diff options
author | Thomas White <taw@physics.org> | 2020-08-25 15:53:34 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-25 15:56:25 +0200 |
commit | c783ee20a9c3297f097429ac02595628981e1555 (patch) | |
tree | 4edb0adce674e16f76fc7dd856c4738fe70d1072 /src/gui_index.c | |
parent | 0f96cae079fe8b278819c572dc56b4d40dc47c06 (diff) |
Create a progress bar for each running job
Diffstat (limited to 'src/gui_index.c')
-rw-r--r-- | src/gui_index.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui_index.c b/src/gui_index.c index 278bbf9c..7d672ccd 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -49,6 +49,7 @@ #include "crystfelimageview.h" #include "crystfelindexingopts.h" #include "gui_project.h" +#include "crystfel_gui.h" void cell_explorer_sig(struct crystfelproject *proj) { @@ -110,7 +111,10 @@ static void run_indexing_all(struct crystfelproject *proj) &proj->indexing_params, be->indexing_opts_priv); - STATUS("Started job %p\n", job_priv); + if ( job_priv != NULL ) { + add_running_task(proj, "Indexing all frames", + be, job_priv); + } } |