fix: Showing the about panel is async on all platforms (#37440)
* fix: about panel is a base::Value::Dict * nix this test for a diff PR * what if the about dialog was not blocking * add this test back in * document synchronicity * github editor is a fan of spaces
This commit is contained in:
parent
829fb4f586
commit
c8f715f9a1
4 changed files with 13 additions and 4 deletions
|
@ -212,8 +212,11 @@ void Browser::ShowAboutPanel() {
|
|||
}
|
||||
}
|
||||
|
||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
gtk_widget_destroy(dialogWidget);
|
||||
// destroy the widget when it closes
|
||||
g_signal_connect_swapped(dialogWidget, "response",
|
||||
G_CALLBACK(gtk_widget_destroy), dialogWidget);
|
||||
|
||||
gtk_widget_show_all(dialogWidget);
|
||||
}
|
||||
|
||||
void Browser::SetAboutPanelOptions(base::Value::Dict options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue