From 343f64b435f7869102725d2c2981dfb8319059c3 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Wed, 16 Jan 2008 21:22:01 +0000 Subject: Corrected the parenting of the browse dialog, so that it cannot fall underneath the export dialog on Windows (bzr r4527) --- src/dialogs/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialogs/export.cpp') 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, -- cgit v1.2.3