diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-07 12:50:02 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-07 12:53:54 -0800 |
commit | e6afd055d870d677dd0edf243bc2f42ab0a2fbd1 (patch) | |
tree | 303f9e30178703312bb14725362f7c87a2b7d7c7 /deco.c | |
parent | d396f4afd8411ec8f17c7a9015f0c615e720a27d (diff) | |
download | subsurface-e6afd055d870d677dd0edf243bc2f42ab0a2fbd1.tar.gz |
Fix two bugs with the gas entry code in the dive planner
First, I forgot to pass in the idx into the gas callback function - this
way for the dynamically created dives we always used air for anything but
the first segment.
Second, when selecting a gas from the drop down (with the mouse or by
typing), the GtkEntry doesn't receive that text and therfore we never
picked up those gases.
We now also track the 'changed' event for the GtkComboBox, but never add
the text we get their to the completions (as by definition they are
already there).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
0 files changed, 0 insertions, 0 deletions