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

gEDA-cvs: CVS update: x_fileselect.nw



  User: cnieves 
  Date: 05/10/22 18:21:47

  Modified:    .        x_fileselect.nw x_preview.nw
  Log:
  Fixed bug introduced in my last changes. See ChangeLog for more details.
  
  
  
  
  Revision  Changes    Path
  1.34      +6 -0      eda/geda/devel/gschem/noweb/x_fileselect.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_fileselect.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_fileselect.nw,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -b -r1.33 -r1.34
  --- x_fileselect.nw	17 Oct 2005 18:46:48 -0000	1.33
  +++ x_fileselect.nw	22 Oct 2005 22:21:47 -0000	1.34
  @@ -2560,6 +2560,12 @@
       return;
     }
   
  +  if ( (filesel_type != OPEN) &&
  +       (filesel_type != SAVEAS) &&
  +       (filesel_type != SAVEAS_CLOSE) ) {
  +    x_fileselect_setup_old(w_current, type, filesel_type);
  +  }
  +
     f_current = &w_current->fileselect[type];
   
     if (!f_current->xfwindow) {
  
  
  
  1.18      +0 -4      eda/geda/devel/gschem/noweb/x_preview.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_preview.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_preview.nw,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- x_preview.nw	17 Oct 2005 18:46:48 -0000	1.17
  +++ x_preview.nw	22 Oct 2005 22:21:47 -0000	1.18
  @@ -465,9 +465,6 @@
     /* be sure to turn off scrollbars */
     preview_toplevel->scrollbars_flag = FALSE;
   
  -#if ((GTK_MAJOR_VERSION < 2) || \
  -     ((GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION < 4)) )
  -
     x_preview_create_drawing (drawbox, preview_toplevel);
   
     gtk_widget_set_events (preview_toplevel->drawing_area, 
  @@ -480,7 +477,6 @@
                         tmp->c_handler,
                         preview_toplevel);
     }
  -#endif
     return preview_toplevel;
   }