Code

Corrected the parenting of the browse dialog, so that it cannot fall underneath the...
authorjoelholdsworth <joelholdsworth@users.sourceforge.net>
Wed, 16 Jan 2008 21:22:01 +0000 (21:22 +0000)
committerjoelholdsworth <joelholdsworth@users.sourceforge.net>
Wed, 16 Jan 2008 21:22:01 +0000 (21:22 +0000)
src/dialogs/export.cpp

index 14d338ed57174914870442c36c9c83148c091f40..10dbc575f10b5f850b19eed6014c9bd14b086f39 100644 (file)
@@ -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,