]> git.street.me.uk Git - andy/viking.git/commit - src/thumbnails.c
Support using multiple Viking files with relative paths.
authorRob Norris <rw_norris@hotmail.com>
Thu, 14 Nov 2013 23:19:41 +0000 (23:19 +0000)
committerRob Norris <rw_norris@hotmail.com>
Thu, 14 Nov 2013 23:19:41 +0000 (23:19 +0000)
commit1b14d0d2f04fd3a92f89d711f3a0dc30db59f3dc
treef3fa306d6efc21c42c8f335ac46069e1dbc232f8
parent5e630e0e7c1016cf17dcc1d4c3a8013ce9210a53
Support using multiple Viking files with relative paths.

Always calculate the canonical form for file references internally,
 so that they are always accessible.
When saved the relative path will be calculated if necessary.

Thus on file opening there is no further need for changing the working directory.
13 files changed:
src/file.c
src/file.h
src/gpspoint.c
src/gpspoint.h
src/thumbnails.c
src/vikgeoreflayer.c
src/viklayer.c
src/viklayer.h
src/vikmapslayer.c
src/vikutils.c
src/vikutils.h
src/vikwindow.c
src/vikwindow.h