Diff of /trunk/src/settings.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 281 by harbaum, Mon Dec 14 20:07:54 2009 UTC revision 282 by harbaum, Wed May 26 19:21:47 2010 UTC
# Line 663  void cb_menu_settings(GtkWidget *window, Line 663  void cb_menu_settings(GtkWidget *window,
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;

Legend:
Removed from v.281  
changed lines
  Added in v.282