Closing diagnostic dialogue should cancel startup
This commit is contained in:
parent
ed1386a1da
commit
eeed4a99f5
1 changed files with 3 additions and 1 deletions
|
@ -2547,8 +2547,10 @@ main (int argc,
|
||||||
if (diagnostic_dialog)
|
if (diagnostic_dialog)
|
||||||
{
|
{
|
||||||
GtkWidget* dialog = midori_create_diagnostic_dialog (settings, _session);
|
GtkWidget* dialog = midori_create_diagnostic_dialog (settings, _session);
|
||||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
gint response = gtk_dialog_run (GTK_DIALOG (dialog));
|
||||||
gtk_widget_destroy (dialog);
|
gtk_widget_destroy (dialog);
|
||||||
|
if (response == GTK_RESPONSE_DELETE_EVENT)
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
midori_startup_timer ("Signal setup: \t%f");
|
midori_startup_timer ("Signal setup: \t%f");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue