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

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-56-gc006ec0)



The branch, master has been updated
       via  c006ec0603fd570ec6c10386f3a3d19f9cbd525d (commit)
      from  9686b31bc86c7e57a26bad0c65e21b97ed713e5b (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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


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

commit c006ec0603fd570ec6c10386f3a3d19f9cbd525d
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Focus the "save" button in the close confirmation dialog
    
    For safety, "Close without saving" should not be the default action.
    Looking at other GTK (and GNOME) applications, the default action used
    seems to be "Save" (this is what the user will probably want to choose).

:100644 100644 58a3e3b... 6f19c6c... M	gschem/src/x_dialog.c

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

commit c006ec0603fd570ec6c10386f3a3d19f9cbd525d
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Focus the "save" button in the close confirmation dialog
    
    For safety, "Close without saving" should not be the default action.
    Looking at other GTK (and GNOME) applications, the default action used
    seems to be "Save" (this is what the user will probably want to choose).

diff --git a/gschem/src/x_dialog.c b/gschem/src/x_dialog.c
index 58a3e3b..6f19c6c 100644
--- a/gschem/src/x_dialog.c
+++ b/gschem/src/x_dialog.c
@@ -3956,6 +3956,8 @@ close_confirmation_dialog_constructor (GType type,
                                           GTK_RESPONSE_CANCEL,
                                           -1);
 
+  gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
+
   /* all done, let's show the contents of the dialog */
   gtk_widget_show_all (hbox);
 




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