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

gEDA-cvs: CVS update: x_dialog.c



  User: cnieves 
  Date: 07/04/21 12:09:56

  Modified:    .        x_dialog.c
  Log:
  "Save changes" as default resp. in close page confirm dialog.
  
  
  
  * src/x_dialog.c:
  
   Make "Save changes" the default response in the close page
  
   confirmation dialog.
  
  
  
  
  Revision  Changes    Path
  1.84      +5 -0      eda/geda/gaf/gschem/src/x_dialog.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_dialog.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_dialog.c,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -b -r1.83 -r1.84
  --- x_dialog.c	21 Apr 2007 15:32:03 -0000	1.83
  +++ x_dialog.c	21 Apr 2007 16:09:56 -0000	1.84
  @@ -4048,6 +4048,11 @@
   					  -1);
   #endif
   
  +  /* set default response signal. This is usually triggered by the 
  +     "Return" key */
  +  gtk_dialog_set_default_response(GTK_DIALOG(dialog),
  +				  GTK_RESPONSE_YES);
  +
     switch (gtk_dialog_run (GTK_DIALOG (dialog))) {
         case GTK_RESPONSE_NO:
           /* action selected: close without saving */
  
  
  


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