mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-08 16:00:18 +00:00
Make native file chooser modal on Windows
This commit is contained in:
@@ -522,6 +522,10 @@ gtkutil_file_req (GtkWindow *parent, const char *title, void *callback, void *us
|
||||
|
||||
g_signal_connect (native, "response",
|
||||
G_CALLBACK (gtkutil_native_file_req_response), freq);
|
||||
|
||||
if (flags & FRF_MODAL)
|
||||
gtk_native_dialog_set_modal (GTK_NATIVE_DIALOG (native), TRUE);
|
||||
|
||||
gtk_native_dialog_show (GTK_NATIVE_DIALOG (native));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user