[glom] Export: Don't open the format dialog behind the FileChooser dialog.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glom] Export: Don't open the format dialog behind the FileChooser dialog.
- Date: Fri, 10 Jul 2009 16:04:52 +0000 (UTC)
commit 2d384bfdce780bc5486c6369df5d7c9b63dda106
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 edf7234..f3bfc6e 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 0930010..e064ddb 100644
--- a/glom/frame_glom.cc
+++ b/glom/frame_glom.cc
@@ -584,6 +584,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]