[epiphany/mcatanzaro/#1800: 28/28] window-commands: work around native dialog hang
- From: Michael Catanzaro <mcatanzaro src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [epiphany/mcatanzaro/#1800: 28/28] window-commands: work around native dialog hang
 
- Date: Tue, 19 Jul 2022 19:25:36 +0000 (UTC)
 
commit cf0b7238181caf343de36adb3524a38c271c1e20
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Tue Jul 19 14:23:12 2022 -0500
    window-commands: work around native dialog hang
    
    This is awful, but not much else we can do.
 src/window-commands.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 2a87b4e9f..c16b2333e 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -563,6 +563,9 @@ window_cmd_import_bookmarks (GSimpleAction *action,
                           NULL);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
 
+  /* FIXME: this is a workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/5011 */
+  gtk_window_set_modal (GTK_WINDOW (dialog), FALSE);
+
   content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
   gtk_widget_set_valign (content_area, GTK_ALIGN_CENTER);
   gtk_widget_set_margin_top (content_area, 5);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]