Diff of /trunk/src/area_edit.c

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

revision 217 by harbaum, Mon Jul 13 07:27:21 2009 UTC revision 218 by harbaum, Mon Jul 13 12:15:51 2009 UTC
# Line 103  static void on_area_warning_clicked(GtkB Line 103  static void on_area_warning_clicked(GtkB
103      hscale * (context->max.lon - context->min.lon);      hscale * (context->max.lon - context->min.lon);
104    
105    warningf(context->dialog,    warningf(context->dialog,
106     _("The currently selected area is %.02f km² (%.02f mil²) in size. "     _("The currently selected area is %.02f km² (%.02f mi²) in size. "
107       "This is more than the recommended %.02f km² (%.02f mil²).\n\n"       "This is more than the recommended %.02f km² (%.02f mi²).\n\n"
108       "Continuing may result in a big download and low mapping performance "       "Continuing may result in a big download and low mapping performance "
109       "in a densly mapped area (e.g. cities)!"),       "in a densly mapped area (e.g. cities)!"),
110             area, area/(KMPMIL*KMPMIL),             area, area/(KMPMIL*KMPMIL),
# Line 681  gboolean area_edit(area_edit_t *area) { Line 681  gboolean area_edit(area_edit_t *area) {
681    gtk_misc_set_alignment(GTK_MISC(label), 1.f, 0.5f);    gtk_misc_set_alignment(GTK_MISC(label), 1.f, 0.5f);
682    gtk_table_attach_defaults(GTK_TABLE(table),  label, 0, 1, 2, 3);    gtk_table_attach_defaults(GTK_TABLE(table),  label, 0, 1, 2, 3);
683    context.extent.height = gtk_entry_new();    context.extent.height = gtk_entry_new();
684    gtk_table_attach_defaults(GTK_TABLE(table), context.extent.height, 1, 2, 2, 3);    gtk_table_attach_defaults(GTK_TABLE(table),
685                                context.extent.height, 1, 2, 2, 3);
686    
687    context.extent.mil_km = gtk_combo_box_new_text();    context.extent.mil_km = gtk_combo_box_new_text();
688    gtk_combo_box_append_text(GTK_COMBO_BOX(context.extent.mil_km), _("mi"));    gtk_combo_box_append_text(GTK_COMBO_BOX(context.extent.mil_km), _("mi"));

Legend:
Removed from v.217  
changed lines
  Added in v.218