diff options
-rw-r--r-- | src/crystfelmergeopts.c | 1 | ||||
-rw-r--r-- | src/gui_merge.c | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/crystfelmergeopts.c b/src/crystfelmergeopts.c index 73ebff3b..36429b22 100644 --- a/src/crystfelmergeopts.c +++ b/src/crystfelmergeopts.c @@ -315,6 +315,7 @@ GtkWidget *crystfel_merge_opts_new() CrystFELMergeOpts *mo; mo = g_object_new(CRYSTFEL_TYPE_MERGE_OPTS, NULL); + gtk_notebook_set_tab_pos(GTK_NOTEBOOK(mo), GTK_POS_LEFT); gtk_notebook_append_page(GTK_NOTEBOOK(mo), merge_parameters(mo), diff --git a/src/gui_merge.c b/src/gui_merge.c index c5de063f..18add58c 100644 --- a/src/gui_merge.c +++ b/src/gui_merge.c @@ -346,16 +346,16 @@ gint merge_sig(GtkWidget *widget, struct crystfelproject *proj) set_merging_opts(&proj->merging_params, CRYSTFEL_MERGE_OPTS(proj->merging_opts)); + backend_page = make_merging_backend_opts(njp); + gtk_notebook_prepend_page(GTK_NOTEBOOK(proj->merging_opts), + backend_page, + gtk_label_new("Cluster/batch system")); + job_page = make_merging_job_opts(proj, njp); gtk_notebook_prepend_page(GTK_NOTEBOOK(proj->merging_opts), job_page, gtk_label_new("Job name/notes")); - backend_page = make_merging_backend_opts(njp); - gtk_notebook_append_page(GTK_NOTEBOOK(proj->merging_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); |