From: Alexandru C. <cs...@us...> - 2003-12-21 15:05:48
|
Update of /cvsroot/groundstation/grig/src In directory sc8-pr-cvs1:/tmp/cvs-serv9665 Modified Files: grig-config.c Log Message: Added readback page. Index: grig-config.c =================================================================== RCS file: /cvsroot/groundstation/grig/src/grig-config.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** grig-config.c 16 Dec 2003 20:08:40 -0000 1.8 --- grig-config.c 21 Dec 2003 15:05:44 -0000 1.9 *************** *** 42,46 **** #include "grig-config-rig.h" #include "grig-config-rot.h" ! /* convenient page numbering. Add pages --- 42,46 ---- #include "grig-config-rig.h" #include "grig-config-rot.h" ! #include "grig-config-readback.h" /* convenient page numbering. Add pages *************** *** 51,55 **** /* GRIG_CONFIG_PAGE_LOC, */ GRIG_CONFIG_PAGE_RIG = 0, ! GRIG_CONFIG_PAGE_ROT }; --- 51,56 ---- /* GRIG_CONFIG_PAGE_LOC, */ GRIG_CONFIG_PAGE_RIG = 0, ! GRIG_CONFIG_PAGE_ROT, ! GRIG_CONFIG_PAGE_READBACK }; *************** *** 93,96 **** --- 94,100 ---- grig_config_rot_create (), gtk_label_new (_("Rotators"))); + gnome_property_box_append_page (GNOME_PROPERTY_BOX (configbox), + grig_config_readback_create (), + gtk_label_new (_("Readback"))); /* connect signals */ gtk_signal_connect (GTK_OBJECT (configbox), "apply", *************** *** 155,158 **** --- 159,165 ---- grig_config_rot_apply (); break; + case GRIG_CONFIG_PAGE_READBACK: + grig_config_readback_apply (); + break; default: } *************** *** 170,173 **** --- 177,181 ---- grig_config_rig_cancel (); grig_config_rot_cancel (); + grig_config_readback_cancel (); gtk_widget_destroy (GTK_WIDGET (data)); *************** *** 199,202 **** --- 207,212 ---- grig_config_rot_help (); break; + case GRIG_CONFIG_PAGE_READBACK: + grig_config_readback_help (); default: } *************** *** 234,237 **** --- 244,248 ---- grig_config_rig_close (); grig_config_rot_close (); + grig_config_readback_close (); running = FALSE; |