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

gEDA-user: pcb- no library dialog window on startup



   Kill it with fire!
   Actually, this patch does it.  This LibraryChanged function gets
   called when pcb starts up but this is not needed.  I added a variable
   that sets itself instead of showing the library window the first time.
   Put the patch in the same directory as gui-library-window.c and run it
   with
   patch gui-library-window.c -i nolibstart.patch
88a89
> gboolean dontopenlibwindowonstartup;
147a149,150
> 
> 
173,175c176,186
< 	gtk_widget_set_uposition (GTK_WIDGET (library_window), 10, 10);
< 
<       gtk_widget_show (library_window);
---
>       gtk_widget_set_uposition (GTK_WIDGET (library_window), 10, 10);
>       if(dontopenlibwindowonstartup == FALSE)
>       {
>         printf("startup library dialog supressed\n");
>         dontopenlibwindowonstartup = TRUE;
>       }
>       else
>       {
>         printf("library dialog is updated\n");
>         gtk_widget_show (library_window);
>       }

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