aboutsummaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-18 11:47:29 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-18 11:47:29 -0700
commitbc53bbb10b3aaa22503c2d2b7024d1ac170a5733 (patch)
treede4f8ffa84cc25ccfe5fe4b23f58e5a0f790563b /gtk-gui.c
parentc5be77093ae0b709ff10509fda20e08f09c0bc25 (diff)
downloadsubsurface-bc53bbb10b3aaa22503c2d2b7024d1ac170a5733.tar.gz
Select better (?) default date for adding new dive
We now pick one hour after the end of the currently selected dive as the default starting time for the new dive to be added. If multiple dives (or no dives) are selected, we default to current time as before. The "one hour after the end" is just a random (but not unreasonable) assumption for the surface time if you add multiple dives. Suggested-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'gtk-gui.c')
0 files changed, 0 insertions, 0 deletions