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

gEDA-cvs: CVS update: g_hook.c



  User: ahvezda 
  Date: 06/09/30 12:01:36

  Modified:    .        g_hook.c i_callbacks.c
  Log:
  Removed unnecessary redraws from i_callback_file_new, commented out redraw
  
  from g_add_component, and commented in Carlos' new hook for adding a 
  
  titleblock into a new schematic, and change some of the default values 
  
  (which titleblock and where it is placed)
  
  
  
  
  Revision  Changes    Path
  1.10      +7 -1      eda/geda/gaf/gschem/src/g_hook.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: g_hook.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/g_hook.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- g_hook.c	30 Sep 2006 14:33:15 -0000	1.9
  +++ g_hook.c	30 Sep 2006 16:01:36 -0000	1.10
  @@ -527,9 +527,15 @@
   			                           clib, comp_name, 
                                                      selectable, FALSE);
       
  +/* 
  + * For now, do not redraw the newly added complex, since this might cause
  + * flicker if you are zoom/panning right after this function executes 
  + */
  +#if 0 
       /* Now the new component should be added to the object's list and 
          drawn in the screen */
       o_redraw_single(w_current, new_object);
  +#endif
   
       return SCM_BOOL_T;        
     }
  
  
  
  1.66      +0 -3      eda/geda/gaf/gschem/src/i_callbacks.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i_callbacks.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/i_callbacks.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -b -r1.65 -r1.66
  --- i_callbacks.c	28 Sep 2006 18:00:32 -0000	1.65
  +++ i_callbacks.c	30 Sep 2006 16:01:36 -0000	1.66
  @@ -218,9 +218,6 @@
     i_update_menus (toplevel);
     i_set_filename (toplevel, toplevel->page_current->page_filename);
     x_manual_resize (toplevel);
  -  x_hscrollbar_update (toplevel);
  -  x_vscrollbar_update (toplevel);
  -  x_repaint_background (toplevel);
     a_zoom_extents(toplevel, toplevel->page_current->object_head, 0);
     o_undo_savestate (toplevel, UNDO_ALL);
     
  
  
  


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