Hi all! I had problems using gpsim with more than 20 source files. To solve prolem I made following patch. Basicaly what it changes: max no of files is now 90, tabs of source windows are moved to left side of window and made scrollable. Not good solution but workable :-). -J cvs diff > juhas.diff Index: gui.h =================================================================== RCS file: /cvsroot/gpsim/gui/gui.h,v retrieving revision 1.50 diff -r1.50 gui.h 37c37 < #define SBAW_NRFILES 20 // Max number of source files --- > #define SBAW_NRFILES 90 // Max number of source files Index: gui_src_asm.cc =================================================================== RCS file: /cvsroot/gpsim/gui/gui_src_asm.cc,v retrieving revision 1.6 diff -r1.6 gui_src_asm.cc 2313a2314,2315 > gtk_notebook_set_tab_pos ((GtkNotebook*)sbaw->notebook,GTK_POS_LEFT); > gtk_notebook_set_scrollable ((GtkNotebook*)sbaw->notebook,TRUE);
Hi all!
I had problems using gpsim with more than 20 source files. To solve prolem I made following patch.
Basicaly what it changes: max no of files is now 90, tabs of source windows are moved to left side of window and made scrollable.
Not good solution but workable :-).
-J
cvs diff > juhas.diff
Index: gui.h
===================================================================
RCS file: /cvsroot/gpsim/gui/gui.h,v
retrieving revision 1.50
diff -r1.50 gui.h
37c37
< #define SBAW_NRFILES 20 // Max number of source files
---
> #define SBAW_NRFILES 90 // Max number of source files
Index: gui_src_asm.cc
===================================================================
RCS file: /cvsroot/gpsim/gui/gui_src_asm.cc,v
retrieving revision 1.6
diff -r1.6 gui_src_asm.cc
2313a2314,2315
> gtk_notebook_set_tab_pos ((GtkNotebook*)sbaw->notebook,GTK_POS_LEFT);
> gtk_notebook_set_scrollable ((GtkNotebook*)sbaw->notebook,TRUE);