diff options
-rw-r--r-- | src/crystfelindexingopts.c | 1 | ||||
-rw-r--r-- | src/gui_index.c | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/crystfelindexingopts.c b/src/crystfelindexingopts.c index 0b6cf515..513f8de9 100644 --- a/src/crystfelindexingopts.c +++ b/src/crystfelindexingopts.c @@ -588,6 +588,7 @@ GtkWidget *crystfel_indexing_opts_new() io = g_object_new(CRYSTFEL_TYPE_INDEXING_OPTS, NULL); io->cell_file = NULL; + gtk_notebook_set_tab_pos(GTK_NOTEBOOK(io), GTK_POS_LEFT); gtk_notebook_append_page(GTK_NOTEBOOK(io), indexing_parameters(io), diff --git a/src/gui_index.c b/src/gui_index.c index e260ac12..baf934b5 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -477,16 +477,16 @@ gint index_all_sig(GtkWidget *widget, struct crystfelproject *proj) set_indexing_opts(proj, CRYSTFEL_INDEXING_OPTS(proj->indexing_opts)); + backend_page = make_backend_opts(njp); + gtk_notebook_prepend_page(GTK_NOTEBOOK(proj->indexing_opts), + backend_page, + gtk_label_new("Cluster/batch system")); + job_page = make_job_opts(proj, njp); gtk_notebook_prepend_page(GTK_NOTEBOOK(proj->indexing_opts), job_page, gtk_label_new("Job name")); - backend_page = make_backend_opts(njp); - gtk_notebook_append_page(GTK_NOTEBOOK(proj->indexing_opts), - backend_page, - gtk_label_new("Cluster/batch system")); - gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); gtk_widget_show_all(dialog); |