/* (Hopefully!) Human friendly altitude grid sizes - note no fixed 'ratio' just numbers that look nice...*/
static const gdouble chunksa[] = {2.0, 5.0, 10.0, 15.0, 20.0,
- 25.0, 50.0, 75.0, 100.0,
+ 25.0, 40.0, 50.0, 75.0, 100.0,
150.0, 200.0, 250.0, 375.0, 500.0,
750.0, 1000.0, 2000.0, 5000.0, 10000.0, 100000.0};
/* since vlp not set, vvp should be valid instead! */
if ( vvp )
vik_viewport_set_center_coord ( vvp, &coord );
- vik_layer_emit_update ( VIK_LAYER(vtl) );
+ vik_layer_emit_update ( VIK_LAYER(vtl), FALSE );
}
}
return trackpoint;
break;
case VIK_TRW_LAYER_PROPWIN_REVERSE:
vik_track_reverse(tr);
- vik_layer_emit_update ( VIK_LAYER(vtl) );
+ vik_layer_emit_update ( VIK_LAYER(vtl), FALSE );
break;
case VIK_TRW_LAYER_PROPWIN_DEL_DUP:
vik_track_remove_dup_points(tr);
/* above operation could have deleted current_tp or last_tp */
trw_layer_cancel_tps_of_track ( vtl, widgets->track_name );
- vik_layer_emit_update ( VIK_LAYER(vtl) );
+ vik_layer_emit_update ( VIK_LAYER(vtl), FALSE );
break;
case VIK_TRW_LAYER_PROPWIN_SPLIT:
{
/* Don't let track destroy this dialog */
vik_track_clear_property_dialog(tr);
vik_trw_layer_delete_track ( vtl, widgets->track_name );
- vik_layer_emit_update ( VIK_LAYER(vtl) ); /* chase thru the hoops */
+ vik_layer_emit_update ( VIK_LAYER(vtl), FALSE ); /* chase thru the hoops */
}
}
break;
break;
}
- gchar *r_name = g_strdup_printf("%s #R", widgets->track_name);
+ gchar *r_name = g_strdup_printf("%s #2", widgets->track_name);
if (vik_trw_layer_get_track(vtl, r_name ) &&
( ! a_dialog_yes_or_no( VIK_GTK_WINDOW_FROM_LAYER(vtl),
"The track \"%s\" exists, do you wish to overwrite it?", r_name)))
tr_right->trackpoints = iter;
vik_trw_layer_add_track(vtl, r_name, tr_right);
- vik_layer_emit_update ( VIK_LAYER(vtl) );
+ vik_layer_emit_update ( VIK_LAYER(vtl), FALSE );
}
break;
default: