From ab7ec22659c6d349267635a500d10f657929c9e9 Mon Sep 17 00:00:00 2001 From: joelholdsworth Date: Wed, 16 Jan 2008 21:22:01 +0000 Subject: [PATCH] Corrected the parenting of the browse dialog, so that it cannot fall underneath the export dialog on Windows --- src/dialogs/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 14d338ed5..10dbc575f 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -1301,7 +1301,7 @@ sp_export_browse_clicked (GtkButton */*button*/, gpointer /*userdata*/) const gchar *filename; fs = gtk_file_chooser_dialog_new (_("Select a filename for exporting"), - NULL, + (GtkWindow*)dlg, GTK_FILE_CHOOSER_ACTION_SAVE, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, -- 2.30.2