Repeat offender's smash-and-grab job to steal wallet ends in jail sentence