642 |
gtk_widget_set_sensitive(context->gotoc.edit_but, FALSE); |
gtk_widget_set_sensitive(context->gotoc.edit_but, FALSE); |
643 |
|
|
644 |
#if 0 |
#if 0 |
645 |
context->gotoc.man_lat = gtk_entry_new(); |
context->gotoc.man_lat = entry_new(); |
646 |
gtk_table_attach_defaults(GTK_TABLE(table), context->gotoc.man_lat, 1,2,1,2); |
gtk_table_attach_defaults(GTK_TABLE(table), context->gotoc.man_lat, 1,2,1,2); |
647 |
pos_lat_str(str, sizeof(str), context->appdata->manual_goto.lat); |
pos_lat_str(str, sizeof(str), context->appdata->manual_goto.lat); |
648 |
gtk_entry_set_text(GTK_ENTRY(context->gotoc.man_lat), str); |
gtk_entry_set_text(GTK_ENTRY(context->gotoc.man_lat), str); |
649 |
textbox_disable(context->gotoc.man_lat); |
textbox_disable(context->gotoc.man_lat); |
650 |
context->gotoc.man_lon = gtk_entry_new(); |
context->gotoc.man_lon = entry_new(); |
651 |
gtk_table_attach_defaults(GTK_TABLE(table), context->gotoc.man_lon, 1,2,2,3); |
gtk_table_attach_defaults(GTK_TABLE(table), context->gotoc.man_lon, 1,2,2,3); |
652 |
pos_lon_str(str, sizeof(str), context->appdata->manual_goto.lon); |
pos_lon_str(str, sizeof(str), context->appdata->manual_goto.lon); |
653 |
gtk_entry_set_text(GTK_ENTRY(context->gotoc.man_lon), str); |
gtk_entry_set_text(GTK_ENTRY(context->gotoc.man_lon), str); |