663 |
|
|
664 |
appdata->use_gps = |
appdata->use_gps = |
665 |
check_button_get_active(hstate.cbox_gps); |
check_button_get_active(hstate.cbox_gps); |
|
appdata->imperial = |
|
|
check_button_get_active(cbox_imperial); |
|
666 |
|
|
667 |
/* make sure GPS change is honoured by gps routines */ |
/* make sure GPS change is honoured by gps routines */ |
668 |
gps_change_state(appdata); |
gps_change_state(appdata); |
669 |
|
|
670 |
|
appdata->imperial = |
671 |
|
check_button_get_active(cbox_imperial); |
672 |
|
|
673 |
if(appdata->username) { |
if(appdata->username) { |
674 |
g_free(appdata->username); |
g_free(appdata->username); |
675 |
appdata->username = NULL; |
appdata->username = NULL; |