[epiphany/pgriffis/web-extension-fixes-2: 3/5] webextensions: Fix dialog locking up




commit b4a692fb04d656a908a193061e6731c45c872863
Author: Patrick Griffis <pgriffis igalia com>
Date:   Fri May 13 11:46:58 2022 -0500

    webextensions: Fix dialog locking up
    
    I don't know why this was broken but this workaround worked.

 src/ephy-web-extension-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-web-extension-dialog.c b/src/ephy-web-extension-dialog.c
index d0344c950..9e7c67d00 100644
--- a/src/ephy-web-extension-dialog.c
+++ b/src/ephy-web-extension-dialog.c
@@ -271,7 +271,7 @@ on_add_button_clicked (GtkButton *button,
   gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), g_steal_pointer (&filter));
 
   g_signal_connect (dialog, "response", G_CALLBACK (on_add_file_selected), self);
-  gtk_native_dialog_show (GTK_NATIVE_DIALOG (dialog));
+  gtk_native_dialog_run(GTK_NATIVE_DIALOG (dialog));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]