aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-electron_shell_browser_ui_file__dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-electron_shell_browser_ui_file__dialog.h')
-rw-r--r--devel/electron37/files/patch-electron_shell_browser_ui_file__dialog.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-electron_shell_browser_ui_file__dialog.h b/devel/electron37/files/patch-electron_shell_browser_ui_file__dialog.h
new file mode 100644
index 000000000000..4bc5a5b0d881
--- /dev/null
+++ b/devel/electron37/files/patch-electron_shell_browser_ui_file__dialog.h
@@ -0,0 +1,11 @@
+--- electron/shell/browser/ui/file_dialog.h.orig 2025-06-16 21:48:02 UTC
++++ electron/shell/browser/ui/file_dialog.h
+@@ -79,7 +79,7 @@ void ShowSaveDialog(const DialogSettings& settings,
+ void ShowSaveDialog(const DialogSettings& settings,
+ gin_helper::Promise<gin_helper::Dictionary> promise);
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Rewrite of SelectFileDialogLinuxPortal equivalent functions with primary
+ // difference being that dbus_thread_linux::GetSharedSessionBus is not used
+ // so that version detection can be initiated and compeleted on the dbus thread