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

gEDA-cvs: branch: master updated (1.1.2.20070818-167-gcd5263a)



The branch, master has been updated
       via  cd5263a602c8da768d3af7fdf9aca99847324d9e (commit)
      from  f1d4aeb308de9b805ff0b21d7e94b09bc01dc569 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/x_dialog.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit cd5263a602c8da768d3af7fdf9aca99847324d9e
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sat Dec 22 21:46:25 2007 +0000

    gschem: Don't lose close confirmation dialog behind window
    
    It was possible to lose gschem's close confirmation dialog behind the
    gschem main window, which could lead to data loss as it was then very
    difficult to recover gracefully.

:100644 100644 f7e0496... 0f6caf1... M	gschem/src/x_dialog.c

=========
 Changes
=========

commit cd5263a602c8da768d3af7fdf9aca99847324d9e
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sat Dec 22 21:46:25 2007 +0000

    gschem: Don't lose close confirmation dialog behind window
    
    It was possible to lose gschem's close confirmation dialog behind the
    gschem main window, which could lead to data loss as it was then very
    difficult to recover gracefully.

diff --git a/gschem/src/x_dialog.c b/gschem/src/x_dialog.c
index f7e0496..0f6caf1 100644
--- a/gschem/src/x_dialog.c
+++ b/gschem/src/x_dialog.c
@@ -4020,6 +4020,9 @@ x_dialog_close_window (GSCHEM_TOPLEVEL *w_current)
                                      "unsaved-pages", unsaved_pages,
                                      NULL));
 
+  gtk_window_set_transient_for (GTK_WINDOW (dialog),
+                                GTK_WINDOW (w_current->main_window));
+
   g_list_free (unsaved_pages);
   switch (gtk_dialog_run (GTK_DIALOG (dialog))) {
       case GTK_RESPONSE_NO:




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs