diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-06 19:28:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-06 19:28:31 -0700 |
commit | a06d93217f1eded198e39d971a9286539f82b5c5 (patch) | |
tree | 01446b11cdb3e59bdd481a95e9d01c9df116ea3e /main.c | |
parent | 75cb94f06789380c161317d17ce73a938a3556b5 (diff) | |
download | subsurface-a06d93217f1eded198e39d971a9286539f82b5c5.tar.gz |
Start doing gas management using output units
Ok, it's an odd place to start, but this now shows the pressure curve
details and the air usage in the proper units.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -205,11 +205,13 @@ static void quit(GtkWidget *w, gpointer data) static void imperial(GtkWidget *w, gpointer data) { output_units = IMPERIAL_units; + repaint_dive(); } static void metric(GtkWidget *w, gpointer data) { output_units = SI_units; + repaint_dive(); } static GtkActionEntry menu_items[] = { |