From e50ea0a6d34b59e638ad30116d589bc7aa169f44 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Wed, 13 May 2020 22:42:22 -0700 Subject: Show "Benchmarking..." dialog on top of sync manager --- modules/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/benchmark.c b/modules/benchmark.c index c8963a4f..c19295b2 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -694,7 +694,7 @@ static void do_benchmark(void (*benchmark_function)(void), int entry) _("Benchmarking. Please do not move your mouse " "or press any keys.")); gtk_window_set_transient_for(GTK_WINDOW(bench_dialog), - GTK_WINDOW(shell_get_main_shell()->window)); + GTK_WINDOW(shell_get_main_shell()->transient_dialog)); gtk_dialog_add_buttons(GTK_DIALOG(bench_dialog), _("Cancel"), GTK_RESPONSE_ACCEPT, NULL); -- cgit v1.2.3