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

gEDA-cvs: CVS update: x_fileselect.c



  User: cnieves 
  Date: 07/04/21 12:16:20

  Modified:    .        x_fileselect.c
  Log:
  Make "Save" the default response in the save page dialog.
  
  
  
  * src/x_fileselect.c:
  
    Make "Save" the default response in the save page dialog.
  
    FR #1704919. Thanks to rikster for reporting this FR.
  
  
  
  
  Revision  Changes    Path
  1.33      +5 -0      eda/geda/gaf/gschem/src/x_fileselect.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_fileselect.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_fileselect.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -b -r1.32 -r1.33
  --- x_fileselect.c	21 Apr 2007 15:32:04 -0000	1.32
  +++ x_fileselect.c	21 Apr 2007 16:16:19 -0000	1.33
  @@ -245,6 +245,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_ACCEPT);
  +
     g_object_set (dialog,
                   /* GtkFileChooser */
                   "select-multiple", FALSE,
  
  
  


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