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

gEDA-cvs: CVS update: x_fileselect.c



  User: pbernaud
  Date: 06/09/23 12:09:30

  Modified:    .        x_fileselect.c
  Log:
  Modified file saving function to preset filename in dialog
  
  
  
  
  Revision  Changes    Path
  1.29      +3 -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.28
  retrieving revision 1.29
  diff -u -b -r1.28 -r1.29
  --- x_fileselect.c	23 Sep 2006 08:47:56 -0000	1.28
  +++ x_fileselect.c	23 Sep 2006 16:09:30 -0000	1.29
  @@ -300,6 +300,9 @@
                   NULL);
     /* add file filters to dialog */
     x_fileselect_setup_filechooser_filters (GTK_FILE_CHOOSER (dialog));
  +  /* set the current filename or directory name if new document */
  +  gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (dialog),
  +                                 toplevel->page_current->page_filename);
     gtk_widget_show (dialog);
     if (gtk_dialog_run ((GtkDialog*)dialog) == GTK_RESPONSE_ACCEPT) {
       gchar *filename =
  
  
  


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