aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-31 09:32:26 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit49db38d2678e658348ed463f9282116bb4693034 (patch)
treef6c9ee98720a5e140d82701ebfca2c0dbcfedf31
parent551051c4e99b7ddfa23de5ef0b93260d3aca974e (diff)
Add cell_explorer button
-rw-r--r--src/gui_index.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 46728716..68514a16 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -63,6 +63,9 @@ static void unitcell_response_sig(GtkWidget *dialog, gint resp,
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(proj->progressbar),
"Indexing (determine unit cell parameters)");
+ gtk_info_bar_add_button(GTK_INFO_BAR(proj->info_bar),
+ "Show cell histograms",
+ 2);
gtk_info_bar_set_revealed(GTK_INFO_BAR(proj->info_bar), TRUE);
}
}