[glom/glom-1-8] Export: Don't open the format dialog behind the FileChooser dialog.



commit 6bf90483bce53d27f952e8d745182a73aa7abb94
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jul 10 18:03:04 2009 +0200

    Export: Don't open the format dialog behind the FileChooser dialog.
    
    	* glom/frame_glom.cc: on_menu_file_export(): Set the FileChooser dialog as
    	transient so that the other dialog (opened from the FileChooser) is not
    	behind the FileChooser.
    	Ubuntu Launchpad bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/397409
    	(elmergato)

 ChangeLog          |   10 ++++++++++
 glom/frame_glom.cc |    1 +
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a527fb2..d1299cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2009-07-10  Murray Cumming  <murrayc murrayc com>
 
+	Export: Don't open the format dialog behind the FileChooser dialog.
+	
+	* glom/frame_glom.cc: on_menu_file_export(): Set the FileChooser dialog as 
+	transient so that the other dialog (opened from the FileChooser) is not 
+	behind the FileChooser.
+	Ubuntu Launchpad bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/397409
+	(elmergato)
+
+2009-07-10  Murray Cumming  <murrayc murrayc com>
+
 	Really save field changes again.
 	
 	* glom/libglom/document/document_glom.cc: set_table_fields():
diff --git a/glom/frame_glom.cc b/glom/frame_glom.cc
index 3cf0c63..4a698d6 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -547,6 +547,7 @@ void Frame_Glom::on_menu_file_export()
 
   //Ask the user for the new file location, and to optionally modify the format:
   FileChooser_Export dialog;
+  dialog.set_transient_for(*get_app_window());
   dialog.set_do_overwrite_confirmation();
   dialog.set_export_layout(mapGroupSequence, m_table_name, get_document());
   const int response = dialog.run();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]