Diff of /trunk/src/goto.c

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

revision 189 by harbaum, Tue Nov 17 09:07:17 2009 UTC revision 212 by harbaum, Wed Nov 25 13:52:17 2009 UTC
# Line 642  GtkWidget *goto_cache(cache_context_t *c Line 642  GtkWidget *goto_cache(cache_context_t *c
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);

Legend:
Removed from v.189  
changed lines
  Added in v.212